Commit cb7163d8 authored by Robert Hensing's avatar Robert Hensing
Browse files

haskellPackages.cabalSdist: remove ghc workaround

The workaround added in https://github.com/NixOS/nixpkgs/pull/187726
for https://github.com/haskell/cabal/issues/8352 is no longer needed.

cabal-install 3.8.1.0 introduced a regression where `cabal sdist`
required GHC to be in PATH. This was fixed in cabal-install 3.10.1.0
(https://github.com/haskell/cabal/pull/8358), and nixpkgs now uses
cabal-install 3.16.0.0.

tests.haskell.cabalSdist passes.
parent 0f6e6ece
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -674,10 +674,6 @@ package-set { inherit pkgs lib callPackage; } self
        inherit src;
        nativeBuildInputs = [
          buildHaskellPackages.cabal-install

          # TODO after https://github.com/haskell/cabal/issues/8352
          #      remove ghc
          self.ghc
        ];
        dontUnpack = false;
      }