From cde4b609192d11dc299ea3c27d7f92735f161db1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 16 Feb 2017 14:46:36 +0100 Subject: Move netrcFile to Settings Also get rid of Settings::processEnvironment(), it appears to be useless. --- src/libstore/globals.hh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/libstore/globals.hh') diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index a423b4e5c0f4..0ff18f8b16ea 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -16,8 +16,6 @@ struct Settings { Settings(); - void processEnvironment(); - void loadConfFile(); void set(const string & name, const string & value); @@ -193,6 +191,10 @@ struct Settings { build settings */ Path preBuildHook; + /* Path to the netrc file used to obtain usernames/passwords for + downloads. */ + Path netrcFile; + private: SettingsMap settings, overrides; -- cgit 1.4.1