Commit f4789133 authored by zimbatm's avatar zimbatm
Browse files

concatTextFile: add passthru argument

parent c18e0380
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -368,9 +368,10 @@ rec {
    , destination ? ""   # relative path appended to $out eg "/bin/foo"
    , checkPhase ? ""    # syntax checks, e.g. for scripts
    , meta ? { }
    , passthru ? { }
    }:
    runCommandLocal name
      { inherit files executable checkPhase meta destination; }
      { inherit files executable checkPhase meta passthru destination; }
      ''
        file=$out$destination
        mkdir -p "$(dirname "$file")"