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:
Naïm Favier 2022-01-20 23:01:41 +01:00
parent 8e517fc7ea
commit 1147d72481
No known key found for this signature in database
GPG key ID: 49B07322580B7EE2

View file

@ -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.
'';