a83158c7b9
This change essentially amounts to inlining __CabalEagerPkgConfigWorkaround into haskellPackages.mkDerivation and applying it automatically for the affected GHC versions. This is a bit overeager, but the best automatic solution we can come up with for now. Consequently, we don't need __CabalEagerPkgConfigWorkaround in nixpkgs anymore nor downstream at least for “standard” haskellPackages builds. __CabalEagerPkgConfigWorkaround is preserved for now since it is still necessary if using GHC < 9.4 with Cabal >= 3.10 or cabal-install >= 3.10. The one thing that may or may not be negatively affected by this change is ghcWithPackages. I doubt this is a problem in practice though, since it didn't provide pkg-config in the first place. passthru.env and shellFor do and work correctly since they rely on mkDerivation. |
||
---|---|---|
.. | ||
configuration-hackage2nix | ||
lib | ||
patches | ||
cabal2nix-unstable.nix | ||
configuration-arm.nix | ||
configuration-common.nix | ||
configuration-darwin.nix | ||
configuration-ghc-8.6.x.nix | ||
configuration-ghc-8.8.x.nix | ||
configuration-ghc-8.10.x.nix | ||
configuration-ghc-9.0.x.nix | ||
configuration-ghc-9.2.x.nix | ||
configuration-ghc-9.4.x.nix | ||
configuration-ghc-9.6.x.nix | ||
configuration-ghc-9.8.x.nix | ||
configuration-ghcjs.nix | ||
configuration-nix.nix | ||
configuration-tensorflow.nix | ||
default.nix | ||
generic-builder.nix | ||
generic-stack-builder.nix | ||
hackage-packages.nix | ||
HACKING.md | ||
hoogle-local-wrapper.sh | ||
hoogle.nix | ||
initial-packages.nix | ||
make-package-set.nix | ||
non-hackage-packages.nix | ||
package-list.nix | ||
stack-hook.sh | ||
with-packages-wrapper.nix |