mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-11 00:36:20 +02:00
efa5fa1a91
no limit). * Add missing file to distribution.
39 lines
858 B
C++
39 lines
858 B
C++
#ifndef __GLOBALS_H
|
|
#define __GLOBALS_H
|
|
|
|
#include <string>
|
|
#include "util.hh"
|
|
|
|
using namespace std;
|
|
|
|
/* Path names. */
|
|
|
|
/* nixStore is the directory where we generally store atomic and
|
|
derived files. */
|
|
extern string nixStore;
|
|
|
|
extern string nixDataDir; /* !!! fix */
|
|
|
|
/* nixLogDir is the directory where we log various operations. */
|
|
extern string nixLogDir;
|
|
|
|
/* nixStateDir is the directory where state is stored. */
|
|
extern string nixStateDir;
|
|
|
|
/* nixDBPath is the path name of our Berkeley DB environment. */
|
|
extern string nixDBPath;
|
|
|
|
|
|
/* Misc. global flags. */
|
|
|
|
/* Whether to keep temporary directories of failed builds. */
|
|
extern bool keepFailed;
|
|
|
|
/* Verbosity level for build output. */
|
|
extern Verbosity buildVerbosity;
|
|
|
|
/* Maximum number of parallel build jobs. 0 means unlimited. */
|
|
extern unsigned int maxBuildJobs;
|
|
|
|
|
|
#endif /* !__GLOBALS_H */
|