about summary refs log tree commit diff
path: root/src/libstore/globals.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-07-06T15·30+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-07-06T15·30+0000
commitd51aede4afeb49182879f257b56394b70938028f (patch)
treecea0470eb2f38eb1c1d0adcbecc59cf78b25516e /src/libstore/globals.hh
parenta945fb7905597ff67f285b39004f607f737b14e9 (diff)
* Allow the canonical system name to be specified at runtime in the
  Nix config file.

Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r--src/libstore/globals.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh
index b5de709f7b..408076b751 100644
--- a/src/libstore/globals.hh
+++ b/src/libstore/globals.hh
@@ -53,6 +53,9 @@ extern unsigned int maxBuildJobs;
    database. */
 extern bool readOnlyMode;
 
+/* The canonical system name, as returned by config.guess. */ 
+extern string thisSystem;
+
 
 Strings querySetting(const string & name, const Strings & def);