[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/118: build-remote.pl: Fix build log
From: |
Ludovic Courtès |
Subject: |
53/118: build-remote.pl: Fix build log |
Date: |
Tue, 19 May 2015 14:45:36 +0000 |
civodul pushed a commit to branch nix
in repository guix.
commit a00a98548e994d1ea258e14793c7bcd8ea56cfdf
Author: Eelco Dolstra <address@hidden>
Date: Sat Jul 12 00:09:43 2014 +0200
build-remote.pl: Fix build log
---
perl/lib/Nix/SSH.pm | 6 ++++--
scripts/build-remote.pl.in | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/perl/lib/Nix/SSH.pm b/perl/lib/Nix/SSH.pm
index c879204..84bff5c 100644
--- a/perl/lib/Nix/SSH.pm
+++ b/perl/lib/Nix/SSH.pm
@@ -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
diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in
index 687b0e1..c2f1fec 100755
--- a/scripts/build-remote.pl.in
+++ b/scripts/build-remote.pl.in
@@ -197,7 +197,7 @@ REQ: while (1) {
@sshOpts = ("-i", $machine->{sshKeys}, "-x");
$hostName = $machine->{hostName};
eval {
- ($from, $to) = connectToRemoteNix($hostName, address@hidden);
+ ($from, $to) = connectToRemoteNix($hostName, address@hidden,
"2>&4");
# FIXME: check if builds are inhibited.
};
last REQ unless $@;
- 44/118: nix-copy-closure: Fix --dry-run, (continued)
- 44/118: nix-copy-closure: Fix --dry-run, Ludovic Courtès, 2015/05/19
- 47/118: Replace message "importing path <...>" with "exporting path <...>", Ludovic Courtès, 2015/05/19
- 37/118: Add a test for the SSH substituter, Ludovic Courtès, 2015/05/19
- 39/118: nix-copy-closure: Fix race condition, Ludovic Courtès, 2015/05/19
- 49/118: Allow $NIX_BUILD_HOOK to be relative to Nix libexec directory, Ludovic Courtès, 2015/05/19
- 52/118: Fix test, Ludovic Courtès, 2015/05/19
- 42/118: Refactoring: Move all fork handling into a higher-order function, Ludovic Courtès, 2015/05/19
- 41/118: nix-copy-closure: Restore compression and the progress viewer, Ludovic Courtès, 2015/05/19
- 54/118: build-remote.pl: Don't keep a shell process around, Ludovic Courtès, 2015/05/19
- 57/118: Manual: Typo, Ludovic Courtès, 2015/05/19
- 53/118: build-remote.pl: Fix build log,
Ludovic Courtès <=
- 66/118: nix-daemon: Show name of connecting user, Ludovic Courtès, 2015/05/19
- 58/118: Pass *_proxy vars to bootstrap fetchurl, Ludovic Courtès, 2015/05/19
- 56/118: Remove cruft, Ludovic Courtès, 2015/05/19
- 48/118: Fix broken Pid constructor, Ludovic Courtès, 2015/05/19
- 51/118: build-remote.pl: Use ‘nix-store --serve’ on the remote side, Ludovic Courtès, 2015/05/19
- 62/118: Be more strict about file names in NARs, Ludovic Courtès, 2015/05/19
- 65/118: nix-daemon: Only print connection info if we have SO_PEERCRED, Ludovic Courtès, 2015/05/19
- 72/118: Remove dead code, Ludovic Courtès, 2015/05/19
- 55/118: build-remote.pl: Fix building multiple output derivations, Ludovic Courtès, 2015/05/19
- 59/118: Install systemd and Upstart stuff only on Linux, Ludovic Courtès, 2015/05/19