3
0
Fork 0
forked from mirrors/nixpkgs

all-packages.nix: instantiate 'perlPackages' with callPackage rather than import

This allows us to override the attributes passed to the package set, which is
needed to pass "imagemagickBig" to PerlMagic rather than the normal one (see
next commit).

This patch is brought to you courtesy of the venerable @vcunat.
This commit is contained in:
Peter Simons 2015-09-02 12:52:41 +02:00
parent 90c163bde0
commit c310a5f608

View file

@ -8738,7 +8738,7 @@ let
buildPerlPackage = import ../development/perl-modules/generic perl;
perlPackages = recurseIntoAttrs (import ./perl-packages.nix {
perlPackages = recurseIntoAttrs (callPackage ./perl-packages.nix {
inherit pkgs;
overrides = (config.perlPackageOverrides or (p: {})) pkgs;
});