diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-02-27T11·04+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-02-27T11·04+0000 |
commit | 60cb7de336035768089cc764a3fd7e8867a8d298 (patch) | |
tree | 710ab85ccd7aa37f2df21ea5b37011273719273c /src/libstore/globals.hh | |
parent | 8ab6bc5a49686aedf85adffe322c4f016764af5f (diff) |
* Allow options from the Nix config file to be overriden from the
command line (e.g. "--option build-use-chroot true").
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r-- | src/libstore/globals.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index b8e2bae66e65..687247cc74f4 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -101,6 +101,8 @@ bool queryBoolSetting(const string & name, bool def); unsigned int queryIntSetting(const string & name, unsigned int def); +void overrideSetting(const string & name, const Strings & value); + void reloadSettings(); |