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 2352ef5223
commit 3f79ef5fe9

View File

@@ -8708,7 +8708,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;
});