haskell: fix overriding haskellPackages using haskell.packageOverrides
Tested using: $ nix-build -E '(import ./. { overlays = [(final : previous : { haskell = previous.haskell // { packageOverrides = self : super : {blablabla = super.scientific;};};})];}).haskellPackages.blablabla' /nix/store/s75xbfhn88187jk8238h4ii2ap9kg4m2-scientific-0.3.6.2
This commit is contained in:
parent
f0bfa9de83
commit
a601787e55
@ -6460,7 +6460,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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user