You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #12, I introduced a way for stacklock2nix to generate a completely new package set. Part of this includes creating an overlay that has the GHC boot packages set to null:
# GHC only builds terminfo if it is a native compiler
# terminfo = if pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform then null else self.terminfo_0_4_1_5;
terminfo=null;
text=null;
time=null;
transformers=null;
unix=null;
# GHC only bundles the xhtml library if haddock is enabled, check if this is
# still the case when updating: https://gitlab.haskell.org/ghc/ghc/-/blob/0198841877f6f04269d6050892b98b5c3807ce4c/ghc.mk#L463
# xhtml = if self.ghc.hasHaddock or true then null else self.xhtml_3000_2_2_1;
xhtml=null;
};
I think this overlay could likely be defined automatically, without it having to be hard-coded. Here's a function from Nixpkgs doing something similar:
In #12, I introduced a way for stacklock2nix to generate a completely new package set. Part of this includes creating an overlay that has the GHC boot packages set to null:
stacklock2nix/nix/build-support/stacklock2nix/default.nix
Lines 661 to 710 in 79f2b1f
I think this overlay could likely be defined automatically, without it having to be hard-coded. Here's a function from Nixpkgs doing something similar:
NixOS/nixpkgs#217124
The text was updated successfully, but these errors were encountered: