Find a file
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
config
corepkgs Merge branch 'remove-perl' of https://github.com/shlevy/nix 2017-03-31 14:13:32 +02:00
doc/manual Move note about float support out of the wrong release notes 2017-04-12 18:01:43 -04:00
maintainers Update upload-release script 2017-01-03 11:42:56 +01:00
misc Dockerfile: 1.11.2 -> 1.11.7 2017-03-11 19:39:13 +01:00
mk Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
perl Initialise logger 2017-04-13 16:03:31 +02:00
scripts Merge branch 'nix-copy-closure-c++' of https://github.com/shlevy/nix 2017-02-07 20:47:45 +01:00
src Add a Config class to simplify adding configuration settings 2017-04-13 16:03:31 +02:00
tests tests/timeout: create output so tests don't trivially pass 2017-04-08 12:59:42 -05:00
.dir-locals.el Add .dir-locals.el for Emacs 2016-01-28 11:12:04 +01:00
.gitignore Add nix-perl package for the perl bindings 2017-02-07 15:56:32 -05:00
bootstrap.sh
configure.ac Merge branch 'remove-perl' of https://github.com/shlevy/nix 2017-03-31 14:13:32 +02:00
COPYING
local.mk Add nix-perl package for the perl bindings 2017-02-07 15:56:32 -05:00
Makefile Merge branch 'remove-perl' of https://github.com/shlevy/nix 2017-03-31 14:13:32 +02:00
Makefile.config.in Merge branch 'remove-perl' of https://github.com/shlevy/nix 2017-03-31 14:13:32 +02:00
nix.spec.in Really fix the RPM build 2017-04-03 16:25:20 +02:00
README.md Fix minor grammatical nitpick ("it's" vs. "its") in README.md. 2017-03-22 10:11:23 -04:00
release.nix Drop WWW::Curl dependency 2017-04-11 15:41:50 +02:00
shell.nix shell.nix: Remove more dependencies 2017-04-10 17:23:15 +02:00
version Bump 2016-01-20 16:34:37 +01:00

Nix, the purely functional package manager

Nix is a new take on package management that is fairly unique. Because of its purity aspects, a lot of issues found in traditional package managers don't appear with Nix.

To find out more about the tool, usage and installation instructions, please read the manual, which is available on the Nix website at http://nixos.org/nix/manual.

Contributing

Take a look at the Hacking Section of the manual. It helps you to get started with building Nix from source.

License

Nix is released under the LGPL v2.1

This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit.