mirror of
https://github.com/NixOS/nix
synced 2025-07-02 13:31:48 +02:00
* Configuration options for trusted local builds.
This commit is contained in:
parent
89cd0f57b1
commit
8d06842a76
3 changed files with 43 additions and 5 deletions
|
@ -2,6 +2,7 @@
|
|||
#define __GLOBALS_H
|
||||
|
||||
#include <string>
|
||||
#include <set>
|
||||
#include "util.hh"
|
||||
|
||||
using namespace std;
|
||||
|
@ -52,6 +53,15 @@ extern unsigned int maxBuildJobs;
|
|||
database. */
|
||||
extern bool readOnlyMode;
|
||||
|
||||
/* Whether to allow builds by root. Corresponds to the
|
||||
`build-allow-root' configuration option. */
|
||||
extern bool buildAllowRoot;
|
||||
|
||||
/* The list of users under which root-initiated builds can be
|
||||
performed. Correspons to the `build-users' configuration
|
||||
option. */
|
||||
extern list<string> buildUsers;
|
||||
|
||||
|
||||
string querySetting(const string & name, const string & def);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue