summary refs log tree commit diff
path: root/maintainers
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-01-22 14:02:47 +0100
committeraszlig <aszlig@redmoonstudios.org>2015-01-22 14:08:28 +0100
commit127c928c2372a65924830d2db1e74296e351dca5 (patch)
tree5461b6b181f35776da0eb1901728d751622cfe0b /maintainers
parentc5692758b536bc5e5a54db544e8d802454b72482 (diff)
downloadnixlib-127c928c2372a65924830d2db1e74296e351dca5.tar
nixlib-127c928c2372a65924830d2db1e74296e351dca5.tar.gz
nixlib-127c928c2372a65924830d2db1e74296e351dca5.tar.bz2
nixlib-127c928c2372a65924830d2db1e74296e351dca5.tar.lz
nixlib-127c928c2372a65924830d2db1e74296e351dca5.tar.xz
nixlib-127c928c2372a65924830d2db1e74296e351dca5.tar.zst
nixlib-127c928c2372a65924830d2db1e74296e351dca5.zip
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>
Diffstat (limited to 'maintainers')
0 files changed, 0 insertions, 0 deletions