mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
* Allow the canonical system name to be specified at runtime in the
Nix config file.
This commit is contained in:
parent
a945fb7905
commit
d51aede4af
6 changed files with 27 additions and 8 deletions
|
@ -17,6 +17,7 @@ bool tryFallback = false;
|
|||
Verbosity buildVerbosity = lvlInfo;
|
||||
unsigned int maxBuildJobs = 1;
|
||||
bool readOnlyMode = false;
|
||||
string thisSystem = "unset";
|
||||
|
||||
|
||||
static bool settingsRead = false;
|
||||
|
@ -26,7 +27,7 @@ static map<string, Strings> settings;
|
|||
|
||||
string & at(Strings & ss, unsigned int n)
|
||||
{
|
||||
Strings::iterator i =ss.begin();
|
||||
Strings::iterator i = ss.begin();
|
||||
advance(i, n);
|
||||
return *i;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue