From ce84af677b5268ea7fe14c016c7818c900c65908 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 2 Jul 2009 13:54:52 +0000 Subject: [PATCH] * Improve the determinism of Perl builds: don't try to download stuff from CPAN. svn path=/nixpkgs/trunk/; revision=16137 --- pkgs/development/perl-modules/generic/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/perl-modules/generic/default.nix b/pkgs/development/perl-modules/generic/default.nix index 77d881b2eb0..91b0500eeaa 100644 --- a/pkgs/development/perl-modules/generic/default.nix +++ b/pkgs/development/perl-modules/generic/default.nix @@ -5,7 +5,16 @@ attrs: perl.stdenv.mkDerivation ( { doCheck = true; + checkTarget = "test"; + + # Prevent CPAN downloads. + PERL_AUTOINSTALL = "--skipdeps"; + + # From http://wiki.cpantesters.org/wiki/CPANAuthorNotes: "allows + # authors to skip certain tests (or include certain tests) when + # the results are not being monitored by a human being." + AUTOMATED_TESTING = true; } // attrs