mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-27 14:34:33 +00:00
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 { };
|
||||
|
||||
haskellPackages = haskell.packages.ghc822.override {
|
||||
overrides = config.haskellPackageOverrides or (self: super: {});
|
||||
overrides = config.haskellPackageOverrides or haskell.packageOverrides;
|
||||
};
|
||||
|
||||
inherit (haskellPackages) ghc;
|
||||
|
Loading…
Reference in New Issue
Block a user