warning: not writing modified lock file of flake 'path:/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source': • Updated input 'data-mesher': 'https://git.clan.lol/api/v1/repos/clan/data-mesher/archive/644c49bbf121b3e256bc83ce10b5d97813d9181d.tar.gz?narHash=sha256-dCOb9YIJv9I2udjqukvjlGiTyOvGnO7zVbot0PxjBGk%3D' (2026-09-02) → 'path:/nix/store/4c5hlwazv87pvzj9ib2cq46cr90yrkl9-source?lastModified=1&narHash=sha256-dCOb9YIJv9I2udjqukvjlGiTyOvGnO7zVbot0PxjBGk%3D' (1970-01-01) • Updated input 'disko': 'github:nix-community/disko/ff8702b4de27f72b4c78573dfb89ec74e36abdf1?narHash=sha256-RxWs5ND31KzTG7wvMM%2BPMfUjyNpmIEr999lqNARaM5o%3D' (2026-06-11) → 'path:/nix/store/w2c23ykc12mswlg8hrrjzb5gv9gvkzwq-source?lastModified=1&narHash=sha256-RxWs5ND31KzTG7wvMM%2BPMfUjyNpmIEr999lqNARaM5o%3D' (1970-01-01) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/f16b25b8c3d2809b87925d0b76652d7821a75c68?narHash=sha256-lbrI1UYVpFgKSsyrU9oeF7FHfnu8nLD9ja0ou9f2rxk%3D' (2026-09-01) → 'path:/nix/store/36jisy9766m1lxhs62ms3brnv575673p-source?lastModified=1&narHash=sha256-lbrI1UYVpFgKSsyrU9oeF7FHfnu8nLD9ja0ou9f2rxk%3D' (1970-01-01) • Updated input 'nix-darwin': 'github:nix-darwin/nix-darwin/4cff07de74b50e64bdd68cd4e722ab5b6b35ee48?narHash=sha256-oQFip%2Bv0luP8NIxJzmiW4Wu8bILsbFWom5l0zonl8hQ%3D' (2026-08-16) → 'path:/nix/store/8ggr67sci43hlp8ba6rhjrdhhj5490am-source?lastModified=1&narHash=sha256-oQFip%2Bv0luP8NIxJzmiW4Wu8bILsbFWom5l0zonl8hQ%3D' (1970-01-01) • Updated input 'nix-select': 'https://git.clan.lol/api/v1/repos/clan/nix-select/archive/3d1e3860bef36857a01a2ddecba7cdb0a14c35a9.tar.gz?narHash=sha256-yxcNOha7Cfv2nhVpz9ZXSNKk0R7wt4AiBklJ8D24rVg%3D' (2025-11-16) → 'path:/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source?lastModified=1&narHash=sha256-yxcNOha7Cfv2nhVpz9ZXSNKk0R7wt4AiBklJ8D24rVg%3D' (1970-01-01) • Updated input 'nixpkgs': 'https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1063758.e8be7818e19a/nixexprs.tar.xz?narHash=sha256-qeiZaY%2B0tpZXliRA9odCNx%2BsOfIOhnkcUq9t%2BctPrRA%3D' (2026-08-29) → 'path:/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source?lastModified=1&narHash=sha256-qeiZaY%2B0tpZXliRA9odCNx%2BsOfIOhnkcUq9t%2BctPrRA%3D' (1970-01-01) • Updated input 'sops-nix': 'github:Mic92/sops-nix/fbf759290e0cb0a98dfc813a4eb7d53ad1dacb57?narHash=sha256-gkSH8VUtCo6hnysNmb9DbTuDepH2t5pv%2BQWjP75xKAk%3D' (2026-09-02) → 'path:/nix/store/lvnl7lflsi8gvn2b4pdjmyiwxvp6sn6m-source?lastModified=1&narHash=sha256-gkSH8VUtCo6hnysNmb9DbTuDepH2t5pv%2BQWjP75xKAk%3D' (1970-01-01) • Updated input 'systems': 'github:nix-systems/default/c29398b59d2048c4ab79345812849c9bd15e9150?narHash=sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w%3D' (2026-03-25) → 'path:/nix/store/9m1jsz5b9ggmjij2vkmafnhn26g96jjn-source?lastModified=1&narHash=sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w%3D' (1970-01-01) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/27b3b12a8e6375f28ebe122f07d230ca5459bbfa?narHash=sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE%3D' (2026-08-16) → 'path:/nix/store/7sjy8935654h3220n5gbaclf5nfw4nzx-source?lastModified=1&narHash=sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE%3D' (1970-01-01) ☢️ api_feature_meta.test_default_resolves_meta error: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/api_feature_meta.nix:56:13: 55| 56| service = res.config._services.allServices.self-A; | ^ 57| assertions = service.result.assertions; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ api_feature_meta.test_no_failing_assertion error: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/api_feature_meta.nix:56:13: 55| 56| service = res.config._services.allServices.self-A; | ^ 57| assertions = service.result.assertions; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ api_feature_meta.test_schema_is_forceable error: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/api_feature_meta.nix:56:13: 55| 56| service = res.config._services.allServices.self-A; | ^ 57| assertions = service.result.assertions; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ api_feature_meta.test_static_default_still_works error: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/api_feature_meta.nix:93:18: 92| }; 93| schemaNoMeta = resNoMeta.config._services.allServices.self-A.result.api.schema; | ^ 94| in … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ cli_checks.test_exact_machine_count_pass error: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/cli_checks.nix:182:14: 181| inherit res; 182| expr = res.config.clanInternals.cliChecks; | ^ 183| expected = [ ]; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `clanInternals.cliChecks': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'concatMap' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:170:31: 169| 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( | ^ 171| lib.attrValues config._services.allServices … while calling the 'attrValues' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:7: 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( 171| lib.attrValues config._services.allServices | ^ 172| ); … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:22: 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( 171| lib.attrValues config._services.allServices | ^ 172| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': (17 duplicate frames omitted) … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ cli_checks.test_maxInstances_fail error: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/cli_checks.nix:87:14: 86| inherit res; 87| expr = res.config.clanInternals.cliChecks; | ^ 88| expected = [ … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `clanInternals.cliChecks': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'concatMap' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:170:31: 169| 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( | ^ 171| lib.attrValues config._services.allServices … while calling the 'attrValues' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:7: 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( 171| lib.attrValues config._services.allServices | ^ 172| ); … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:22: 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( 171| lib.attrValues config._services.allServices | ^ 172| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': (17 duplicate frames omitted) … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ cli_checks.test_maxInstances_pass error: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/cli_checks.nix:60:14: 59| inherit res; 60| expr = res.config.clanInternals.cliChecks; | ^ 61| expected = [ ]; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `clanInternals.cliChecks': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'concatMap' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:170:31: 169| 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( | ^ 171| lib.attrValues config._services.allServices … while calling the 'attrValues' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:7: 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( 171| lib.attrValues config._services.allServices | ^ 172| ); … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:22: 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( 171| lib.attrValues config._services.allServices | ^ 172| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': (17 duplicate frames omitted) … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ cli_checks.test_maxMachines_fail error: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/cli_checks.nix:151:14: 150| inherit res; 151| expr = res.config.clanInternals.cliChecks; | ^ 152| expected = [ … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `clanInternals.cliChecks': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'concatMap' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:170:31: 169| 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( | ^ 171| lib.attrValues config._services.allServices … while calling the 'attrValues' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:7: 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( 171| lib.attrValues config._services.allServices | ^ 172| ); … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:22: 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( 171| lib.attrValues config._services.allServices | ^ 172| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': (17 duplicate frames omitted) … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ cli_checks.test_minMachines_fail error: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/cli_checks.nix:119:14: 118| inherit res; 119| expr = res.config.clanInternals.cliChecks; | ^ 120| expected = [ … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `clanInternals.cliChecks': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'concatMap' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:170:31: 169| 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( | ^ 171| lib.attrValues config._services.allServices … while calling the 'attrValues' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:7: 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( 171| lib.attrValues config._services.allServices | ^ 172| ); … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:22: 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( 171| lib.attrValues config._services.allServices | ^ 172| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': (17 duplicate frames omitted) … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ cli_checks.test_no_constraints error: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/cli_checks.nix:38:14: 37| inherit res; 38| expr = res.config.clanInternals.cliChecks; | ^ 39| expected = [ ]; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `clanInternals.cliChecks': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'concatMap' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:170:31: 169| 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( | ^ 171| lib.attrValues config._services.allServices … while calling the 'attrValues' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:7: 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( 171| lib.attrValues config._services.allServices | ^ 172| ); … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:22: 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) ( 171| lib.attrValues config._services.allServices | ^ 172| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': (17 duplicate frames omitted) … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ✅ extraModules.test_1 ✅ machine_imports.test_1 ☢️ per_instance_args.test_per_instance_arguments error: … while evaluating the attribute 'settings' at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/per_instance_args.nix:122:7: 121| # machines = jon 122| settings = | ^ 123| res.config._services.allServices.self-A.result.allRoles.peer.allInstances.instance_foo.allMachines.jon.passthru.settings; … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/per_instance_args.nix:123:9: 122| settings = 123| res.config._services.allServices.self-A.result.allRoles.peer.allInstances.instance_foo.allMachines.jon.passthru.settings; | ^ 124| machine = … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ per_instance_args.test_per_instance_settings_vendoring error: … while evaluating the attribute 'settings' at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/per_instance_args.nix:122:7: 121| # machines = jon 122| settings = | ^ 123| res.config._services.allServices.self-A.result.allRoles.peer.allInstances.instance_foo.allMachines.jon.passthru.settings; … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/per_instance_args.nix:123:9: 122| settings = 123| res.config._services.allServices.self-A.result.allRoles.peer.allInstances.instance_foo.allMachines.jon.passthru.settings; | ^ 124| machine = … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ per_machine_args.test_per_machine_receives_instance_settings error: … while evaluating the attribute 'hasMachineSettings' at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/per_machine_args.nix:97:7: 96| expr = { 97| hasMachineSettings = | ^ 98| res.config._services.allServices.self-A.result.allMachines.jon.passthru.instances.instance_foo.roles.peer.machines.jon … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/per_machine_args.nix:98:9: 97| hasMachineSettings = 98| res.config._services.allServices.self-A.result.allMachines.jon.passthru.instances.instance_foo.roles.peer.machines.jon | ^ 99| ? settings; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ per_machine_args.test_per_machine_roles_only_assigned error: … while evaluating the attribute 'hasMachineSettings' at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/per_machine_args.nix:97:7: 96| expr = { 97| hasMachineSettings = | ^ 98| res.config._services.allServices.self-A.result.allMachines.jon.passthru.instances.instance_foo.roles.peer.machines.jon … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/per_machine_args.nix:98:9: 97| hasMachineSettings = 98| res.config._services.allServices.self-A.result.allMachines.jon.passthru.instances.instance_foo.roles.peer.machines.jon | ^ 99| ? settings; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ resolve_module_spec.test_import_local_module_by_name error: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/import_module_spec.nix:39:7: 38| expr = 39| (resolve { | ^ 40| name = "A"; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ resolve_module_spec.test_import_remote_module_by_name error: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/import_module_spec.nix:47:7: 46| expr = 47| (resolve { | ^ 48| name = "uzzi"; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ settings.test_simple error: … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/settings.nix:60:17: 59| 60| mapSettings = lib.mapAttrs applySettings config.instances; | ^ 61| in … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/settings.nix:48:12: 47| 48| config = res.config._services.allServices.self-A; | ^ 49| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ settings.test_tag_settings error: … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/settings.nix:120:14: 119| }; 120| map2 = lib.mapAttrs ( | ^ 121| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/settings.nix:129:16: 128| ) config.instances; 129| config = res2.config._services.allServices."self-B"; | ^ 130| in … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ specialArgs.test_simple error: … while calling the 'attrNames' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/specialArgs.nix:31:17: 30| 31| specialArgs = lib.attrNames res.config._services.allServices.self-A.test.specialArgs; | ^ 32| in … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/specialArgs.nix:31:31: 30| 31| specialArgs = lib.attrNames res.config._services.allServices.self-A.test.specialArgs; | ^ 32| in … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ test_add_machines_directly error: … while calling the 'attrNames' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:275:14: 274| # We might change the attribute name in the future 275| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines; | ^ 276| expected = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:275:28: 274| # We might change the attribute name in the future 275| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines; | ^ 276| expected = [ … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ test_add_machines_via_tags error: … while calling the 'attrNames' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:329:14: 328| # We might change the attribute name in the future 329| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines; | ^ 330| expected = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:329:28: 328| # We might change the attribute name in the future 329| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines; | ^ 330| expected = [ … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ test_creates_all_instances error: … while calling the 'attrNames' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:217:14: 216| # We might change the attribute name in the future 217| expr = lib.attrNames res.config._services.allServices.self-A.instances; | ^ 218| expected = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:217:28: 216| # We might change the attribute name in the future 217| expr = lib.attrNames res.config._services.allServices.self-A.instances; | ^ 218| expected = [ … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ test_manifest_maintainers error: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:106:14: 105| { 106| expr = res.config._services.allServices.self-maintained-module.manifest.maintainers; | ^ 107| expected = [ … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ test_module_grouping error: … while calling the 'attrNames' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:171:14: 170| # We might change the attribute name in the future 171| expr = lib.attrNames res.config._services.allServices; | ^ 172| expected = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:171:28: 170| # We might change the attribute name in the future 171| expr = lib.attrNames res.config._services.allServices; | ^ 172| expected = [ … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| ☢️ test_simple error: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:74:14: 73| # We might change the attribute name in the future 74| expr = res.config._services.allServices ? "-simple-module"; | ^ 75| expected = true; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `_services.allServices': … while evaluating the attribute 'mergedValue' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5: 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 1245| mergedValue = | ^ 1246| if isDefined then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7: 1245| mergedValue = 1246| if isDefined then | ^ 1247| if type.merge ? v2 then … while evaluating the attribute 'values' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11: 1238| { 1239| values = defsSorted; | ^ 1240| inherit (defsFiltered) highestPrio; … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … while calling the 'any' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14: 1209| # Avoid sorting if we don't have to. 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then | ^ 1211| sortProperties defsFiltered.values … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24: 1204| # Process mkOverride properties. 1205| defsFiltered = filterOverrides' defsNormalized; | ^ 1206| … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5: 1422| in 1423| defs: | ^ 1424| # Optimize for the singleton case, equivalent to the `else` clause. … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'length' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8: 1424| # Optimize for the singleton case, equivalent to the `else` clause. 1425| if length defs == 1 then | ^ 1426| { … while calling the 'concatMap' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26: 1189| # Process mkMerge and mkIf properties. 1190| defsNormalized = concatMap ( | ^ 1191| m: … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11: 1190| defsNormalized = concatMap ( 1191| m: | ^ 1192| map ( … while calling the 'map' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11: 1191| m: 1192| map ( | ^ 1193| value: … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25: 127| # All services 128| allServices = lib.mapAttrs (_module_ident: instances: { | ^ 129| imports = [ … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13: 16| 17| grouped = lib.foldlAttrs ( | ^ 18| acc: instanceName: instance: … while calling 'foldlAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14: 795| foldlAttrs = 796| f: init: set: | ^ 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); … while calling the 'foldl'' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'attrNames' builtin at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54: 796| f: init: set: 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set); | ^ 798| … while calling the 'mapAttrs' builtin at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33: 32| 33| importedModuleWithInstances = lib.mapAttrs ( | ^ 34| instanceName: instance: … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15: 12| 13| inventory = clanConfig.inventory; | ^ 14| flakeInputs = clanConfig.self.inputs; … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17: 1194| mapAttrs ( 1195| name: value: | ^ 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85: 1195| name: value: 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | ^ 1197| ); … while calling anonymous lambda at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71: 281| # For definitions that have an associated option 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | ^ 283| … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7: 1147| // { 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 1149| inherit (res.defsFinal') highestPrio; … while evaluating the option `inventory': (12 duplicate frames omitted) … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix': … from call site at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80: 1200| } 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 1202| ) defs; … while calling 'dischargeProperties' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5: 1376| dischargeProperties = 1377| def: | ^ 1378| if def._type or "" == "merge" then … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5: 1377| def: 1378| if def._type or "" == "merge" then | ^ 1379| concatMap dischargeProperties def.contents … while evaluating the attribute 'value' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21: 849| inherit (module) file; 850| inherit value; | ^ 851| }) module.config … from call site at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19: 142| # Note: we use clanLib.fs here, so that we can override it in tests 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") { | ^ 144| imports = lib.mapAttrsToList (name: _t: { … while calling 'optionalAttrs' at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| … while evaluating a branch condition at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29: 1491| */ 1492| optionalAttrs = cond: as: if cond then as else { }; | ^ 1493| error: attribute 'clanLib' missing at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23: 48| 49| inherit (clan-core) clanLib; | ^ 50| 😢 2/27 successful error: Tests failed Eval check failed. To re-run this test: nix build .#legacyPackages.aarch64-linux.evalCheck-eval-lib-distributedServices