From ab0bc1ecaf4357801f83bc41868b4bfb7564a369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 11 Mar 2016 15:53:43 +0100 Subject: [PATCH] symlinkJoin: preferLocalBuild && !allowSubstitutes --- pkgs/build-support/trivial-builders.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/trivial-builders.nix b/pkgs/build-support/trivial-builders.nix index 93b8b1cbc428..fef91e1d89dc 100644 --- a/pkgs/build-support/trivial-builders.nix +++ b/pkgs/build-support/trivial-builders.nix @@ -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