haskellPackages.cabalSdist: Work around cabal#8413

See https://github.com/haskell/cabal/issues/8413
This commit is contained in:
Robert Hensing 2022-08-21 12:46:45 +02:00 committed by sternenseemann
parent a7d4c91871
commit f89dd3dd4a

View file

@ -552,7 +552,13 @@ in package-set { inherit pkgs lib callPackage; } self // {
pkgs.runCommandLocal name
{
inherit src;
nativeBuildInputs = [ buildHaskellPackages.cabal-install ];
nativeBuildInputs = [
buildHaskellPackages.cabal-install
# TODO after https://github.com/haskell/cabal/issues/8352
# remove ghc
self.ghc
];
dontUnpack = false;
} ''
unpackPhase