nixos: use uniq in the type of system.build
`unspecified` will happily concatenate strings together from two unrelated modules, causing spurious errors (see #155925).
This commit is contained in:
@@ -148,7 +148,7 @@ in
|
||||
system.build = mkOption {
|
||||
internal = true;
|
||||
default = {};
|
||||
type = types.lazyAttrsOf types.unspecified;
|
||||
type = with types; lazyAttrsOf (uniq unspecified);
|
||||
description = ''
|
||||
Attribute set of derivations used to setup the system.
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user