mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
build-remote.pl: Fix build log
This commit is contained in:
parent
838138c5c4
commit
a00a98548e
2 changed files with 5 additions and 3 deletions
|
@ -107,11 +107,13 @@ sub writeStrings {
|
|||
|
||||
|
||||
sub connectToRemoteNix {
|
||||
my ($sshHost, $sshOpts) = @_;
|
||||
my ($sshHost, $sshOpts, $extraFlags) = @_;
|
||||
|
||||
$extraFlags ||= "";
|
||||
|
||||
# Start ‘nix-store --serve’ on the remote host.
|
||||
my ($from, $to);
|
||||
my $pid = open2($from, $to, "ssh $sshHost @{$sshOpts} nix-store --serve --write");
|
||||
my $pid = open2($from, $to, "ssh $sshHost @{$sshOpts} nix-store --serve --write $extraFlags");
|
||||
|
||||
# Do the handshake.
|
||||
my $SERVE_MAGIC_1 = 0x390c9deb; # FIXME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue