mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 17:59:36 +01:00
Move netrcFile to Settings
Also get rid of Settings::processEnvironment(), it appears to be useless.
This commit is contained in:
parent
bd5388e7b2
commit
cde4b60919
5 changed files with 23 additions and 28 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue