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'. # Create a forest of symlinks to the files in `paths'.
symlinkJoin = name: paths: symlinkJoin = name: paths:
runCommand name { inherit paths; } runCommand name
{ inherit paths;
preferLocalBuild = true; allowSubstitutes = false;
}
'' ''
mkdir -p $out mkdir -p $out
for i in $paths; do for i in $paths; do