mirror of
https://github.com/NixOS/nix
synced 2025-07-02 21:51:50 +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
|
@ -16,9 +16,6 @@
|
|||
#include "util.hh"
|
||||
|
||||
|
||||
string thisSystem = SYSTEM;
|
||||
|
||||
|
||||
Error::Error(const format & f)
|
||||
{
|
||||
err = f.str();
|
||||
|
|
|
@ -55,10 +55,6 @@ typedef list<Path> Paths;
|
|||
typedef set<Path> PathSet;
|
||||
|
||||
|
||||
/* The canonical system name, as returned by config.guess. */
|
||||
extern string thisSystem;
|
||||
|
||||
|
||||
/* Return an environment variable. */
|
||||
string getEnv(const string & key, const string & def = "");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue