symlinkJoin: preferLocalBuild && !allowSubstitutes

This commit is contained in:
Vladimír Čunát 2016-03-11 15:53:43 +01:00
parent a889c683dd
commit ab0bc1ecaf

View file

@ -48,7 +48,10 @@ rec {
# Create a forest of symlinks to the files in `paths'.
symlinkJoin = name: paths:
runCommand name { inherit paths; }
runCommand name
{ inherit paths;
preferLocalBuild = true; allowSubstitutes = false;
}
''
mkdir -p $out
for i in $paths; do