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:
@@ -4426,8 +4426,10 @@ 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;
|
||||
isLibrary = false;
|
||||
|
||||
Reference in New Issue
Block a user