mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
8a282aa46c
* Remove explicit setting of PERL5LIB. * Use the generic Perl builder for the BerkeleyDB and XML::Parser modules. * Prefix all names of Perl modules with `perl-' (in the generic Perl builder). svn path=/nixpkgs/trunk/; revision=2365
9 lines
192 B
Nix
9 lines
192 B
Nix
perl:
|
|
|
|
attrs:
|
|
|
|
perl.stdenv.mkDerivation (attrs // {
|
|
name = "perl-" + attrs.name;
|
|
builder = ./builder.sh;
|
|
buildInputs = [(if attrs ? buildInputs then attrs.buildInputs else []) perl];
|
|
})
|