This is the master branch of nixpkgs, initially pulled from commit 8debf2f9a63d54ae4f28994290437ba54c681c7b
The intent of this repo is to be merged onto nixpkgs master. This will also be of help for https://git.suyu.dev/BoomMicrophone/suyu-nix-test
which I will need in order for development (it will also be helpful to know what to do for setting up the environment for the master server. Currently I am focusing on this so I can actually see what is still missing)
This repo will be removed once the PR to the nixpkgs github goes through
d897fc5501
easier. Instead of writing config.get ["foo" "bar"] it would be much cleaner to just write config.foo.bar only this doesn't handle the case where option foo.bar is not supplied in the configuration; in that case we need to take the default value from some set of option definitions (system/options.nix in NixOS). Following a suggestion from Martin, the function `combine' (need better name) takes a set of option definitions (which follow the attribute set structure of the options) and a set of options and fills in missing values in the latter with default values from the former. This only works with very recent versions of Nix (it needs Marc Weber's listToAttrs primop). svn path=/nixpkgs/trunk/; revision=9203 |
||
---|---|---|
doc | ||
maintainers | ||
pkgs | ||
COPYING | ||
default.nix | ||
STABLE | ||
VERSION |