File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ Options:
14
14
* -p, --ssh-port <ssh_port>
15
15
set the ssh port to connect with
16
16
* --ssh-option <ssh_option>
17
- set an ssh option
17
+ set one ssh option, no need for the '-o' flag, can be repeated.
18
+ for example: '--ssh-option UserKnownHostsFile=./known_hosts'
18
19
* -L, --print-build-logs
19
20
print full build logs
20
21
* --env-password
Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ Options:
35
35
* -p, --ssh-port <ssh_port>
36
36
set the ssh port to connect with
37
37
* --ssh-option <ssh_option>
38
- set an ssh option
38
+ set one ssh option, no need for the '-o' flag, can be repeated.
39
+ for example: '--ssh-option UserKnownHostsFile=./known_hosts'
39
40
* -L, --print-build-logs
40
41
print full build logs
41
42
* --env-password
Original file line number Diff line number Diff line change @@ -85,7 +85,8 @@ Options:
85
85
* -p, --ssh-port <ssh_port>
86
86
set the ssh port to connect with
87
87
* --ssh-option <ssh_option>
88
- set an ssh option
88
+ set one ssh option, no need for the '-o' flag, can be repeated.
89
+ for example: '--ssh-option UserKnownHostsFile=./known_hosts'
89
90
* -L, --print-build-logs
90
91
print full build logs
91
92
* --env-password
@@ -545,13 +546,15 @@ checkBuildLocally() {
545
546
546
547
local entropy
547
548
entropy=" $( date +' %Y%m%d%H%M%S' ) "
549
+
548
550
if nix build \
549
551
-L \
550
552
" ${nixOptions[@]} " \
551
553
--expr \
552
554
" derivation { system = \" $system \" ; name = \" env-$entropy \" ; builder = \" /bin/sh\" ; args = [ \" -c\" \" echo > \$ out\" ]; }" ; then
553
555
# The local build failed
554
556
buildOn=local
557
+ return
555
558
fi
556
559
557
560
buildOn=remote
You can’t perform that action at this time.
0 commit comments