We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6490e56 commit 3bc3761Copy full SHA for 3bc3761
src/nixos-anywhere.sh
@@ -545,13 +545,15 @@ checkBuildLocally() {
545
546
local entropy
547
entropy="$(date +'%Y%m%d%H%M%S')"
548
+
549
if nix build \
550
-L \
551
"${nixOptions[@]}" \
552
--expr \
553
"derivation { system = \"$system\"; name = \"env-$entropy\"; builder = \"/bin/sh\"; args = [ \"-c\" \"echo > \$out\" ]; }"; then
554
# The local build failed
555
buildOn=local
556
+ return
557
fi
558
559
buildOn=remote
0 commit comments