mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
939976a929
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
14 lines
383 B
Nix
14 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}"
|
|
''
|