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