diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f4f4e12dbd7b..edb0e489a773 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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;