[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
95/376: Change the default for use-ssh-substituter to ‘true’
From: |
Ludovic Courtès |
Subject: |
95/376: Change the default for use-ssh-substituter to ‘true’ |
Date: |
Wed, 28 Jan 2015 22:04:16 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit 71a20d4d95ad40060857d5da6b813f437267fbb2
Author: Eelco Dolstra <address@hidden>
Date: Fri Jul 25 12:57:12 2014 +0200
Change the default for use-ssh-substituter to ‘true’
Now you only have to pass ‘--option ssh-substituter-hosts
address@hidden to enable SSH substitution.
---
src/libstore/globals.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc
index 28982ec..82f3e95 100644
--- a/src/libstore/globals.cc
+++ b/src/libstore/globals.cc
@@ -48,7 +48,7 @@ Settings::Settings()
useSubstitutes = true;
buildUsersGroup = getuid() == 0 ? "nixbld" : "";
useChroot = false;
- useSshSubstituter = false;
+ useSshSubstituter = true;
impersonateLinux26 = false;
keepLog = true;
compressLog = true;
@@ -166,7 +166,7 @@ void Settings::update()
#endif
substituters.push_back(nixLibexecDir +
"/nix/substituters/download-using-manifests.pl");
substituters.push_back(nixLibexecDir +
"/nix/substituters/download-from-binary-cache.pl");
- if (useSshSubstituter)
+ if (useSshSubstituter && !sshSubstituterHosts.empty())
substituters.push_back(nixLibexecDir +
"/nix/substituters/download-via-ssh");
} else
substituters = tokenizeString<Strings>(subs, ":");
- 88/376: Refactor, (continued)
- 88/376: Refactor, Ludovic Courtès, 2015/01/28
- 87/376: tests/remote-builds.nix: Test failing build, Ludovic Courtès, 2015/01/28
- 89/376: build-remote.pl: Be less verbose on failing builds, Ludovic Courtès, 2015/01/28
- 86/376: nix-store --serve: Only monitor stdin during builds, Ludovic Courtès, 2015/01/28
- 77/376: nix-daemon: Less verbosity, Ludovic Courtès, 2015/01/28
- 74/376: nix-daemon: Use a thread instead of SIGPOLL to catch client disconnects, Ludovic Courtès, 2015/01/28
- 99/376: install-nix-from-closure.sh: Install cacert, Ludovic Courtès, 2015/01/28
- 93/376: nix-copy-closure: Implement --gzip via ssh's -C flag, Ludovic Courtès, 2015/01/28
- 91/376: Remove obsolete SSH master connection code, Ludovic Courtès, 2015/01/28
- 100/376: Rename nixPath to __nixPath, Ludovic Courtès, 2015/01/28
- 95/376: Change the default for use-ssh-substituter to ‘true’,
Ludovic Courtès <=
- 90/376: Implement nix-copy-closure --from via nix-store --serve, Ludovic Courtès, 2015/01/28
- 97/376: Remove outdated AUTHORS file, Ludovic Courtès, 2015/01/28
- 92/376: Fix NIX_SSHOPTS, Ludovic Courtès, 2015/01/28
- 103/376: Allow regular files as GC roots, Ludovic Courtès, 2015/01/28
- 94/376: nix-copy-closure: Drop --bzip2, --xz, --show-progress, Ludovic Courtès, 2015/01/28
- 84/376: Use pthread_cancel instead of a signal, Ludovic Courtès, 2015/01/28
- 102/376: Restore default SIGPIPE handler before invoking ‘man’, Ludovic Courtès, 2015/01/28
- 98/376: nix-profile.sh: Set $SSL_CERT_FILE, Ludovic Courtès, 2015/01/28
- 96/376: nix-daemon: Pass on the user's $SSH_AUTH_SOCK to the SSH substituter, Ludovic Courtès, 2015/01/28
- 101/376: make clean: Remove Makefile.config, Ludovic Courtès, 2015/01/28