mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
symlinkJoin: preferLocalBuild && !allowSubstitutes
This commit is contained in:
parent
a889c683dd
commit
ab0bc1ecaf
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user