Merge pull request #230149 from sternenseemann/ghc-with-packages-cross-fix

haskellPackages: ghcWithPackages needs buildHaskellPackages scope
This commit is contained in:
Dennis Gosnell 2023-05-25 21:37:06 +09:00 committed by GitHub
commit 5607ad7f96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -281,7 +281,7 @@ in package-set { inherit pkgs lib callPackage; } self // {
# GHC is setup with a package database with all the specified Haskell packages.
#
# ghcWithPackages :: (HaskellPkgSet -> [ HaskellPkg ]) -> Derivation
ghcWithPackages = self.callPackage ./with-packages-wrapper.nix {
ghcWithPackages = buildHaskellPackages.callPackage ./with-packages-wrapper.nix {
haskellPackages = self;
};