nixpkgs-suyu/nixos
aszlig 127c928c23
nixos/rename: Fix merging multiple destinations.
The renaming of options define the original value for the new attribute
path. This works well if there is only *one* target, but if there are
more, we end up recursing into the attribute set of the option
definition itself.

We now check for that within the parent recursion node (we can't check
that from the subnode, because we lack that information about whether
it's defined multiple times) and if the subnode consist entirely of a
list of definitions, we use mkMerge on it.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-01-22 14:08:28 +01:00
..
doc/manual Fix release notes 2015-01-21 16:27:48 +01:00
gui
lib nixos: allow adding extra modules through environment 2014-12-16 19:13:15 +01:00
maintainers Minor fixes to EC2 image generation script. Set autoresponder, so no interaction is necessary. Write output in a format that can be easily included in ec2-amis.nix of nixops. 2015-01-05 09:35:48 +01:00
modules nixos/rename: Fix merging multiple destinations. 2015-01-22 14:08:28 +01:00
tests Paranoia 2015-01-15 18:37:55 +01:00
COPYING
default.nix Fix nixos-option 2013-10-28 22:45:58 +01:00
README
release-combined.nix add chromium test to the tested job 2014-12-14 13:47:19 +01:00
release-small.nix java: Normalize to the default jre / jdk 2015-01-07 14:55:41 -08:00
release.nix nixos: add cadvisor service 2014-12-28 20:21:41 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.