symlinkJoin: preferLocalBuild && !allowSubstitutes

This commit is contained in:
Vladimír Čunát
2016-03-11 15:59:18 +01:00
parent a889c683dd
commit ab0bc1ecaf
+4 -1
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