Skip to content

Commit

Permalink
perlPackages.CPAN: apply patch to fix changed YAML module default
Browse files Browse the repository at this point in the history
ZHF: #80379
https://hydra.nixos.org/build/112819370
https://hydra.nixos.org/build/112832567

A default has changed in YAML, breaking the latest release of CPAN. This commit
applies a A patch from the PR fixing the problem.

andk/cpanpm#133
  • Loading branch information
stigtsp committed Feb 18, 2020
1 parent 1b96f9b commit 153b0db
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/top-level/perl-packages.nix
Expand Up @@ -3279,6 +3279,13 @@ let
url = mirror://cpan/authors/id/A/AN/ANDK/CPAN-2.27.tar.gz;
sha256 = "b4b1471a2881e2d616f59e723879b4110ae485b79d5962f115119c28cf69e07f";
};
patches = [
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/andk/cpanpm/pull/133.diff";
name = "patch-YAML-modules-default-for-LoadBlessed-was-changed-to-false";
sha256 = "0i8648cwshzzd0b34gyfn68s1vs85d8336ggk2kl99awah1ydsfr";
})
];
propagatedBuildInputs = [ ArchiveZip CPANChecksums CPANPerlReleases Expect FileHomeDir LWP LogLog4perl ModuleBuild TermReadKey YAML YAMLLibYAML YAMLSyck ];
meta = {
description = "Query, download and build perl modules from CPAN sites";
Expand Down

0 comments on commit 153b0db

Please sign in to comment.