From 3d92480602797fa46f0cee884607b3a3f98bebe8 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Tue, 29 Nov 2022 16:16:47 +0100 Subject: [PATCH] shell.nix: print aliases on starting nix-shell --- shell.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/shell.nix b/shell.nix index deb95f3..2bbf2c3 100644 --- a/shell.nix +++ b/shell.nix @@ -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 ''; }