more flakyness

This commit is contained in:
nek0 2022-12-01 16:23:43 +01:00
parent eda79eb626
commit 76225dff4b

View file

@ -17,29 +17,30 @@
pkgs.haskell.lib.doJailbreak (pkg.overrideAttrs (_: { meta = { }; }));
packageName = "affection";
in {
in rec {
packages.${packageName} = # (ref:haskell-package-def)
haskellPackages.callCabal2nix packageName self rec {
haskellPackages.callCabal2nixWithOptions packageName self "--flag examples" rec {
# Dependency overrides go here
};
defaultPackage = self.packages.${system}.${packageName};
devShell = pkgs.mkShell {
buildInputs = with haskellPackages; [
haskell-language-server
ghcid
cabal-install
];
nativeBuildInputs = with pkgs; [
pkg-config
glib
SDL2
freetype
glew
];
inputsFrom = builtins.attrValues self.packages.${system};
};
devShell = defaultPackage.env;
#devShell = pkgs.mkShell {
# buildInputs = with haskellPackages; [
# haskell-language-server
# ghcid
# cabal-install
# ];
# nativeBuildInputs = with pkgs; [
# pkg-config
# glib
# SDL2
# freetype
# glew
# ];
# inputsFrom = builtins.attrValues self.packages.${system};
#};
});
}