nixpkgs/pkgs/development/perl-modules/generic/default.nix
Eelco Dolstra 61e7bd7372 * Perl builder: run tests by default.
svn path=/nixpkgs/trunk/; revision=14041
2009-02-12 15:56:35 +00:00

19 lines
267 B
Nix

perl:
attrs:
perl.stdenv.mkDerivation (
{
doCheck = true;
checkTarget = "test";
}
//
attrs
//
{
name = "perl-" + attrs.name;
builder = ./builder.sh;
buildInputs = [(if attrs ? buildInputs then attrs.buildInputs else []) perl];
}
)