summary refs log tree commit diff
path: root/pkgs/development/interpreters/perl/default.nix
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2019-04-22 15:50:34 +0000
committervolth <volth@volth.com>2019-04-22 15:50:46 +0000
commit0fad0b4e5b94a911a4a30b8ee3ca5a5c6d2258c2 (patch)
tree38b198e8b9d41b413899d3ad3a47e64b17540096 /pkgs/development/interpreters/perl/default.nix
parent63d0a1b8e71d39457bbb280cb29ad1135cc3b102 (diff)
downloadnixpkgs-0fad0b4e5b94a911a4a30b8ee3ca5a5c6d2258c2.tar
nixpkgs-0fad0b4e5b94a911a4a30b8ee3ca5a5c6d2258c2.tar.gz
nixpkgs-0fad0b4e5b94a911a4a30b8ee3ca5a5c6d2258c2.tar.bz2
nixpkgs-0fad0b4e5b94a911a4a30b8ee3ca5a5c6d2258c2.tar.lz
nixpkgs-0fad0b4e5b94a911a4a30b8ee3ca5a5c6d2258c2.tar.xz
nixpkgs-0fad0b4e5b94a911a4a30b8ee3ca5a5c6d2258c2.tar.zst
nixpkgs-0fad0b4e5b94a911a4a30b8ee3ca5a5c6d2258c2.zip
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.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/perl/default.nix b/pkgs/development/interpreters/perl/default.nix
index e03777b0fb3..ac13f006f3c 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