diff options
author | volth <volth@volth.com> | 2019-04-22 15:50:34 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2019-04-22 15:50:46 +0000 |
commit | 0fad0b4e5b94a911a4a30b8ee3ca5a5c6d2258c2 (patch) | |
tree | 38b198e8b9d41b413899d3ad3a47e64b17540096 /pkgs/development/interpreters/perl/default.nix | |
parent | 63d0a1b8e71d39457bbb280cb29ad1135cc3b102 (diff) |
perl.meta.priority += 1
give priority to perl libraries when they meet the perl derivation in `buildEnv`.
The notable case is `buildEnv` inside `perl.withPackages`.
The `perl' derivation includes obsolete versions of some CPAN packages
which leads to collissions when there are newer versions
of the same libraries are on the right hand side
of `perl.withPackages` (perhaps indirectly).
Fixes #60025
Diffstat (limited to 'pkgs/development/interpreters/perl/default.nix')
-rw-r--r-- | pkgs/development/interpreters/perl/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/perl/default.nix b/pkgs/development/interpreters/perl/default.nix index e03777b0fb35..ac13f006f3c5 100644 --- a/pkgs/development/interpreters/perl/default.nix +++ b/pkgs/development/interpreters/perl/default.nix @@ -168,6 +168,7 @@ let license = licenses.artistic1; maintainers = [ maintainers.eelco ]; platforms = platforms.all; + priority = 6; # in `buildEnv' (including the one inside `perl.withPackages') the library files will have priority over files in `perl` }; } // stdenv.lib.optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) rec { crossVersion = "276849e62f472c1b241d9e7b38a28e4cc9f98563"; # Dez 02, 2018 |