From af241ae7d3d2a9975d43c9137806a6ffcb96e95b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 24 Oct 2017 10:52:34 +0200 Subject: Remove the builder-files option You can now include files via the "builders" option, using the syntax "@". Having only one option makes it easier to override builders completely. For backward compatibility, the default is "@/etc/nix/machines", or "@" for each file name in NIX_REMOTE_SYSTEMS. --- src/libstore/globals.hh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/libstore/globals.hh') diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index 12d57b3e7647..4980615dc3f5 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -138,13 +138,9 @@ public: PathSetting buildHook{this, true, nixLibexecDir + "/nix/build-remote", "build-hook", "The path of the helper program that executes builds to remote machines."}; - Setting builders{this, "", "builders", + Setting builders{this, "@" + nixConfDir + "/machines", "builders", "A semicolon-separated list of build machines, in the format of nix.machines."}; - Setting builderFiles{this, - {nixConfDir + "/machines"}, "builder-files", - "A list of files specifying build machines."}; - Setting reservedSize{this, 8 * 1024 * 1024, "gc-reserved-space", "Amount of reserved disk space for the garbage collector."}; -- cgit 1.4.1