mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
parallel: add disableNagMessage
This commit is contained in:
parent
b8c3cd1318
commit
3d6389bf5e
1 changed files with 9 additions and 12 deletions
|
@ -1,13 +1,10 @@
|
|||
{ parallel, makeWrapper , runCommand
|
||||
, perlPackages
|
||||
, extraPerlPackages ?
|
||||
with perlPackages; [ DBI DBDPg DBDSQLite DBDCSV TextCSV ]
|
||||
}:
|
||||
{ lib, runCommand, makeWrapper, parallel, perlPackages
|
||||
, extraPerlPackages ? with perlPackages; [ DBI DBDPg DBDSQLite DBDCSV TextCSV ]
|
||||
, willCite ? false }:
|
||||
|
||||
runCommand "parallel-full" {
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
} ''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${parallel}/bin/parallel $out/bin/parallel \
|
||||
--set PERL5LIB "${perlPackages.makeFullPerlPath extraPerlPackages}"
|
||||
''
|
||||
runCommand "parallel-full" { nativeBuildInputs = [ makeWrapper ]; } ''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${parallel}/bin/parallel $out/bin/parallel \
|
||||
--set PERL5LIB "${perlPackages.makeFullPerlPath extraPerlPackages}" \
|
||||
${lib.optionalString willCite "--add-flags --will-cite"}
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue