rest of the split migration
This commit is contained in:
23
modules/dev/haskell/common.nix
Normal file
23
modules/dev/haskell/common.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ pkgs }:
|
||||
let
|
||||
packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
haskell-language-server
|
||||
cabal-install
|
||||
hlint
|
||||
;
|
||||
inherit (pkgs.haskellPackages)
|
||||
hoogle
|
||||
;
|
||||
};
|
||||
in
|
||||
{
|
||||
inherit packages;
|
||||
devShell = pkgs.mkShell {
|
||||
inherit packages;
|
||||
name = "haskell-dev-shell";
|
||||
shellHook = ''
|
||||
echo "λ Haskell dev environment"
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user