mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
concatTextFile: add passthru argument
This commit is contained in:
parent
c18e038097
commit
f4789133b8
@ -368,9 +368,10 @@ rec {
|
|||||||
, destination ? "" # relative path appended to $out eg "/bin/foo"
|
, destination ? "" # relative path appended to $out eg "/bin/foo"
|
||||||
, checkPhase ? "" # syntax checks, e.g. for scripts
|
, checkPhase ? "" # syntax checks, e.g. for scripts
|
||||||
, meta ? { }
|
, meta ? { }
|
||||||
|
, passthru ? { }
|
||||||
}:
|
}:
|
||||||
runCommandLocal name
|
runCommandLocal name
|
||||||
{ inherit files executable checkPhase meta destination; }
|
{ inherit files executable checkPhase meta passthru destination; }
|
||||||
''
|
''
|
||||||
file=$out$destination
|
file=$out$destination
|
||||||
mkdir -p "$(dirname "$file")"
|
mkdir -p "$(dirname "$file")"
|
||||||
|
Loading…
Reference in New Issue
Block a user