mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
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:
parent
8e517fc7ea
commit
1147d72481
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ in
|
||||||
system.build = mkOption {
|
system.build = mkOption {
|
||||||
internal = true;
|
internal = true;
|
||||||
default = {};
|
default = {};
|
||||||
type = types.lazyAttrsOf types.unspecified;
|
type = with types; lazyAttrsOf (uniq unspecified);
|
||||||
description = ''
|
description = ''
|
||||||
Attribute set of derivations used to setup the system.
|
Attribute set of derivations used to setup the system.
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue