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
1 changed files with 3 additions and 1 deletions
|
@ -4426,8 +4426,10 @@ in
|
||||||
overrides = config.haskellPackageOverrides or (self: super: {});
|
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: {
|
stack = haskell.lib.overrideCabal haskellPackages.stack (drv: {
|
||||||
enableSharedExecutables = false;
|
enableSharedExecutables = false;
|
||||||
isLibrary = false;
|
isLibrary = false;
|
||||||
|
|
Loading…
Reference in a new issue