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 nasf=${format}/bin/nix-attr-search-format
|
||||||
alias nashl=${hlint}/bin/nix-attr-search-hlint
|
alias nashl=${hlint}/bin/nix-attr-search-hlint
|
||||||
alias nashf=${ormolu}/bin/nix-attr-search-ormolu
|
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