Skip to content

Commit

Permalink
Update flake
Browse files Browse the repository at this point in the history
  • Loading branch information
acowley committed Oct 22, 2023
1 parent 591781b commit b4a0073
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,17 @@
haskell = pkgs.haskellPackages;
haskell-overlay = final: prev:
let overrideSrc = pkgs.haskell.lib.overrideSrc;
appendConfigureFlags = pkgs.haskell.lib.appendConfigureFlags;
overrideCabal = pkgs.haskell.lib.overrideCabal;
enableCabalFlag = pkgs.haskell.lib.enableCabalFlag;
in {
${pkg-name} = hspkgs.callCabal2nix pkg-name ./. {};
${pkg-name} =
hspkgs.callCabal2nixWithOptions pkg-name ./. "-fdemos" {};
# enableCabalFlag (hspkgs.callCabal2nix pkg-name ./. {}) "demos";
# (hspkgs.callCabal2nix pkg-name ./. {}).overrideAttrs(old: {
# configureFlags = (old.configureFlags or []) ++ ["-fdemos"];
# });

# Add here any package overrides you may need
};
hspkgs = haskell.override {
Expand Down

0 comments on commit b4a0073

Please sign in to comment.