summary refs log tree commit diff
path: root/nixos/modules/system/activation/top-level.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-12-17 14:32:55 +0100
committerRobert Hensing <robert@roberthensing.nl>2021-12-17 14:42:44 +0100
commit4014fb6a64bc5f68326fc08cbaa83475db1fae8e (patch)
treeeca67c67f1c41856a0b0c5e9b96f55f6802c3251 /nixos/modules/system/activation/top-level.nix
parenta0ad8dcd354c67f084511e4ae78a27af83df95fd (diff)
downloadnixpkgs-4014fb6a64bc5f68326fc08cbaa83475db1fae8e.tar
nixpkgs-4014fb6a64bc5f68326fc08cbaa83475db1fae8e.tar.gz
nixpkgs-4014fb6a64bc5f68326fc08cbaa83475db1fae8e.tar.bz2
nixpkgs-4014fb6a64bc5f68326fc08cbaa83475db1fae8e.tar.lz
nixpkgs-4014fb6a64bc5f68326fc08cbaa83475db1fae8e.tar.xz
nixpkgs-4014fb6a64bc5f68326fc08cbaa83475db1fae8e.tar.zst
nixpkgs-4014fb6a64bc5f68326fc08cbaa83475db1fae8e.zip
nixos: Make system.build a lazyAttrsOf unspecified
Legacy types.attrs has really bad merging behavior and does not
support priorities.

f build
Diffstat (limited to 'nixos/modules/system/activation/top-level.nix')
-rw-r--r--nixos/modules/system/activation/top-level.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix
index 501998fa399..42e6dd689f9 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.
       '';