1
0
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:
Oystein Kristoffer Tveit 2022-11-29 16:16:47 +01:00
parent 5ba23966e1
commit 3d92480602
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

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