lix/src
Dan Peebles e7cb2847ab Explicitly model all settings and fail on unrecognized ones
Previously, the Settings class allowed other code to query for string
properties, which led to a proliferation of code all over the place making
up new options without any sort of central registry of valid options. This
commit pulls all those options back into the central Settings class and
removes the public get() methods, to discourage future abuses like that.

Furthermore, because we know the full set of options ahead of time, we
now fail loudly if someone enters an unrecognized option, thus preventing
subtle typos. With some template fun, we could probably also dump the full
set of options (with documentation, defaults, etc.) to the command line,
but I'm not doing that yet here.
2017-02-22 20:19:25 -05:00
..
boost Force stack trace for boost format errors 2016-03-02 15:46:07 +01:00
build-remote Merge branch 'nix-copy-closure-c++' of https://github.com/shlevy/nix 2017-02-07 20:47:45 +01:00
buildenv Fix Fedora build 2016-08-30 13:56:22 +02:00
libexpr Explicitly model all settings and fail on unrecognized ones 2017-02-22 20:19:25 -05:00
libmain Move netrcFile to Settings 2017-02-16 14:50:41 +01:00
libstore Explicitly model all settings and fail on unrecognized ones 2017-02-22 20:19:25 -05:00
libutil Support netrc in <nix/fetchurl.nix> 2017-02-16 15:51:50 +01:00
nix exportReferencesGraph: Export more complete info in JSON format 2017-01-26 20:41:08 +01:00
nix-build Restore default signal handling in child processes 2017-02-01 13:00:21 +01:00
nix-channel nix-channel: Fix --update <CHANNELS> 2016-11-21 15:54:19 +01:00
nix-collect-garbage printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-copy-closure nix-copy-closure: Use computeFSClosure() and LegacySSHStore 2017-02-07 20:55:47 +01:00
nix-daemon Explicitly model all settings and fail on unrecognized ones 2017-02-22 20:19:25 -05:00
nix-env printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-instantiate Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
nix-prefetch-url printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-store Explicitly model all settings and fail on unrecognized ones 2017-02-22 20:19:25 -05:00
resolve-system-dependencies printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00