aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/globals.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-02-01 22:07:48 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-02-01 22:07:48 +0000
commita37338815de6affd44f927712143f626c8e6d79d (patch)
treee3ea2dbd932702a06110c33a26c94da3e1094e92 /src/libstore/globals.hh
parent2e6bf723e4d63d661d26443a4477a040a96c7257 (diff)
* A GC setting `gc-keep-outputs' to specify whether output paths of
derivations should be kept.
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r--src/libstore/globals.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh
index beaa0acc9..0e851fd74 100644
--- a/src/libstore/globals.hh
+++ b/src/libstore/globals.hh
@@ -23,6 +23,11 @@ extern string nixStateDir;
/* nixDBPath is the path name of our Berkeley DB environment. */
extern string nixDBPath;
+/* nixConfDir is the directory where configuration files are
+ stored. */
+extern string nixConfDir;
+
+
/* Misc. global flags. */
@@ -48,4 +53,7 @@ extern unsigned int maxBuildJobs;
extern bool readOnlyMode;
+string querySetting(const string & name, const string & def);
+
+
#endif /* !__GLOBALS_H */