cabal-install: link top-level variant of this tool statically
The advantage is that the closure no longer depends on the version of GHC that was used to compile the tool.
This commit is contained in:
parent
85aa0ea16b
commit
c53f963c1e
@ -4426,7 +4426,9 @@ in
|
||||
overrides = config.haskellPackageOverrides or (self: super: {});
|
||||
};
|
||||
|
||||
inherit (self.haskellPackages) ghc cabal-install;
|
||||
inherit (self.haskellPackages) ghc;
|
||||
|
||||
cabal-install = haskell.lib.disableSharedExecutables haskellPackages.cabal-install;
|
||||
|
||||
stack = haskell.lib.overrideCabal haskellPackages.stack (drv: {
|
||||
enableSharedExecutables = false;
|
||||
|
Loading…
Reference in New Issue
Block a user