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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user