mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00: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
10 lines
192 B
Nix
10 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];
|
|
})
|