mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
parallel: add disableNagMessage
This commit is contained in:
parent
b8c3cd1318
commit
3d6389bf5e
@ -1,13 +1,10 @@
|
|||||||
{ parallel, makeWrapper , runCommand
|
{ lib, runCommand, makeWrapper, parallel, perlPackages
|
||||||
, perlPackages
|
, extraPerlPackages ? with perlPackages; [ DBI DBDPg DBDSQLite DBDCSV TextCSV ]
|
||||||
, extraPerlPackages ?
|
, willCite ? false }:
|
||||||
with perlPackages; [ DBI DBDPg DBDSQLite DBDCSV TextCSV ]
|
|
||||||
}:
|
|
||||||
|
|
||||||
runCommand "parallel-full" {
|
runCommand "parallel-full" { nativeBuildInputs = [ makeWrapper ]; } ''
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
mkdir -p $out/bin
|
||||||
} ''
|
makeWrapper ${parallel}/bin/parallel $out/bin/parallel \
|
||||||
mkdir -p $out/bin
|
--set PERL5LIB "${perlPackages.makeFullPerlPath extraPerlPackages}" \
|
||||||
makeWrapper ${parallel}/bin/parallel $out/bin/parallel \
|
${lib.optionalString willCite "--add-flags --will-cite"}
|
||||||
--set PERL5LIB "${perlPackages.makeFullPerlPath extraPerlPackages}"
|
''
|
||||||
''
|
|
||||||
|
Loading…
Reference in New Issue
Block a user