mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
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:
parent
90c163bde0
commit
c310a5f608
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue