concatTextFile: add passthru argument

This commit is contained in:
zimbatm 2024-06-20 15:38:01 +02:00
parent c18e038097
commit f4789133b8

View File

@ -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")"