-
-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Reproduction repo: https://github.com/musjj/bogus-duplication
imports = [
{
den.aspects.tux-groups = den.lib.parametric {
nixos.users.users.tux.extraGroups = [ "foo" ];
};
}
{
den.aspects.tux-groups = den.lib.parametric {
nixos.users.users.tux.extraGroups = [ "bar" ];
};
}
];
den.hosts.x86_64-linux.igloo.users.tux = { };
den.aspects.tux.includes = [ den.aspects.tux-groups ];In this case, you would expect extraGroups to be [ "foo" "bar" ] (or [ "bar" "foo" ]), but in reality you get:
$ nix eval .#nixosConfigurations.igloo.config.users.users.tux.extraGroups
[ "foo" "bar" "foo" "bar" ]It looks like that duplication occurs when there are multiple modules that contributes to the same aspect.
Might be related to: #131
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working