shell.nix: print aliases on starting nix-shell

main
Oystein Kristoffer Tveit 2022-11-29 16:16:47 +01:00
parent 5ba23966e1
commit 3d92480602
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 6 additions and 0 deletions

View File

@ -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
'';
}