mirror of
https://github.com/h7x4/nix-attr-search.git
synced 2024-12-22 03:57:32 +01:00
shell.nix: print aliases on starting nix-shell
This commit is contained in:
parent
5ba23966e1
commit
3d92480602
@ -10,5 +10,11 @@ pkgs.mkShell {
|
||||
alias nasf=${format}/bin/nix-attr-search-format
|
||||
alias nashl=${hlint}/bin/nix-attr-search-hlint
|
||||
alias nashf=${ormolu}/bin/nix-attr-search-ormolu
|
||||
cat << EOF
|
||||
[Aliases]
|
||||
nasf -> formats all nix files
|
||||
nashl -> lint report for all haskell files
|
||||
nashf -> format all haskell files
|
||||
EOF
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user