aboutsummaryrefslogtreecommitdiff
path: root/src/libutil
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-07-06 15:30:37 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-07-06 15:30:37 +0000
commitd51aede4afeb49182879f257b56394b70938028f (patch)
treecea0470eb2f38eb1c1d0adcbecc59cf78b25516e /src/libutil
parenta945fb7905597ff67f285b39004f607f737b14e9 (diff)
* Allow the canonical system name to be specified at runtime in the
Nix config file.
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/util.cc3
-rw-r--r--src/libutil/util.hh4
2 files changed, 0 insertions, 7 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index 973443cf1..9e3e0bae2 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -16,9 +16,6 @@
#include "util.hh"
-string thisSystem = SYSTEM;
-
-
Error::Error(const format & f)
{
err = f.str();
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index 05cf777f1..92bdf50d3 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -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 = "");