1
Fork 0

feat: nixos 20

This commit is contained in:
Matei Adriel 2020-05-10 20:48:52 +03:00
parent 63ba91ac97
commit 1a0058d027
9 changed files with 37 additions and 33 deletions
modules/dev/haskell

View file

@ -3,10 +3,9 @@ let hie = pkgs.all-hies.selection { selector = p: { inherit (p) ghc865; }; };
in {
home-manager.users.adrielus.home = {
file.".ghci".source = ./ghci;
# file.".stack/config.yaml".source = ./stack.yaml;
packages = with pkgs;
[ ghc ghcid hlint cabal-install snack stack hie ]
++ (with haskellPackages; [ brittany hoogle hpack pointfree pointful ]);
++ (with haskellPackages; [ brittany hoogle hpack pointfree ]);
};
}

View file

@ -7,4 +7,4 @@
:def pointfree \str -> return $ ":! pointfree " ++ show str
:def pf \str -> return $ ":! pointfree " ++ show str
:def pointful \str -> return $ ":! pointful " ++ show str
-- :def pointful \str -> return $ ":! pointful " ++ show str