lix/src
Eelco Dolstra 2040240e23
Add a Config class to simplify adding configuration settings
The typical use is to inherit Config and add Setting<T> members:

  class MyClass : private Config
  {
    Setting<int> foo{this, 123, "foo", "the number of foos to use"};
    Setting<std::string> bar{this, "blabla", "bar", "the name of the bar"};

    MyClass() : Config(readConfigFile("/etc/my-app.conf"))
    {
      std::cout << foo << "\n"; // will print 123 unless overriden
    }
  };

Currently, this is used by Store and its subclasses for store
parameters. You now get a warning if you specify a non-existant store
parameter in a store URI.
2017-04-13 16:03:31 +02:00
..
boost Force stack trace for boost format errors 2016-03-02 15:46:07 +01:00
build-remote ssh:// -> ssh-ng://, legacy-ssh:// -> ssh:// 2017-03-16 14:19:32 +01:00
buildenv Fix Fedora build 2016-08-30 13:56:22 +02:00
libexpr builtins.exec: Make the argument just a list 2017-03-31 11:58:41 -04:00
libmain Initialise logger 2017-04-13 16:03:31 +02:00
libstore Add a Config class to simplify adding configuration settings 2017-04-13 16:03:31 +02:00
libutil Add a Config class to simplify adding configuration settings 2017-04-13 16:03:31 +02:00
nix Process nix.conf options in "new" nix commands, add test. 2017-04-08 12:59:42 -05:00
nix-build nix-shell/pure: keep environment variable SHLVL 2017-03-12 01:04: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 ssh:// -> ssh-ng://, legacy-ssh:// -> ssh:// 2017-03-16 14:19:32 +01:00
nix-daemon Implement RemoteStore::queryMissing() 2017-04-06 18:40:19 +02: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 runProgram(): Distinguish between empty input and no input 2017-03-15 16:50:19 +01:00
nix-store Merge branch 'remove-perl' of https://github.com/shlevy/nix 2017-03-31 14:13:32 +02:00
resolve-system-dependencies printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00