ba6f269bf5
* MythTV: the setup program works :-). * Added XmlTV. This requires a huge number of Perl modules, so... * Added a generic builder for Perl modules. I'm lazy so the modules are defined directly in all-packages-generic.nix. The generic builder also patches Perl scripts to include a hard-coded Perl module search path (i.e., similar to an RPATH in ELF executables). svn path=/nixpkgs/trunk/; revision=2083
9 lines
161 B
Nix
9 lines
161 B
Nix
perl:
|
|
|
|
attrs:
|
|
|
|
perl.stdenv.mkDerivation (attrs // {
|
|
builder = ./builder.sh;
|
|
buildInputs = [(if attrs ? buildInputs then attrs.buildInputs else []) perl];
|
|
})
|