Merge pull request #80348 from basvandijk/symlinkJoin-passAsFile
symlinkJoin: fix "bash: Argument list too long" error
This commit is contained in:
commit
cf2a8ac2cc
@ -255,11 +255,14 @@ rec {
|
||||
}:
|
||||
let
|
||||
args = removeAttrs args_ [ "name" "postBuild" ]
|
||||
// { inherit preferLocalBuild allowSubstitutes; }; # pass the defaults
|
||||
// {
|
||||
inherit preferLocalBuild allowSubstitutes;
|
||||
passAsFile = [ "paths" ];
|
||||
}; # pass the defaults
|
||||
in runCommand name args
|
||||
''
|
||||
mkdir -p $out
|
||||
for i in $paths; do
|
||||
for i in $(cat $pathsPath); do
|
||||
${lndir}/bin/lndir -silent $i $out
|
||||
done
|
||||
${postBuild}
|
||||
|
Loading…
x
Reference in New Issue
Block a user