1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 20:36:27 +00:00
nixpkgs/nixos/modules
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
..
config fix manual 2015-01-03 16:32:07 +01:00
hardware Bumblebee config to enable multiple monitors 2014-12-30 19:17:42 -08:00
installer nixos-install: Create /root with 700 permission 2015-01-15 18:37:55 +01:00
misc nixos: adding nylon service with uid,gid 2015-01-14 22:08:47 +01:00
profiles nixos/base: Add efi management utilities 2015-01-07 01:52:47 -08:00
programs Merge pull request #5726 from spwhitt/zsh-command-not-found 2015-01-17 18:15:35 +01:00
security grsecurity: Add denyUSB option to grsec NixOS module 2015-01-20 19:18:06 +01:00
services nixos/rename: Fix merging multiple destinations. 2015-01-22 14:08:28 +01:00
system Merge pull request #4394 from wmertens/patch-6 2015-01-19 12:39:41 +01:00
tasks nixos: Don't do filesystem checks on ZFS or NFS filesystems 2015-01-21 17:39:53 +01:00
testing test-instrumentation.nix: Prevent calling a pager 2015-01-15 14:39:29 +01:00
virtualisation Paranoia 2015-01-15 18:37:55 +01:00
module-list.nix Merge pull request #5301 from nbp/syncserver 2015-01-18 17:47:51 +01:00
rename.nix nixos/rename: Fix merging multiple destinations. 2015-01-22 14:08:28 +01:00