Merge pull request #41788 from LumiGuide/fix-override-haskellPackages

haskell: fix overriding haskellPackages using haskell.packageOverrides
This commit is contained in:
Matthew Justin Bauer 2018-06-10 17:35:55 -04:00 committed by GitHub
commit 01e165d073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6462,7 +6462,7 @@ with pkgs;
haskell = callPackage ./haskell-packages.nix { }; haskell = callPackage ./haskell-packages.nix { };
haskellPackages = haskell.packages.ghc822.override { haskellPackages = haskell.packages.ghc822.override {
overrides = config.haskellPackageOverrides or (self: super: {}); overrides = config.haskellPackageOverrides or haskell.packageOverrides;
}; };
inherit (haskellPackages) ghc; inherit (haskellPackages) ghc;