rework flake to include haskell build inputs

This commit is contained in:
Amedeo Molnár 2023-04-20 10:33:18 +02:00
parent f92949b7f0
commit 523265b2dc

View file

@ -40,21 +40,14 @@
};
};
#devShell = packages.${packageName}.env;
devShell = pkgs.mkShell {
devShell = haskellPackages.shellFor {
packages = p: [ defaultPackage ];
withHoogle = true;
buildInputs = with haskellPackages; [
haskell-language-server
ghcid
cabal-install
];
nativeBuildInputs = with pkgs; [
pkg-config
glib
SDL2
freetype
glew
];
inputsFrom = builtins.attrValues self.packages.${system};
] ++ (builtins.attrValues self.packages.${system});
};
});
}