8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
13 lines
383 B
Nix
13 lines
383 B
Nix
{ parallel, makeWrapper , runCommand
|
|
, perlPackages
|
|
, extraPerlPackages ?
|
|
with perlPackages; [ DBI DBDPg DBDSQLite DBDCSV TextCSV ]
|
|
}:
|
|
|
|
runCommand "parallel-full" {
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
} ''
|
|
mkdir -p $out/bin
|
|
makeWrapper ${parallel}/bin/parallel $out/bin/parallel \
|
|
--set PERL5LIB "${perlPackages.makeFullPerlPath extraPerlPackages}"
|
|
''
|