rework flake to include haskell build inputs
This commit is contained in:
parent
f92949b7f0
commit
523265b2dc
1 changed files with 4 additions and 11 deletions
15
flake.nix
15
flake.nix
|
@ -40,21 +40,14 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#devShell = packages.${packageName}.env;
|
devShell = haskellPackages.shellFor {
|
||||||
devShell = pkgs.mkShell {
|
packages = p: [ defaultPackage ];
|
||||||
|
withHoogle = true;
|
||||||
buildInputs = with haskellPackages; [
|
buildInputs = with haskellPackages; [
|
||||||
haskell-language-server
|
haskell-language-server
|
||||||
ghcid
|
ghcid
|
||||||
cabal-install
|
cabal-install
|
||||||
];
|
] ++ (builtins.attrValues self.packages.${system});
|
||||||
nativeBuildInputs = with pkgs; [
|
|
||||||
pkg-config
|
|
||||||
glib
|
|
||||||
SDL2
|
|
||||||
freetype
|
|
||||||
glew
|
|
||||||
];
|
|
||||||
inputsFrom = builtins.attrValues self.packages.${system};
|
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue