more flakyness
This commit is contained in:
parent
eda79eb626
commit
76225dff4b
1 changed files with 18 additions and 17 deletions
35
flake.nix
35
flake.nix
|
@ -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};
|
||||||
|
#};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue