From 4014fb6a64bc5f68326fc08cbaa83475db1fae8e Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 17 Dec 2021 14:32:55 +0100 Subject: [PATCH] nixos: Make system.build a lazyAttrsOf unspecified Legacy types.attrs has really bad merging behavior and does not support priorities. f build --- nixos/modules/system/activation/top-level.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix index 501998fa399e..42e6dd689f93 100644 --- a/nixos/modules/system/activation/top-level.nix +++ b/nixos/modules/system/activation/top-level.nix @@ -148,7 +148,7 @@ in system.build = mkOption { internal = true; default = {}; - type = types.attrs; + type = types.lazyAttrsOf types.unspecified; description = '' Attribute set of derivations used to setup the system. '';