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.
commitc310a5f608d08995afefad0170786551cc4d0d8f
authorPeter Simons <simons@cryp.to>
dateWed 2 Sep 2015, 12:52 (11 years ago)
parent90c163b
pkgs/top-level/all-packages.nix+1−1
@@ -8738,7 +8738,7 @@ let
87388738
87398739 buildPerlPackage = import ../development/perl-modules/generic perl;
87408740
8741− perlPackages = recurseIntoAttrs (import ./perl-packages.nix {
8741+ perlPackages = recurseIntoAttrs (callPackage ./perl-packages.nix {
87428742 inherit pkgs;
87438743 overrides = (config.perlPackageOverrides or (p: {})) pkgs;
87448744 });