nixbot

builds

failed evalCheck-eval-lib-distributedServices checks.aarch64-linux.eval-tests · build #566 · raw

1warning: not writing modified lock file of flake 'path:/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source':2Updated input 'data-mesher':3 'https://git.clan.lol/api/v1/repos/clan/data-mesher/archive/644c49bbf121b3e256bc83ce10b5d97813d9181d.tar.gz?narHash=sha256-dCOb9YIJv9I2udjqukvjlGiTyOvGnO7zVbot0PxjBGk%3D' (2026-09-02)4 → 'path:/nix/store/4c5hlwazv87pvzj9ib2cq46cr90yrkl9-source?lastModified=1&narHash=sha256-dCOb9YIJv9I2udjqukvjlGiTyOvGnO7zVbot0PxjBGk%3D' (1970-01-01)5Updated input 'disko':6 'github:nix-community/disko/ff8702b4de27f72b4c78573dfb89ec74e36abdf1?narHash=sha256-RxWs5ND31KzTG7wvMM%2BPMfUjyNpmIEr999lqNARaM5o%3D' (2026-06-11)7 → 'path:/nix/store/w2c23ykc12mswlg8hrrjzb5gv9gvkzwq-source?lastModified=1&narHash=sha256-RxWs5ND31KzTG7wvMM%2BPMfUjyNpmIEr999lqNARaM5o%3D' (1970-01-01)8Updated input 'flake-parts':9 'github:hercules-ci/flake-parts/f16b25b8c3d2809b87925d0b76652d7821a75c68?narHash=sha256-lbrI1UYVpFgKSsyrU9oeF7FHfnu8nLD9ja0ou9f2rxk%3D' (2026-09-01)10 → 'path:/nix/store/36jisy9766m1lxhs62ms3brnv575673p-source?lastModified=1&narHash=sha256-lbrI1UYVpFgKSsyrU9oeF7FHfnu8nLD9ja0ou9f2rxk%3D' (1970-01-01)11Updated input 'nix-darwin':12 'github:nix-darwin/nix-darwin/4cff07de74b50e64bdd68cd4e722ab5b6b35ee48?narHash=sha256-oQFip%2Bv0luP8NIxJzmiW4Wu8bILsbFWom5l0zonl8hQ%3D' (2026-08-16)13 → 'path:/nix/store/8ggr67sci43hlp8ba6rhjrdhhj5490am-source?lastModified=1&narHash=sha256-oQFip%2Bv0luP8NIxJzmiW4Wu8bILsbFWom5l0zonl8hQ%3D' (1970-01-01)14Updated input 'nix-select':15 'https://git.clan.lol/api/v1/repos/clan/nix-select/archive/3d1e3860bef36857a01a2ddecba7cdb0a14c35a9.tar.gz?narHash=sha256-yxcNOha7Cfv2nhVpz9ZXSNKk0R7wt4AiBklJ8D24rVg%3D' (2025-11-16)16 → 'path:/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source?lastModified=1&narHash=sha256-yxcNOha7Cfv2nhVpz9ZXSNKk0R7wt4AiBklJ8D24rVg%3D' (1970-01-01)17Updated input 'nixpkgs':18 'https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1063758.e8be7818e19a/nixexprs.tar.xz?narHash=sha256-qeiZaY%2B0tpZXliRA9odCNx%2BsOfIOhnkcUq9t%2BctPrRA%3D' (2026-08-29)19 → 'path:/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source?lastModified=1&narHash=sha256-qeiZaY%2B0tpZXliRA9odCNx%2BsOfIOhnkcUq9t%2BctPrRA%3D' (1970-01-01)20Updated input 'sops-nix':21 'github:Mic92/sops-nix/fbf759290e0cb0a98dfc813a4eb7d53ad1dacb57?narHash=sha256-gkSH8VUtCo6hnysNmb9DbTuDepH2t5pv%2BQWjP75xKAk%3D' (2026-09-02)22 → 'path:/nix/store/lvnl7lflsi8gvn2b4pdjmyiwxvp6sn6m-source?lastModified=1&narHash=sha256-gkSH8VUtCo6hnysNmb9DbTuDepH2t5pv%2BQWjP75xKAk%3D' (1970-01-01)23Updated input 'systems':24 'github:nix-systems/default/c29398b59d2048c4ab79345812849c9bd15e9150?narHash=sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w%3D' (2026-03-25)25 → 'path:/nix/store/9m1jsz5b9ggmjij2vkmafnhn26g96jjn-source?lastModified=1&narHash=sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w%3D' (1970-01-01)26Updated input 'treefmt-nix':27 'github:numtide/treefmt-nix/27b3b12a8e6375f28ebe122f07d230ca5459bbfa?narHash=sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE%3D' (2026-08-16)28 → 'path:/nix/store/7sjy8935654h3220n5gbaclf5nfw4nzx-source?lastModified=1&narHash=sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE%3D' (1970-01-01)29☢️ api_feature_meta.test_default_resolves_meta30error:31 … from call site32 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/api_feature_meta.nix:56:13:33 55|34 56| service = res.config._services.allServices.self-A;35 | ^36 57| assertions = service.result.assertions;3738 … while calling anonymous lambda39 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:40 1194| mapAttrs (41 1195| name: value:42 | ^43 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value4445 … from call site46 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:47 1195| name: value:48 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value49 | ^50 1197| );5152 … while calling anonymous lambda53 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:54 281| # For definitions that have an associated option55 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;56 | ^57 283|5859 … while evaluating the attribute 'value'60 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:61 1147| // {62 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;63 | ^64 1149| inherit (res.defsFinal') highestPrio;6566 … while evaluating the option `_services.allServices':6768 … while evaluating the attribute 'mergedValue'69 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:70 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.71 1245| mergedValue =72 | ^73 1246| if isDefined then7475 … while evaluating a branch condition76 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:77 1245| mergedValue =78 1246| if isDefined then79 | ^80 1247| if type.merge ? v2 then8182 … while evaluating the attribute 'values'83 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:84 1238| {85 1239| values = defsSorted;86 | ^87 1240| inherit (defsFiltered) highestPrio;8889 … while evaluating a branch condition90 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:91 1209| # Avoid sorting if we don't have to.92 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then93 | ^94 1211| sortProperties defsFiltered.values9596 … while calling the 'any' builtin97 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:98 1209| # Avoid sorting if we don't have to.99 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then100 | ^101 1211| sortProperties defsFiltered.values102103 … from call site104 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:105 1204| # Process mkOverride properties.106 1205| defsFiltered = filterOverrides' defsNormalized;107 | ^108 1206|109110 … while calling anonymous lambda111 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:112 1422| in113 1423| defs:114 | ^115 1424| # Optimize for the singleton case, equivalent to the `else` clause.116117 … while evaluating a branch condition118 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:119 1424| # Optimize for the singleton case, equivalent to the `else` clause.120 1425| if length defs == 1 then121 | ^122 1426| {123124 … while calling the 'length' builtin125 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:126 1424| # Optimize for the singleton case, equivalent to the `else` clause.127 1425| if length defs == 1 then128 | ^129 1426| {130131 … while calling the 'concatMap' builtin132 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:133 1189| # Process mkMerge and mkIf properties.134 1190| defsNormalized = concatMap (135 | ^136 1191| m:137138 … while calling anonymous lambda139 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:140 1190| defsNormalized = concatMap (141 1191| m:142 | ^143 1192| map (144145 … while calling the 'map' builtin146 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:147 1191| m:148 1192| map (149 | ^150 1193| value:151152 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':153154 … from call site155 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:156 1200| }157 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))158 | ^159 1202| ) defs;160161 … while calling 'dischargeProperties'162 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:163 1376| dischargeProperties =164 1377| def:165 | ^166 1378| if def._type or "" == "merge" then167168 … while evaluating a branch condition169 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:170 1377| def:171 1378| if def._type or "" == "merge" then172 | ^173 1379| concatMap dischargeProperties def.contents174175 … while evaluating the attribute 'value'176 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:177 849| inherit (module) file;178 850| inherit value;179 | ^180 851| }) module.config181182 … while calling the 'mapAttrs' builtin183 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:184 127| # All services185 128| allServices = lib.mapAttrs (_module_ident: instances: {186 | ^187 129| imports = [188189 … from call site190 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:191 16|192 17| grouped = lib.foldlAttrs (193 | ^194 18| acc: instanceName: instance:195196 … while calling 'foldlAttrs'197 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:198 795| foldlAttrs =199 796| f: init: set:200 | ^201 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);202203 … while calling the 'foldl'' builtin204 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:205 796| f: init: set:206 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);207 | ^208 798|209210 … while calling the 'attrNames' builtin211 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:212 796| f: init: set:213 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);214 | ^215 798|216217 … while calling the 'mapAttrs' builtin218 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:219 32|220 33| importedModuleWithInstances = lib.mapAttrs (221 | ^222 34| instanceName: instance:223224 … from call site225 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:226 12|227 13| inventory = clanConfig.inventory;228 | ^229 14| flakeInputs = clanConfig.self.inputs;230231 … while calling anonymous lambda232 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:233 1194| mapAttrs (234 1195| name: value:235 | ^236 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value237238 … from call site239 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:240 1195| name: value:241 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value242 | ^243 1197| );244245 … while calling anonymous lambda246 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:247 281| # For definitions that have an associated option248 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;249 | ^250 283|251252 … while evaluating the attribute 'value'253 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:254 1147| // {255 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;256 | ^257 1149| inherit (res.defsFinal') highestPrio;258259 … while evaluating the option `inventory':260261 (12 duplicate frames omitted)262263 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':264265 … from call site266 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:267 1200| }268 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))269 | ^270 1202| ) defs;271272 … while calling 'dischargeProperties'273 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:274 1376| dischargeProperties =275 1377| def:276 | ^277 1378| if def._type or "" == "merge" then278279 … while evaluating a branch condition280 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:281 1377| def:282 1378| if def._type or "" == "merge" then283 | ^284 1379| concatMap dischargeProperties def.contents285286 … while evaluating the attribute 'value'287 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:288 849| inherit (module) file;289 850| inherit value;290 | ^291 851| }) module.config292293 … from call site294 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:295 142| # Note: we use clanLib.fs here, so that we can override it in tests296 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {297 | ^298 144| imports = lib.mapAttrsToList (name: _t: {299300 … while calling 'optionalAttrs'301 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:302 1491| */303 1492| optionalAttrs = cond: as: if cond then as else { };304 | ^305 1493|306307 … while evaluating a branch condition308 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:309 1491| */310 1492| optionalAttrs = cond: as: if cond then as else { };311 | ^312 1493|313314 error: attribute 'clanLib' missing315 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:316 48|317 49| inherit (clan-core) clanLib;318 | ^319 50|320321☢️ api_feature_meta.test_no_failing_assertion322error:323 … from call site324 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/api_feature_meta.nix:56:13:325 55|326 56| service = res.config._services.allServices.self-A;327 | ^328 57| assertions = service.result.assertions;329330 … while calling anonymous lambda331 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:332 1194| mapAttrs (333 1195| name: value:334 | ^335 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value336337 … from call site338 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:339 1195| name: value:340 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value341 | ^342 1197| );343344 … while calling anonymous lambda345 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:346 281| # For definitions that have an associated option347 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;348 | ^349 283|350351 … while evaluating the attribute 'value'352 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:353 1147| // {354 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;355 | ^356 1149| inherit (res.defsFinal') highestPrio;357358 … while evaluating the option `_services.allServices':359360 … while evaluating the attribute 'mergedValue'361 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:362 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.363 1245| mergedValue =364 | ^365 1246| if isDefined then366367 … while evaluating a branch condition368 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:369 1245| mergedValue =370 1246| if isDefined then371 | ^372 1247| if type.merge ? v2 then373374 … while evaluating the attribute 'values'375 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:376 1238| {377 1239| values = defsSorted;378 | ^379 1240| inherit (defsFiltered) highestPrio;380381 … while evaluating a branch condition382 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:383 1209| # Avoid sorting if we don't have to.384 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then385 | ^386 1211| sortProperties defsFiltered.values387388 … while calling the 'any' builtin389 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:390 1209| # Avoid sorting if we don't have to.391 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then392 | ^393 1211| sortProperties defsFiltered.values394395 … from call site396 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:397 1204| # Process mkOverride properties.398 1205| defsFiltered = filterOverrides' defsNormalized;399 | ^400 1206|401402 … while calling anonymous lambda403 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:404 1422| in405 1423| defs:406 | ^407 1424| # Optimize for the singleton case, equivalent to the `else` clause.408409 … while evaluating a branch condition410 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:411 1424| # Optimize for the singleton case, equivalent to the `else` clause.412 1425| if length defs == 1 then413 | ^414 1426| {415416 … while calling the 'length' builtin417 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:418 1424| # Optimize for the singleton case, equivalent to the `else` clause.419 1425| if length defs == 1 then420 | ^421 1426| {422423 … while calling the 'concatMap' builtin424 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:425 1189| # Process mkMerge and mkIf properties.426 1190| defsNormalized = concatMap (427 | ^428 1191| m:429430 … while calling anonymous lambda431 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:432 1190| defsNormalized = concatMap (433 1191| m:434 | ^435 1192| map (436437 … while calling the 'map' builtin438 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:439 1191| m:440 1192| map (441 | ^442 1193| value:443444 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':445446 … from call site447 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:448 1200| }449 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))450 | ^451 1202| ) defs;452453 … while calling 'dischargeProperties'454 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:455 1376| dischargeProperties =456 1377| def:457 | ^458 1378| if def._type or "" == "merge" then459460 … while evaluating a branch condition461 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:462 1377| def:463 1378| if def._type or "" == "merge" then464 | ^465 1379| concatMap dischargeProperties def.contents466467 … while evaluating the attribute 'value'468 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:469 849| inherit (module) file;470 850| inherit value;471 | ^472 851| }) module.config473474 … while calling the 'mapAttrs' builtin475 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:476 127| # All services477 128| allServices = lib.mapAttrs (_module_ident: instances: {478 | ^479 129| imports = [480481 … from call site482 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:483 16|484 17| grouped = lib.foldlAttrs (485 | ^486 18| acc: instanceName: instance:487488 … while calling 'foldlAttrs'489 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:490 795| foldlAttrs =491 796| f: init: set:492 | ^493 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);494495 … while calling the 'foldl'' builtin496 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:497 796| f: init: set:498 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);499 | ^500 798|501502 … while calling the 'attrNames' builtin503 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:504 796| f: init: set:505 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);506 | ^507 798|508509 … while calling the 'mapAttrs' builtin510 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:511 32|512 33| importedModuleWithInstances = lib.mapAttrs (513 | ^514 34| instanceName: instance:515516 … from call site517 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:518 12|519 13| inventory = clanConfig.inventory;520 | ^521 14| flakeInputs = clanConfig.self.inputs;522523 … while calling anonymous lambda524 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:525 1194| mapAttrs (526 1195| name: value:527 | ^528 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value529530 … from call site531 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:532 1195| name: value:533 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value534 | ^535 1197| );536537 … while calling anonymous lambda538 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:539 281| # For definitions that have an associated option540 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;541 | ^542 283|543544 … while evaluating the attribute 'value'545 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:546 1147| // {547 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;548 | ^549 1149| inherit (res.defsFinal') highestPrio;550551 … while evaluating the option `inventory':552553 (12 duplicate frames omitted)554555 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':556557 … from call site558 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:559 1200| }560 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))561 | ^562 1202| ) defs;563564 … while calling 'dischargeProperties'565 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:566 1376| dischargeProperties =567 1377| def:568 | ^569 1378| if def._type or "" == "merge" then570571 … while evaluating a branch condition572 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:573 1377| def:574 1378| if def._type or "" == "merge" then575 | ^576 1379| concatMap dischargeProperties def.contents577578 … while evaluating the attribute 'value'579 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:580 849| inherit (module) file;581 850| inherit value;582 | ^583 851| }) module.config584585 … from call site586 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:587 142| # Note: we use clanLib.fs here, so that we can override it in tests588 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {589 | ^590 144| imports = lib.mapAttrsToList (name: _t: {591592 … while calling 'optionalAttrs'593 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:594 1491| */595 1492| optionalAttrs = cond: as: if cond then as else { };596 | ^597 1493|598599 … while evaluating a branch condition600 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:601 1491| */602 1492| optionalAttrs = cond: as: if cond then as else { };603 | ^604 1493|605606 error: attribute 'clanLib' missing607 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:608 48|609 49| inherit (clan-core) clanLib;610 | ^611 50|612613☢️ api_feature_meta.test_schema_is_forceable614error:615 … from call site616 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/api_feature_meta.nix:56:13:617 55|618 56| service = res.config._services.allServices.self-A;619 | ^620 57| assertions = service.result.assertions;621622 … while calling anonymous lambda623 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:624 1194| mapAttrs (625 1195| name: value:626 | ^627 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value628629 … from call site630 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:631 1195| name: value:632 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value633 | ^634 1197| );635636 … while calling anonymous lambda637 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:638 281| # For definitions that have an associated option639 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;640 | ^641 283|642643 … while evaluating the attribute 'value'644 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:645 1147| // {646 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;647 | ^648 1149| inherit (res.defsFinal') highestPrio;649650 … while evaluating the option `_services.allServices':651652 … while evaluating the attribute 'mergedValue'653 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:654 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.655 1245| mergedValue =656 | ^657 1246| if isDefined then658659 … while evaluating a branch condition660 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:661 1245| mergedValue =662 1246| if isDefined then663 | ^664 1247| if type.merge ? v2 then665666 … while evaluating the attribute 'values'667 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:668 1238| {669 1239| values = defsSorted;670 | ^671 1240| inherit (defsFiltered) highestPrio;672673 … while evaluating a branch condition674 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:675 1209| # Avoid sorting if we don't have to.676 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then677 | ^678 1211| sortProperties defsFiltered.values679680 … while calling the 'any' builtin681 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:682 1209| # Avoid sorting if we don't have to.683 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then684 | ^685 1211| sortProperties defsFiltered.values686687 … from call site688 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:689 1204| # Process mkOverride properties.690 1205| defsFiltered = filterOverrides' defsNormalized;691 | ^692 1206|693694 … while calling anonymous lambda695 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:696 1422| in697 1423| defs:698 | ^699 1424| # Optimize for the singleton case, equivalent to the `else` clause.700701 … while evaluating a branch condition702 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:703 1424| # Optimize for the singleton case, equivalent to the `else` clause.704 1425| if length defs == 1 then705 | ^706 1426| {707708 … while calling the 'length' builtin709 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:710 1424| # Optimize for the singleton case, equivalent to the `else` clause.711 1425| if length defs == 1 then712 | ^713 1426| {714715 … while calling the 'concatMap' builtin716 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:717 1189| # Process mkMerge and mkIf properties.718 1190| defsNormalized = concatMap (719 | ^720 1191| m:721722 … while calling anonymous lambda723 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:724 1190| defsNormalized = concatMap (725 1191| m:726 | ^727 1192| map (728729 … while calling the 'map' builtin730 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:731 1191| m:732 1192| map (733 | ^734 1193| value:735736 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':737738 … from call site739 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:740 1200| }741 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))742 | ^743 1202| ) defs;744745 … while calling 'dischargeProperties'746 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:747 1376| dischargeProperties =748 1377| def:749 | ^750 1378| if def._type or "" == "merge" then751752 … while evaluating a branch condition753 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:754 1377| def:755 1378| if def._type or "" == "merge" then756 | ^757 1379| concatMap dischargeProperties def.contents758759 … while evaluating the attribute 'value'760 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:761 849| inherit (module) file;762 850| inherit value;763 | ^764 851| }) module.config765766 … while calling the 'mapAttrs' builtin767 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:768 127| # All services769 128| allServices = lib.mapAttrs (_module_ident: instances: {770 | ^771 129| imports = [772773 … from call site774 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:775 16|776 17| grouped = lib.foldlAttrs (777 | ^778 18| acc: instanceName: instance:779780 … while calling 'foldlAttrs'781 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:782 795| foldlAttrs =783 796| f: init: set:784 | ^785 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);786787 … while calling the 'foldl'' builtin788 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:789 796| f: init: set:790 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);791 | ^792 798|793794 … while calling the 'attrNames' builtin795 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:796 796| f: init: set:797 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);798 | ^799 798|800801 … while calling the 'mapAttrs' builtin802 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:803 32|804 33| importedModuleWithInstances = lib.mapAttrs (805 | ^806 34| instanceName: instance:807808 … from call site809 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:810 12|811 13| inventory = clanConfig.inventory;812 | ^813 14| flakeInputs = clanConfig.self.inputs;814815 … while calling anonymous lambda816 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:817 1194| mapAttrs (818 1195| name: value:819 | ^820 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value821822 … from call site823 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:824 1195| name: value:825 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value826 | ^827 1197| );828829 … while calling anonymous lambda830 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:831 281| # For definitions that have an associated option832 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;833 | ^834 283|835836 … while evaluating the attribute 'value'837 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:838 1147| // {839 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;840 | ^841 1149| inherit (res.defsFinal') highestPrio;842843 … while evaluating the option `inventory':844845 (12 duplicate frames omitted)846847 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':848849 … from call site850 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:851 1200| }852 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))853 | ^854 1202| ) defs;855856 … while calling 'dischargeProperties'857 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:858 1376| dischargeProperties =859 1377| def:860 | ^861 1378| if def._type or "" == "merge" then862863 … while evaluating a branch condition864 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:865 1377| def:866 1378| if def._type or "" == "merge" then867 | ^868 1379| concatMap dischargeProperties def.contents869870 … while evaluating the attribute 'value'871 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:872 849| inherit (module) file;873 850| inherit value;874 | ^875 851| }) module.config876877 … from call site878 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:879 142| # Note: we use clanLib.fs here, so that we can override it in tests880 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {881 | ^882 144| imports = lib.mapAttrsToList (name: _t: {883884 … while calling 'optionalAttrs'885 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:886 1491| */887 1492| optionalAttrs = cond: as: if cond then as else { };888 | ^889 1493|890891 … while evaluating a branch condition892 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:893 1491| */894 1492| optionalAttrs = cond: as: if cond then as else { };895 | ^896 1493|897898 error: attribute 'clanLib' missing899 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:900 48|901 49| inherit (clan-core) clanLib;902 | ^903 50|904905☢️ api_feature_meta.test_static_default_still_works906error:907 … from call site908 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/api_feature_meta.nix:93:18:909 92| };910 93| schemaNoMeta = resNoMeta.config._services.allServices.self-A.result.api.schema;911 | ^912 94| in913914 … while calling anonymous lambda915 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:916 1194| mapAttrs (917 1195| name: value:918 | ^919 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value920921 … from call site922 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:923 1195| name: value:924 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value925 | ^926 1197| );927928 … while calling anonymous lambda929 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:930 281| # For definitions that have an associated option931 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;932 | ^933 283|934935 … while evaluating the attribute 'value'936 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:937 1147| // {938 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;939 | ^940 1149| inherit (res.defsFinal') highestPrio;941942 … while evaluating the option `_services.allServices':943944 … while evaluating the attribute 'mergedValue'945 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:946 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.947 1245| mergedValue =948 | ^949 1246| if isDefined then950951 … while evaluating a branch condition952 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:953 1245| mergedValue =954 1246| if isDefined then955 | ^956 1247| if type.merge ? v2 then957958 … while evaluating the attribute 'values'959 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:960 1238| {961 1239| values = defsSorted;962 | ^963 1240| inherit (defsFiltered) highestPrio;964965 … while evaluating a branch condition966 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:967 1209| # Avoid sorting if we don't have to.968 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then969 | ^970 1211| sortProperties defsFiltered.values971972 … while calling the 'any' builtin973 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:974 1209| # Avoid sorting if we don't have to.975 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then976 | ^977 1211| sortProperties defsFiltered.values978979 … from call site980 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:981 1204| # Process mkOverride properties.982 1205| defsFiltered = filterOverrides' defsNormalized;983 | ^984 1206|985986 … while calling anonymous lambda987 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:988 1422| in989 1423| defs:990 | ^991 1424| # Optimize for the singleton case, equivalent to the `else` clause.992993 … while evaluating a branch condition994 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:995 1424| # Optimize for the singleton case, equivalent to the `else` clause.996 1425| if length defs == 1 then997 | ^998 1426| {9991000 … while calling the 'length' builtin1001 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:1002 1424| # Optimize for the singleton case, equivalent to the `else` clause.1003 1425| if length defs == 1 then1004 | ^1005 1426| {10061007 … while calling the 'concatMap' builtin1008 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:1009 1189| # Process mkMerge and mkIf properties.1010 1190| defsNormalized = concatMap (1011 | ^1012 1191| m:10131014 … while calling anonymous lambda1015 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:1016 1190| defsNormalized = concatMap (1017 1191| m:1018 | ^1019 1192| map (10201021 … while calling the 'map' builtin1022 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:1023 1191| m:1024 1192| map (1025 | ^1026 1193| value:10271028 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':10291030 … from call site1031 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:1032 1200| }1033 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1034 | ^1035 1202| ) defs;10361037 … while calling 'dischargeProperties'1038 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:1039 1376| dischargeProperties =1040 1377| def:1041 | ^1042 1378| if def._type or "" == "merge" then10431044 … while evaluating a branch condition1045 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:1046 1377| def:1047 1378| if def._type or "" == "merge" then1048 | ^1049 1379| concatMap dischargeProperties def.contents10501051 … while evaluating the attribute 'value'1052 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:1053 849| inherit (module) file;1054 850| inherit value;1055 | ^1056 851| }) module.config10571058 … while calling the 'mapAttrs' builtin1059 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:1060 127| # All services1061 128| allServices = lib.mapAttrs (_module_ident: instances: {1062 | ^1063 129| imports = [10641065 … from call site1066 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:1067 16|1068 17| grouped = lib.foldlAttrs (1069 | ^1070 18| acc: instanceName: instance:10711072 … while calling 'foldlAttrs'1073 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:1074 795| foldlAttrs =1075 796| f: init: set:1076 | ^1077 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);10781079 … while calling the 'foldl'' builtin1080 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:1081 796| f: init: set:1082 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1083 | ^1084 798|10851086 … while calling the 'attrNames' builtin1087 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:1088 796| f: init: set:1089 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1090 | ^1091 798|10921093 … while calling the 'mapAttrs' builtin1094 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:1095 32|1096 33| importedModuleWithInstances = lib.mapAttrs (1097 | ^1098 34| instanceName: instance:10991100 … from call site1101 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:1102 12|1103 13| inventory = clanConfig.inventory;1104 | ^1105 14| flakeInputs = clanConfig.self.inputs;11061107 … while calling anonymous lambda1108 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:1109 1194| mapAttrs (1110 1195| name: value:1111 | ^1112 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value11131114 … from call site1115 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:1116 1195| name: value:1117 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value1118 | ^1119 1197| );11201121 … while calling anonymous lambda1122 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:1123 281| # For definitions that have an associated option1124 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;1125 | ^1126 283|11271128 … while evaluating the attribute 'value'1129 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:1130 1147| // {1131 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;1132 | ^1133 1149| inherit (res.defsFinal') highestPrio;11341135 … while evaluating the option `inventory':11361137 (12 duplicate frames omitted)11381139 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':11401141 … from call site1142 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:1143 1200| }1144 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1145 | ^1146 1202| ) defs;11471148 … while calling 'dischargeProperties'1149 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:1150 1376| dischargeProperties =1151 1377| def:1152 | ^1153 1378| if def._type or "" == "merge" then11541155 … while evaluating a branch condition1156 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:1157 1377| def:1158 1378| if def._type or "" == "merge" then1159 | ^1160 1379| concatMap dischargeProperties def.contents11611162 … while evaluating the attribute 'value'1163 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:1164 849| inherit (module) file;1165 850| inherit value;1166 | ^1167 851| }) module.config11681169 … from call site1170 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:1171 142| # Note: we use clanLib.fs here, so that we can override it in tests1172 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {1173 | ^1174 144| imports = lib.mapAttrsToList (name: _t: {11751176 … while calling 'optionalAttrs'1177 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:1178 1491| */1179 1492| optionalAttrs = cond: as: if cond then as else { };1180 | ^1181 1493|11821183 … while evaluating a branch condition1184 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:1185 1491| */1186 1492| optionalAttrs = cond: as: if cond then as else { };1187 | ^1188 1493|11891190 error: attribute 'clanLib' missing1191 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:1192 48|1193 49| inherit (clan-core) clanLib;1194 | ^1195 50|11961197☢️ cli_checks.test_exact_machine_count_pass1198error:1199 … from call site1200 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/cli_checks.nix:182:14:1201 181| inherit res;1202 182| expr = res.config.clanInternals.cliChecks;1203 | ^1204 183| expected = [ ];12051206 … while calling anonymous lambda1207 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:1208 1194| mapAttrs (1209 1195| name: value:1210 | ^1211 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value12121213 … from call site1214 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:1215 1195| name: value:1216 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value1217 | ^1218 1197| );12191220 … while calling anonymous lambda1221 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:1222 281| # For definitions that have an associated option1223 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;1224 | ^1225 283|12261227 … while evaluating the attribute 'value'1228 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:1229 1147| // {1230 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;1231 | ^1232 1149| inherit (res.defsFinal') highestPrio;12331234 … while evaluating the option `clanInternals.cliChecks':12351236 … while evaluating the attribute 'mergedValue'1237 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:1238 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.1239 1245| mergedValue =1240 | ^1241 1246| if isDefined then12421243 … while evaluating a branch condition1244 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:1245 1245| mergedValue =1246 1246| if isDefined then1247 | ^1248 1247| if type.merge ? v2 then12491250 … while evaluating the attribute 'values'1251 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:1252 1238| {1253 1239| values = defsSorted;1254 | ^1255 1240| inherit (defsFiltered) highestPrio;12561257 … while evaluating a branch condition1258 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:1259 1209| # Avoid sorting if we don't have to.1260 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then1261 | ^1262 1211| sortProperties defsFiltered.values12631264 … while calling the 'any' builtin1265 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:1266 1209| # Avoid sorting if we don't have to.1267 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then1268 | ^1269 1211| sortProperties defsFiltered.values12701271 … from call site1272 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:1273 1204| # Process mkOverride properties.1274 1205| defsFiltered = filterOverrides' defsNormalized;1275 | ^1276 1206|12771278 … while calling anonymous lambda1279 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:1280 1422| in1281 1423| defs:1282 | ^1283 1424| # Optimize for the singleton case, equivalent to the `else` clause.12841285 … while evaluating a branch condition1286 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:1287 1424| # Optimize for the singleton case, equivalent to the `else` clause.1288 1425| if length defs == 1 then1289 | ^1290 1426| {12911292 … while calling the 'length' builtin1293 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:1294 1424| # Optimize for the singleton case, equivalent to the `else` clause.1295 1425| if length defs == 1 then1296 | ^1297 1426| {12981299 … while calling the 'concatMap' builtin1300 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:1301 1189| # Process mkMerge and mkIf properties.1302 1190| defsNormalized = concatMap (1303 | ^1304 1191| m:13051306 … while calling anonymous lambda1307 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:1308 1190| defsNormalized = concatMap (1309 1191| m:1310 | ^1311 1192| map (13121313 … while calling the 'map' builtin1314 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:1315 1191| m:1316 1192| map (1317 | ^1318 1193| value:13191320 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':13211322 … from call site1323 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:1324 1200| }1325 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1326 | ^1327 1202| ) defs;13281329 … while calling 'dischargeProperties'1330 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:1331 1376| dischargeProperties =1332 1377| def:1333 | ^1334 1378| if def._type or "" == "merge" then13351336 … while evaluating a branch condition1337 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:1338 1377| def:1339 1378| if def._type or "" == "merge" then1340 | ^1341 1379| concatMap dischargeProperties def.contents13421343 … while evaluating the attribute 'value'1344 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:1345 849| inherit (module) file;1346 850| inherit value;1347 | ^1348 851| }) module.config13491350 … while calling the 'concatMap' builtin1351 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:170:31:1352 169|1353 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1354 | ^1355 171| lib.attrValues config._services.allServices13561357 … while calling the 'attrValues' builtin1358 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:7:1359 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1360 171| lib.attrValues config._services.allServices1361 | ^1362 172| );13631364 … from call site1365 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:22:1366 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1367 171| lib.attrValues config._services.allServices1368 | ^1369 172| );13701371 … while calling anonymous lambda1372 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:1373 1194| mapAttrs (1374 1195| name: value:1375 | ^1376 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value13771378 … from call site1379 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:1380 1195| name: value:1381 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value1382 | ^1383 1197| );13841385 … while calling anonymous lambda1386 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:1387 281| # For definitions that have an associated option1388 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;1389 | ^1390 283|13911392 … while evaluating the attribute 'value'1393 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:1394 1147| // {1395 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;1396 | ^1397 1149| inherit (res.defsFinal') highestPrio;13981399 … while evaluating the option `_services.allServices':14001401 (17 duplicate frames omitted)14021403 … while calling the 'mapAttrs' builtin1404 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:1405 127| # All services1406 128| allServices = lib.mapAttrs (_module_ident: instances: {1407 | ^1408 129| imports = [14091410 … from call site1411 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:1412 16|1413 17| grouped = lib.foldlAttrs (1414 | ^1415 18| acc: instanceName: instance:14161417 … while calling 'foldlAttrs'1418 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:1419 795| foldlAttrs =1420 796| f: init: set:1421 | ^1422 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);14231424 … while calling the 'foldl'' builtin1425 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:1426 796| f: init: set:1427 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1428 | ^1429 798|14301431 … while calling the 'attrNames' builtin1432 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:1433 796| f: init: set:1434 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1435 | ^1436 798|14371438 … while calling the 'mapAttrs' builtin1439 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:1440 32|1441 33| importedModuleWithInstances = lib.mapAttrs (1442 | ^1443 34| instanceName: instance:14441445 … from call site1446 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:1447 12|1448 13| inventory = clanConfig.inventory;1449 | ^1450 14| flakeInputs = clanConfig.self.inputs;14511452 … while calling anonymous lambda1453 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:1454 1194| mapAttrs (1455 1195| name: value:1456 | ^1457 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value14581459 … from call site1460 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:1461 1195| name: value:1462 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value1463 | ^1464 1197| );14651466 … while calling anonymous lambda1467 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:1468 281| # For definitions that have an associated option1469 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;1470 | ^1471 283|14721473 … while evaluating the attribute 'value'1474 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:1475 1147| // {1476 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;1477 | ^1478 1149| inherit (res.defsFinal') highestPrio;14791480 … while evaluating the option `inventory':14811482 (12 duplicate frames omitted)14831484 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':14851486 … from call site1487 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:1488 1200| }1489 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1490 | ^1491 1202| ) defs;14921493 … while calling 'dischargeProperties'1494 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:1495 1376| dischargeProperties =1496 1377| def:1497 | ^1498 1378| if def._type or "" == "merge" then14991500 … while evaluating a branch condition1501 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:1502 1377| def:1503 1378| if def._type or "" == "merge" then1504 | ^1505 1379| concatMap dischargeProperties def.contents15061507 … while evaluating the attribute 'value'1508 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:1509 849| inherit (module) file;1510 850| inherit value;1511 | ^1512 851| }) module.config15131514 … from call site1515 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:1516 142| # Note: we use clanLib.fs here, so that we can override it in tests1517 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {1518 | ^1519 144| imports = lib.mapAttrsToList (name: _t: {15201521 … while calling 'optionalAttrs'1522 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:1523 1491| */1524 1492| optionalAttrs = cond: as: if cond then as else { };1525 | ^1526 1493|15271528 … while evaluating a branch condition1529 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:1530 1491| */1531 1492| optionalAttrs = cond: as: if cond then as else { };1532 | ^1533 1493|15341535 error: attribute 'clanLib' missing1536 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:1537 48|1538 49| inherit (clan-core) clanLib;1539 | ^1540 50|15411542☢️ cli_checks.test_maxInstances_fail1543error:1544 … from call site1545 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/cli_checks.nix:87:14:1546 86| inherit res;1547 87| expr = res.config.clanInternals.cliChecks;1548 | ^1549 88| expected = [15501551 … while calling anonymous lambda1552 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:1553 1194| mapAttrs (1554 1195| name: value:1555 | ^1556 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value15571558 … from call site1559 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:1560 1195| name: value:1561 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value1562 | ^1563 1197| );15641565 … while calling anonymous lambda1566 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:1567 281| # For definitions that have an associated option1568 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;1569 | ^1570 283|15711572 … while evaluating the attribute 'value'1573 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:1574 1147| // {1575 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;1576 | ^1577 1149| inherit (res.defsFinal') highestPrio;15781579 … while evaluating the option `clanInternals.cliChecks':15801581 … while evaluating the attribute 'mergedValue'1582 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:1583 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.1584 1245| mergedValue =1585 | ^1586 1246| if isDefined then15871588 … while evaluating a branch condition1589 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:1590 1245| mergedValue =1591 1246| if isDefined then1592 | ^1593 1247| if type.merge ? v2 then15941595 … while evaluating the attribute 'values'1596 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:1597 1238| {1598 1239| values = defsSorted;1599 | ^1600 1240| inherit (defsFiltered) highestPrio;16011602 … while evaluating a branch condition1603 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:1604 1209| # Avoid sorting if we don't have to.1605 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then1606 | ^1607 1211| sortProperties defsFiltered.values16081609 … while calling the 'any' builtin1610 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:1611 1209| # Avoid sorting if we don't have to.1612 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then1613 | ^1614 1211| sortProperties defsFiltered.values16151616 … from call site1617 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:1618 1204| # Process mkOverride properties.1619 1205| defsFiltered = filterOverrides' defsNormalized;1620 | ^1621 1206|16221623 … while calling anonymous lambda1624 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:1625 1422| in1626 1423| defs:1627 | ^1628 1424| # Optimize for the singleton case, equivalent to the `else` clause.16291630 … while evaluating a branch condition1631 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:1632 1424| # Optimize for the singleton case, equivalent to the `else` clause.1633 1425| if length defs == 1 then1634 | ^1635 1426| {16361637 … while calling the 'length' builtin1638 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:1639 1424| # Optimize for the singleton case, equivalent to the `else` clause.1640 1425| if length defs == 1 then1641 | ^1642 1426| {16431644 … while calling the 'concatMap' builtin1645 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:1646 1189| # Process mkMerge and mkIf properties.1647 1190| defsNormalized = concatMap (1648 | ^1649 1191| m:16501651 … while calling anonymous lambda1652 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:1653 1190| defsNormalized = concatMap (1654 1191| m:1655 | ^1656 1192| map (16571658 … while calling the 'map' builtin1659 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:1660 1191| m:1661 1192| map (1662 | ^1663 1193| value:16641665 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':16661667 … from call site1668 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:1669 1200| }1670 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1671 | ^1672 1202| ) defs;16731674 … while calling 'dischargeProperties'1675 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:1676 1376| dischargeProperties =1677 1377| def:1678 | ^1679 1378| if def._type or "" == "merge" then16801681 … while evaluating a branch condition1682 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:1683 1377| def:1684 1378| if def._type or "" == "merge" then1685 | ^1686 1379| concatMap dischargeProperties def.contents16871688 … while evaluating the attribute 'value'1689 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:1690 849| inherit (module) file;1691 850| inherit value;1692 | ^1693 851| }) module.config16941695 … while calling the 'concatMap' builtin1696 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:170:31:1697 169|1698 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1699 | ^1700 171| lib.attrValues config._services.allServices17011702 … while calling the 'attrValues' builtin1703 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:7:1704 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1705 171| lib.attrValues config._services.allServices1706 | ^1707 172| );17081709 … from call site1710 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:171:22:1711 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1712 171| lib.attrValues config._services.allServices1713 | ^1714 172| );17151716 … while calling anonymous lambda1717 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:1718 1194| mapAttrs (1719 1195| name: value:1720 | ^1721 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value17221723 … from call site1724 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:1725 1195| name: value:1726 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value1727 | ^1728 1197| );17291730 … while calling anonymous lambda1731 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:1732 281| # For definitions that have an associated option1733 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;1734 | ^1735 283|17361737 … while evaluating the attribute 'value'1738 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:1739 1147| // {1740 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;1741 | ^1742 1149| inherit (res.defsFinal') highestPrio;17431744 … while evaluating the option `_services.allServices':17451746 (17 duplicate frames omitted)17471748 … while calling the 'mapAttrs' builtin1749 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:1750 127| # All services1751 128| allServices = lib.mapAttrs (_module_ident: instances: {1752 | ^1753 129| imports = [17541755 … from call site1756 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:1757 16|1758 17| grouped = lib.foldlAttrs (1759 | ^1760 18| acc: instanceName: instance:17611762 … while calling 'foldlAttrs'1763 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:1764 795| foldlAttrs =1765 796| f: init: set:1766 | ^1767 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);17681769 … while calling the 'foldl'' builtin1770 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:1771 796| f: init: set:1772 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1773 | ^1774 798|17751776 … while calling the 'attrNames' builtin1777 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:1778 796| f: init: set:1779 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1780 | ^1781 798|17821783 … while calling the 'mapAttrs' builtin1784 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:1785 32|1786 33| importedModuleWithInstances = lib.mapAttrs (1787 | ^1788 34| instanceName: instance:17891790 … from call site1791 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:1792 12|1793 13| inventory = clanConfig.inventory;1794 | ^1795 14| flakeInputs = clanConfig.self.inputs;17961797 … while calling anonymous lambda1798 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:1799 1194| mapAttrs (1800 1195| name: value:1801 | ^1802 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value18031804 … from call site1805 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:1806 1195| name: value:1807 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value1808 | ^1809 1197| );18101811 … while calling anonymous lambda1812 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:1813 281| # For definitions that have an associated option1814 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;1815 | ^1816 283|18171818 … while evaluating the attribute 'value'1819 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:1820 1147| // {1821 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;1822 | ^1823 1149| inherit (res.defsFinal') highestPrio;18241825 … while evaluating the option `inventory':18261827 (12 duplicate frames omitted)18281829 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':18301831 … from call site1832 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:1833 1200| }1834 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1835 | ^1836 1202| ) defs;18371838 … while calling 'dischargeProperties'1839 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:1840 1376| dischargeProperties =1841 1377| def:1842 | ^1843 1378| if def._type or "" == "merge" then18441845 … while evaluating a branch condition1846 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:1847 1377| def:1848 1378| if def._type or "" == "merge" then1849 | ^1850 1379| concatMap dischargeProperties def.contents18511852 … while evaluating the attribute 'value'1853 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:1854 849| inherit (module) file;1855 850| inherit value;1856 | ^1857 851| }) module.config18581859 … from call site1860 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:1861 142| # Note: we use clanLib.fs here, so that we can override it in tests1862 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {1863 | ^1864 144| imports = lib.mapAttrsToList (name: _t: {18651866 … while calling 'optionalAttrs'1867 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:1868 1491| */1869 1492| optionalAttrs = cond: as: if cond then as else { };1870 | ^1871 1493|18721873 … while evaluating a branch condition1874 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:1875 1491| */1876 1492| optionalAttrs = cond: as: if cond then as else { };1877 | ^1878 1493|18791880 error: attribute 'clanLib' missing1881 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:1882 48|1883 49| inherit (clan-core) clanLib;1884 | ^1885 50|18861887☢️ cli_checks.test_maxInstances_pass1888error:1889 … from call site1890 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/cli_checks.nix:60:14:1891 59| inherit res;1892 60| expr = res.config.clanInternals.cliChecks;1893 | ^1894 61| expected = [ ];18951896 … while calling anonymous lambda1897 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:1898 1194| mapAttrs (1899 1195| name: value:1900 | ^1901 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value19021903 … from call site1904 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:1905 1195| name: value:1906 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value1907 | ^1908 1197| );19091910 … while calling anonymous lambda1911 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:1912 281| # For definitions that have an associated option1913 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;1914 | ^1915 283|19161917 … while evaluating the attribute 'value'1918 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:1919 1147| // {1920 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;1921 | ^1922 1149| inherit (res.defsFinal') highestPrio;19231924 … while evaluating the option `clanInternals.cliChecks':19251926 … while evaluating the attribute 'mergedValue'1927 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:1928 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.1929 1245| mergedValue =1930 | ^1931 1246| if isDefined then19321933 … while evaluating a branch condition1934 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:1935 1245| mergedValue =1936 1246| if isDefined then1937 | ^1938 1247| if type.merge ? v2 then19391940 … while evaluating the attribute 'values'1941 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:1942 1238| {1943 1239| values = defsSorted;1944 | ^1945 1240| inherit (defsFiltered) highestPrio;19461947 … while evaluating a branch condition1948 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:1949 1209| # Avoid sorting if we don't have to.1950 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then1951 | ^1952 1211| sortProperties defsFiltered.values19531954 … while calling the 'any' builtin1955 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:1956 1209| # Avoid sorting if we don't have to.1957 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then1958 | ^1959 1211| sortProperties defsFiltered.values19601961 … from call site1962 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:1963 1204| # Process mkOverride properties.1964 1205| defsFiltered = filterOverrides' defsNormalized;1965 | ^1966 1206|19671968 … while calling anonymous lambda1969 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:1970 1422| in1971 1423| defs:1972 | ^1973 1424| # Optimize for the singleton case, equivalent to the `else` clause.19741975 … while evaluating a branch condition1976 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:1977 1424| # Optimize for the singleton case, equivalent to the `else` clause.1978 1425| if length defs == 1 then1979 | ^1980 1426| {19811982 … while calling the 'length' builtin1983 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:1984 1424| # Optimize for the singleton case, equivalent to the `else` clause.1985 1425| if length defs == 1 then1986 | ^1987 1426| {19881989 … while calling the 'concatMap' builtin1990 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:1991 1189| # Process mkMerge and mkIf properties.1992 1190| defsNormalized = concatMap (1993 | ^1994 1191| m:19951996 … while calling anonymous lambda1997 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:1998 1190| defsNormalized = concatMap (1999 1191| m:2000 | ^4733 | ^4734 144| imports = lib.mapAttrsToList (name: _t: {47354736 … while calling 'optionalAttrs'4737 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:4738 1491| */4739 1492| optionalAttrs = cond: as: if cond then as else { };4740 | ^4741 1493|47424743 … while evaluating a branch condition4744 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:4745 1491| */4746 1492| optionalAttrs = cond: as: if cond then as else { };4747 | ^4748 1493|47494750 error: attribute 'clanLib' missing4751 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:4752 48|4753 49| inherit (clan-core) clanLib;4754 | ^4755 50|47564757☢️ resolve_module_spec.test_import_remote_module_by_name4758error:4759 … from call site4760 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/import_module_spec.nix:47:7:4761 46| expr =4762 47| (resolve {4763 | ^4764 48| name = "uzzi";47654766 … while calling anonymous lambda4767 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:4768 1194| mapAttrs (4769 1195| name: value:4770 | ^4771 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value47724773 … from call site4774 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:4775 1195| name: value:4776 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value4777 | ^4778 1197| );47794780 … while calling anonymous lambda4781 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:4782 281| # For definitions that have an associated option4783 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;4784 | ^4785 283|47864787 … while evaluating the attribute 'value'4788 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:4789 1147| // {4790 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;4791 | ^4792 1149| inherit (res.defsFinal') highestPrio;47934794 … while evaluating the option `_services.allServices':47954796 … while evaluating the attribute 'mergedValue'4797 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:4798 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.4799 1245| mergedValue =4800 | ^4801 1246| if isDefined then48024803 … while evaluating a branch condition4804 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:4805 1245| mergedValue =4806 1246| if isDefined then4807 | ^4808 1247| if type.merge ? v2 then48094810 … while evaluating the attribute 'values'4811 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:4812 1238| {4813 1239| values = defsSorted;4814 | ^4815 1240| inherit (defsFiltered) highestPrio;48164817 … while evaluating a branch condition4818 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:4819 1209| # Avoid sorting if we don't have to.4820 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then4821 | ^4822 1211| sortProperties defsFiltered.values48234824 … while calling the 'any' builtin4825 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:4826 1209| # Avoid sorting if we don't have to.4827 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then4828 | ^4829 1211| sortProperties defsFiltered.values48304831 … from call site4832 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:4833 1204| # Process mkOverride properties.4834 1205| defsFiltered = filterOverrides' defsNormalized;4835 | ^4836 1206|48374838 … while calling anonymous lambda4839 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:4840 1422| in4841 1423| defs:4842 | ^4843 1424| # Optimize for the singleton case, equivalent to the `else` clause.48444845 … while evaluating a branch condition4846 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:4847 1424| # Optimize for the singleton case, equivalent to the `else` clause.4848 1425| if length defs == 1 then4849 | ^4850 1426| {48514852 … while calling the 'length' builtin4853 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:4854 1424| # Optimize for the singleton case, equivalent to the `else` clause.4855 1425| if length defs == 1 then4856 | ^4857 1426| {48584859 … while calling the 'concatMap' builtin4860 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:4861 1189| # Process mkMerge and mkIf properties.4862 1190| defsNormalized = concatMap (4863 | ^4864 1191| m:48654866 … while calling anonymous lambda4867 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:4868 1190| defsNormalized = concatMap (4869 1191| m:4870 | ^4871 1192| map (48724873 … while calling the 'map' builtin4874 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:4875 1191| m:4876 1192| map (4877 | ^4878 1193| value:48794880 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':48814882 … from call site4883 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:4884 1200| }4885 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4886 | ^4887 1202| ) defs;48884889 … while calling 'dischargeProperties'4890 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:4891 1376| dischargeProperties =4892 1377| def:4893 | ^4894 1378| if def._type or "" == "merge" then48954896 … while evaluating a branch condition4897 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:4898 1377| def:4899 1378| if def._type or "" == "merge" then4900 | ^4901 1379| concatMap dischargeProperties def.contents49024903 … while evaluating the attribute 'value'4904 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:4905 849| inherit (module) file;4906 850| inherit value;4907 | ^4908 851| }) module.config49094910 … while calling the 'mapAttrs' builtin4911 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:4912 127| # All services4913 128| allServices = lib.mapAttrs (_module_ident: instances: {4914 | ^4915 129| imports = [49164917 … from call site4918 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:4919 16|4920 17| grouped = lib.foldlAttrs (4921 | ^4922 18| acc: instanceName: instance:49234924 … while calling 'foldlAttrs'4925 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:4926 795| foldlAttrs =4927 796| f: init: set:4928 | ^4929 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);49304931 … while calling the 'foldl'' builtin4932 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:4933 796| f: init: set:4934 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4935 | ^4936 798|49374938 … while calling the 'attrNames' builtin4939 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:4940 796| f: init: set:4941 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4942 | ^4943 798|49444945 … while calling the 'mapAttrs' builtin4946 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:4947 32|4948 33| importedModuleWithInstances = lib.mapAttrs (4949 | ^4950 34| instanceName: instance:49514952 … from call site4953 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:4954 12|4955 13| inventory = clanConfig.inventory;4956 | ^4957 14| flakeInputs = clanConfig.self.inputs;49584959 … while calling anonymous lambda4960 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:4961 1194| mapAttrs (4962 1195| name: value:4963 | ^4964 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value49654966 … from call site4967 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:4968 1195| name: value:4969 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value4970 | ^4971 1197| );49724973 … while calling anonymous lambda4974 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:4975 281| # For definitions that have an associated option4976 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;4977 | ^4978 283|49794980 … while evaluating the attribute 'value'4981 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:4982 1147| // {4983 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;4984 | ^4985 1149| inherit (res.defsFinal') highestPrio;49864987 … while evaluating the option `inventory':49884989 (12 duplicate frames omitted)49904991 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':49924993 … from call site4994 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:4995 1200| }4996 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4997 | ^4998 1202| ) defs;49995000 … while calling 'dischargeProperties'5001 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:5002 1376| dischargeProperties =5003 1377| def:5004 | ^5005 1378| if def._type or "" == "merge" then50065007 … while evaluating a branch condition5008 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:5009 1377| def:5010 1378| if def._type or "" == "merge" then5011 | ^5012 1379| concatMap dischargeProperties def.contents50135014 … while evaluating the attribute 'value'5015 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:5016 849| inherit (module) file;5017 850| inherit value;5018 | ^5019 851| }) module.config50205021 … from call site5022 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:5023 142| # Note: we use clanLib.fs here, so that we can override it in tests5024 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {5025 | ^5026 144| imports = lib.mapAttrsToList (name: _t: {50275028 … while calling 'optionalAttrs'5029 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:5030 1491| */5031 1492| optionalAttrs = cond: as: if cond then as else { };5032 | ^5033 1493|50345035 … while evaluating a branch condition5036 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:5037 1491| */5038 1492| optionalAttrs = cond: as: if cond then as else { };5039 | ^5040 1493|50415042 error: attribute 'clanLib' missing5043 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:5044 48|5045 49| inherit (clan-core) clanLib;5046 | ^5047 50|50485049☢️ settings.test_simple5050error:5051 … while calling the 'mapAttrs' builtin5052 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/settings.nix:60:17:5053 59|5054 60| mapSettings = lib.mapAttrs applySettings config.instances;5055 | ^5056 61| in50575058 … from call site5059 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/settings.nix:48:12:5060 47|5061 48| config = res.config._services.allServices.self-A;5062 | ^5063 49|50645065 … while calling anonymous lambda5066 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:5067 1194| mapAttrs (5068 1195| name: value:5069 | ^5070 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value50715072 … from call site5073 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:5074 1195| name: value:5075 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value5076 | ^5077 1197| );50785079 … while calling anonymous lambda5080 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:5081 281| # For definitions that have an associated option5082 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;5083 | ^5084 283|50855086 … while evaluating the attribute 'value'5087 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:5088 1147| // {5089 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;5090 | ^5091 1149| inherit (res.defsFinal') highestPrio;50925093 … while evaluating the option `_services.allServices':50945095 … while evaluating the attribute 'mergedValue'5096 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:5097 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.5098 1245| mergedValue =5099 | ^5100 1246| if isDefined then51015102 … while evaluating a branch condition5103 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:5104 1245| mergedValue =5105 1246| if isDefined then5106 | ^5107 1247| if type.merge ? v2 then51085109 … while evaluating the attribute 'values'5110 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:5111 1238| {5112 1239| values = defsSorted;5113 | ^5114 1240| inherit (defsFiltered) highestPrio;51155116 … while evaluating a branch condition5117 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:5118 1209| # Avoid sorting if we don't have to.5119 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then5120 | ^5121 1211| sortProperties defsFiltered.values51225123 … while calling the 'any' builtin5124 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:5125 1209| # Avoid sorting if we don't have to.5126 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then5127 | ^5128 1211| sortProperties defsFiltered.values51295130 … from call site5131 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:5132 1204| # Process mkOverride properties.5133 1205| defsFiltered = filterOverrides' defsNormalized;5134 | ^5135 1206|51365137 … while calling anonymous lambda5138 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:5139 1422| in5140 1423| defs:5141 | ^5142 1424| # Optimize for the singleton case, equivalent to the `else` clause.51435144 … while evaluating a branch condition5145 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:5146 1424| # Optimize for the singleton case, equivalent to the `else` clause.5147 1425| if length defs == 1 then5148 | ^5149 1426| {51505151 … while calling the 'length' builtin5152 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:5153 1424| # Optimize for the singleton case, equivalent to the `else` clause.5154 1425| if length defs == 1 then5155 | ^5156 1426| {51575158 … while calling the 'concatMap' builtin5159 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:5160 1189| # Process mkMerge and mkIf properties.5161 1190| defsNormalized = concatMap (5162 | ^5163 1191| m:51645165 … while calling anonymous lambda5166 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:5167 1190| defsNormalized = concatMap (5168 1191| m:5169 | ^5170 1192| map (51715172 … while calling the 'map' builtin5173 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:5174 1191| m:5175 1192| map (5176 | ^5177 1193| value:51785179 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':51805181 … from call site5182 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:5183 1200| }5184 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5185 | ^5186 1202| ) defs;51875188 … while calling 'dischargeProperties'5189 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:5190 1376| dischargeProperties =5191 1377| def:5192 | ^5193 1378| if def._type or "" == "merge" then51945195 … while evaluating a branch condition5196 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:5197 1377| def:5198 1378| if def._type or "" == "merge" then5199 | ^5200 1379| concatMap dischargeProperties def.contents52015202 … while evaluating the attribute 'value'5203 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:5204 849| inherit (module) file;5205 850| inherit value;5206 | ^5207 851| }) module.config52085209 … while calling the 'mapAttrs' builtin5210 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:5211 127| # All services5212 128| allServices = lib.mapAttrs (_module_ident: instances: {5213 | ^5214 129| imports = [52155216 … from call site5217 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:5218 16|5219 17| grouped = lib.foldlAttrs (5220 | ^5221 18| acc: instanceName: instance:52225223 … while calling 'foldlAttrs'5224 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:5225 795| foldlAttrs =5226 796| f: init: set:5227 | ^5228 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);52295230 … while calling the 'foldl'' builtin5231 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:5232 796| f: init: set:5233 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5234 | ^5235 798|52365237 … while calling the 'attrNames' builtin5238 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:5239 796| f: init: set:5240 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5241 | ^5242 798|52435244 … while calling the 'mapAttrs' builtin5245 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:5246 32|5247 33| importedModuleWithInstances = lib.mapAttrs (5248 | ^5249 34| instanceName: instance:52505251 … from call site5252 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:5253 12|5254 13| inventory = clanConfig.inventory;5255 | ^5256 14| flakeInputs = clanConfig.self.inputs;52575258 … while calling anonymous lambda5259 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:5260 1194| mapAttrs (5261 1195| name: value:5262 | ^5263 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value52645265 … from call site5266 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:5267 1195| name: value:5268 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value5269 | ^5270 1197| );52715272 … while calling anonymous lambda5273 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:5274 281| # For definitions that have an associated option5275 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;5276 | ^5277 283|52785279 … while evaluating the attribute 'value'5280 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:5281 1147| // {5282 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;5283 | ^5284 1149| inherit (res.defsFinal') highestPrio;52855286 … while evaluating the option `inventory':52875288 (12 duplicate frames omitted)52895290 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':52915292 … from call site5293 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:5294 1200| }5295 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5296 | ^5297 1202| ) defs;52985299 … while calling 'dischargeProperties'5300 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:5301 1376| dischargeProperties =5302 1377| def:5303 | ^5304 1378| if def._type or "" == "merge" then53055306 … while evaluating a branch condition5307 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:5308 1377| def:5309 1378| if def._type or "" == "merge" then5310 | ^5311 1379| concatMap dischargeProperties def.contents53125313 … while evaluating the attribute 'value'5314 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:5315 849| inherit (module) file;5316 850| inherit value;5317 | ^5318 851| }) module.config53195320 … from call site5321 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:5322 142| # Note: we use clanLib.fs here, so that we can override it in tests5323 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {5324 | ^5325 144| imports = lib.mapAttrsToList (name: _t: {53265327 … while calling 'optionalAttrs'5328 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:5329 1491| */5330 1492| optionalAttrs = cond: as: if cond then as else { };5331 | ^5332 1493|53335334 … while evaluating a branch condition5335 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:5336 1491| */5337 1492| optionalAttrs = cond: as: if cond then as else { };5338 | ^5339 1493|53405341 error: attribute 'clanLib' missing5342 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:5343 48|5344 49| inherit (clan-core) clanLib;5345 | ^5346 50|53475348☢️ settings.test_tag_settings5349error:5350 … while calling the 'mapAttrs' builtin5351 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/settings.nix:120:14:5352 119| };5353 120| map2 = lib.mapAttrs (5354 | ^5355 121| instanceName: instance:53565357 … from call site5358 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/settings.nix:129:16:5359 128| ) config.instances;5360 129| config = res2.config._services.allServices."self-B";5361 | ^5362 130| in53635364 … while calling anonymous lambda5365 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:5366 1194| mapAttrs (5367 1195| name: value:5368 | ^5369 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value53705371 … from call site5372 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:5373 1195| name: value:5374 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value5375 | ^5376 1197| );53775378 … while calling anonymous lambda5379 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:5380 281| # For definitions that have an associated option5381 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;5382 | ^5383 283|53845385 … while evaluating the attribute 'value'5386 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:5387 1147| // {5388 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;5389 | ^5390 1149| inherit (res.defsFinal') highestPrio;53915392 … while evaluating the option `_services.allServices':53935394 … while evaluating the attribute 'mergedValue'5395 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:5396 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.5397 1245| mergedValue =5398 | ^5399 1246| if isDefined then54005401 … while evaluating a branch condition5402 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:5403 1245| mergedValue =5404 1246| if isDefined then5405 | ^5406 1247| if type.merge ? v2 then54075408 … while evaluating the attribute 'values'5409 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:5410 1238| {5411 1239| values = defsSorted;5412 | ^5413 1240| inherit (defsFiltered) highestPrio;54145415 … while evaluating a branch condition5416 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:5417 1209| # Avoid sorting if we don't have to.5418 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then5419 | ^5420 1211| sortProperties defsFiltered.values54215422 … while calling the 'any' builtin5423 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:5424 1209| # Avoid sorting if we don't have to.5425 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then5426 | ^5427 1211| sortProperties defsFiltered.values54285429 … from call site5430 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:5431 1204| # Process mkOverride properties.5432 1205| defsFiltered = filterOverrides' defsNormalized;5433 | ^5434 1206|54355436 … while calling anonymous lambda5437 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:5438 1422| in5439 1423| defs:5440 | ^5441 1424| # Optimize for the singleton case, equivalent to the `else` clause.54425443 … while evaluating a branch condition5444 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:5445 1424| # Optimize for the singleton case, equivalent to the `else` clause.5446 1425| if length defs == 1 then5447 | ^5448 1426| {54495450 … while calling the 'length' builtin5451 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:5452 1424| # Optimize for the singleton case, equivalent to the `else` clause.5453 1425| if length defs == 1 then5454 | ^5455 1426| {54565457 … while calling the 'concatMap' builtin5458 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:5459 1189| # Process mkMerge and mkIf properties.5460 1190| defsNormalized = concatMap (5461 | ^5462 1191| m:54635464 … while calling anonymous lambda5465 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:5466 1190| defsNormalized = concatMap (5467 1191| m:5468 | ^5469 1192| map (54705471 … while calling the 'map' builtin5472 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:5473 1191| m:5474 1192| map (5475 | ^5476 1193| value:54775478 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':54795480 … from call site5481 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:5482 1200| }5483 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5484 | ^5485 1202| ) defs;54865487 … while calling 'dischargeProperties'5488 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:5489 1376| dischargeProperties =5490 1377| def:5491 | ^5492 1378| if def._type or "" == "merge" then54935494 … while evaluating a branch condition5495 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:5496 1377| def:5497 1378| if def._type or "" == "merge" then5498 | ^5499 1379| concatMap dischargeProperties def.contents55005501 … while evaluating the attribute 'value'5502 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:5503 849| inherit (module) file;5504 850| inherit value;5505 | ^5506 851| }) module.config55075508 … while calling the 'mapAttrs' builtin5509 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:5510 127| # All services5511 128| allServices = lib.mapAttrs (_module_ident: instances: {5512 | ^5513 129| imports = [55145515 … from call site5516 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:5517 16|5518 17| grouped = lib.foldlAttrs (5519 | ^5520 18| acc: instanceName: instance:55215522 … while calling 'foldlAttrs'5523 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:5524 795| foldlAttrs =5525 796| f: init: set:5526 | ^5527 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);55285529 … while calling the 'foldl'' builtin5530 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:5531 796| f: init: set:5532 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5533 | ^5534 798|55355536 … while calling the 'attrNames' builtin5537 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:5538 796| f: init: set:5539 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5540 | ^5541 798|55425543 … while calling the 'mapAttrs' builtin5544 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:5545 32|5546 33| importedModuleWithInstances = lib.mapAttrs (5547 | ^5548 34| instanceName: instance:55495550 … from call site5551 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:5552 12|5553 13| inventory = clanConfig.inventory;5554 | ^5555 14| flakeInputs = clanConfig.self.inputs;55565557 … while calling anonymous lambda5558 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:5559 1194| mapAttrs (5560 1195| name: value:5561 | ^5562 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value55635564 … from call site5565 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:5566 1195| name: value:5567 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value5568 | ^5569 1197| );55705571 … while calling anonymous lambda5572 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:5573 281| # For definitions that have an associated option5574 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;5575 | ^5576 283|55775578 … while evaluating the attribute 'value'5579 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:5580 1147| // {5581 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;5582 | ^5583 1149| inherit (res.defsFinal') highestPrio;55845585 … while evaluating the option `inventory':55865587 (12 duplicate frames omitted)55885589 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':55905591 … from call site5592 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:5593 1200| }5594 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5595 | ^5596 1202| ) defs;55975598 … while calling 'dischargeProperties'5599 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:5600 1376| dischargeProperties =5601 1377| def:5602 | ^5603 1378| if def._type or "" == "merge" then56045605 … while evaluating a branch condition5606 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:5607 1377| def:5608 1378| if def._type or "" == "merge" then5609 | ^5610 1379| concatMap dischargeProperties def.contents56115612 … while evaluating the attribute 'value'5613 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:5614 849| inherit (module) file;5615 850| inherit value;5616 | ^5617 851| }) module.config56185619 … from call site5620 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:5621 142| # Note: we use clanLib.fs here, so that we can override it in tests5622 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {5623 | ^5624 144| imports = lib.mapAttrsToList (name: _t: {56255626 … while calling 'optionalAttrs'5627 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:5628 1491| */5629 1492| optionalAttrs = cond: as: if cond then as else { };5630 | ^5631 1493|56325633 … while evaluating a branch condition5634 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:5635 1491| */5636 1492| optionalAttrs = cond: as: if cond then as else { };5637 | ^5638 1493|56395640 error: attribute 'clanLib' missing5641 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:5642 48|5643 49| inherit (clan-core) clanLib;5644 | ^5645 50|56465647☢️ specialArgs.test_simple5648error:5649 … while calling the 'attrNames' builtin5650 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/specialArgs.nix:31:17:5651 30|5652 31| specialArgs = lib.attrNames res.config._services.allServices.self-A.test.specialArgs;5653 | ^5654 32| in56555656 … from call site5657 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/specialArgs.nix:31:31:5658 30|5659 31| specialArgs = lib.attrNames res.config._services.allServices.self-A.test.specialArgs;5660 | ^5661 32| in56625663 … while calling anonymous lambda5664 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:5665 1194| mapAttrs (5666 1195| name: value:5667 | ^5668 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value56695670 … from call site5671 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:5672 1195| name: value:5673 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value5674 | ^5675 1197| );56765677 … while calling anonymous lambda5678 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:5679 281| # For definitions that have an associated option5680 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;5681 | ^5682 283|56835684 … while evaluating the attribute 'value'5685 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:5686 1147| // {5687 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;5688 | ^5689 1149| inherit (res.defsFinal') highestPrio;56905691 … while evaluating the option `_services.allServices':56925693 … while evaluating the attribute 'mergedValue'5694 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:5695 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.5696 1245| mergedValue =5697 | ^5698 1246| if isDefined then56995700 … while evaluating a branch condition5701 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:5702 1245| mergedValue =5703 1246| if isDefined then5704 | ^5705 1247| if type.merge ? v2 then57065707 … while evaluating the attribute 'values'5708 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:5709 1238| {5710 1239| values = defsSorted;5711 | ^5712 1240| inherit (defsFiltered) highestPrio;57135714 … while evaluating a branch condition5715 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:5716 1209| # Avoid sorting if we don't have to.5717 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then5718 | ^5719 1211| sortProperties defsFiltered.values57205721 … while calling the 'any' builtin5722 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:5723 1209| # Avoid sorting if we don't have to.5724 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then5725 | ^5726 1211| sortProperties defsFiltered.values57275728 … from call site5729 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:5730 1204| # Process mkOverride properties.5731 1205| defsFiltered = filterOverrides' defsNormalized;5732 | ^5733 1206|57345735 … while calling anonymous lambda5736 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:5737 1422| in5738 1423| defs:5739 | ^5740 1424| # Optimize for the singleton case, equivalent to the `else` clause.57415742 … while evaluating a branch condition5743 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:5744 1424| # Optimize for the singleton case, equivalent to the `else` clause.5745 1425| if length defs == 1 then5746 | ^5747 1426| {57485749 … while calling the 'length' builtin5750 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:5751 1424| # Optimize for the singleton case, equivalent to the `else` clause.5752 1425| if length defs == 1 then5753 | ^5754 1426| {57555756 … while calling the 'concatMap' builtin5757 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:5758 1189| # Process mkMerge and mkIf properties.5759 1190| defsNormalized = concatMap (5760 | ^5761 1191| m:57625763 … while calling anonymous lambda5764 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:5765 1190| defsNormalized = concatMap (5766 1191| m:5767 | ^5768 1192| map (57695770 … while calling the 'map' builtin5771 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:5772 1191| m:5773 1192| map (5774 | ^5775 1193| value:57765777 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':57785779 … from call site5780 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:5781 1200| }5782 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5783 | ^5784 1202| ) defs;57855786 … while calling 'dischargeProperties'5787 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:5788 1376| dischargeProperties =5789 1377| def:5790 | ^5791 1378| if def._type or "" == "merge" then57925793 … while evaluating a branch condition5794 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:5795 1377| def:5796 1378| if def._type or "" == "merge" then5797 | ^5798 1379| concatMap dischargeProperties def.contents57995800 … while evaluating the attribute 'value'5801 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:5802 849| inherit (module) file;5803 850| inherit value;5804 | ^5805 851| }) module.config58065807 … while calling the 'mapAttrs' builtin5808 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:5809 127| # All services5810 128| allServices = lib.mapAttrs (_module_ident: instances: {5811 | ^5812 129| imports = [58135814 … from call site5815 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:5816 16|5817 17| grouped = lib.foldlAttrs (5818 | ^5819 18| acc: instanceName: instance:58205821 … while calling 'foldlAttrs'5822 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:5823 795| foldlAttrs =5824 796| f: init: set:5825 | ^5826 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);58275828 … while calling the 'foldl'' builtin5829 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:5830 796| f: init: set:5831 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5832 | ^5833 798|58345835 … while calling the 'attrNames' builtin5836 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:5837 796| f: init: set:5838 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5839 | ^5840 798|58415842 … while calling the 'mapAttrs' builtin5843 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:5844 32|5845 33| importedModuleWithInstances = lib.mapAttrs (5846 | ^5847 34| instanceName: instance:58485849 … from call site5850 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:5851 12|5852 13| inventory = clanConfig.inventory;5853 | ^5854 14| flakeInputs = clanConfig.self.inputs;58555856 … while calling anonymous lambda5857 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:5858 1194| mapAttrs (5859 1195| name: value:5860 | ^5861 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value58625863 … from call site5864 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:5865 1195| name: value:5866 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value5867 | ^5868 1197| );58695870 … while calling anonymous lambda5871 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:5872 281| # For definitions that have an associated option5873 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;5874 | ^5875 283|58765877 … while evaluating the attribute 'value'5878 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:5879 1147| // {5880 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;5881 | ^5882 1149| inherit (res.defsFinal') highestPrio;58835884 … while evaluating the option `inventory':58855886 (12 duplicate frames omitted)58875888 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':58895890 … from call site5891 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:5892 1200| }5893 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5894 | ^5895 1202| ) defs;58965897 … while calling 'dischargeProperties'5898 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:5899 1376| dischargeProperties =5900 1377| def:5901 | ^5902 1378| if def._type or "" == "merge" then59035904 … while evaluating a branch condition5905 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:5906 1377| def:5907 1378| if def._type or "" == "merge" then5908 | ^5909 1379| concatMap dischargeProperties def.contents59105911 … while evaluating the attribute 'value'5912 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:5913 849| inherit (module) file;5914 850| inherit value;5915 | ^5916 851| }) module.config59175918 … from call site5919 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:5920 142| # Note: we use clanLib.fs here, so that we can override it in tests5921 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {5922 | ^5923 144| imports = lib.mapAttrsToList (name: _t: {59245925 … while calling 'optionalAttrs'5926 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:5927 1491| */5928 1492| optionalAttrs = cond: as: if cond then as else { };5929 | ^5930 1493|59315932 … while evaluating a branch condition5933 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:5934 1491| */5935 1492| optionalAttrs = cond: as: if cond then as else { };5936 | ^5937 1493|59385939 error: attribute 'clanLib' missing5940 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:5941 48|5942 49| inherit (clan-core) clanLib;5943 | ^5944 50|59455946☢️ test_add_machines_directly5947error:5948 … while calling the 'attrNames' builtin5949 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:275:14:5950 274| # We might change the attribute name in the future5951 275| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines;5952 | ^5953 276| expected = [59545955 … from call site5956 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:275:28:5957 274| # We might change the attribute name in the future5958 275| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines;5959 | ^5960 276| expected = [59615962 … while calling anonymous lambda5963 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:5964 1194| mapAttrs (5965 1195| name: value:5966 | ^5967 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value59685969 … from call site5970 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:5971 1195| name: value:5972 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value5973 | ^5974 1197| );59755976 … while calling anonymous lambda5977 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:5978 281| # For definitions that have an associated option5979 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;5980 | ^5981 283|59825983 … while evaluating the attribute 'value'5984 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:5985 1147| // {5986 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;5987 | ^5988 1149| inherit (res.defsFinal') highestPrio;59895990 … while evaluating the option `_services.allServices':59915992 … while evaluating the attribute 'mergedValue'5993 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:5994 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.5995 1245| mergedValue =5996 | ^5997 1246| if isDefined then59985999 … while evaluating a branch condition6000 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:6001 1245| mergedValue =6002 1246| if isDefined then6003 | ^6004 1247| if type.merge ? v2 then60056006 … while evaluating the attribute 'values'6007 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:6008 1238| {6009 1239| values = defsSorted;6010 | ^6011 1240| inherit (defsFiltered) highestPrio;60126013 … while evaluating a branch condition6014 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:6015 1209| # Avoid sorting if we don't have to.6016 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then6017 | ^6018 1211| sortProperties defsFiltered.values60196020 … while calling the 'any' builtin6021 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:6022 1209| # Avoid sorting if we don't have to.6023 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then6024 | ^6025 1211| sortProperties defsFiltered.values60266027 … from call site6028 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:6029 1204| # Process mkOverride properties.6030 1205| defsFiltered = filterOverrides' defsNormalized;6031 | ^6032 1206|60336034 … while calling anonymous lambda6035 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:6036 1422| in6037 1423| defs:6038 | ^6039 1424| # Optimize for the singleton case, equivalent to the `else` clause.60406041 … while evaluating a branch condition6042 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:6043 1424| # Optimize for the singleton case, equivalent to the `else` clause.6044 1425| if length defs == 1 then6045 | ^6046 1426| {60476048 … while calling the 'length' builtin6049 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:6050 1424| # Optimize for the singleton case, equivalent to the `else` clause.6051 1425| if length defs == 1 then6052 | ^6053 1426| {60546055 … while calling the 'concatMap' builtin6056 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:6057 1189| # Process mkMerge and mkIf properties.6058 1190| defsNormalized = concatMap (6059 | ^6060 1191| m:60616062 … while calling anonymous lambda6063 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:6064 1190| defsNormalized = concatMap (6065 1191| m:6066 | ^6067 1192| map (60686069 … while calling the 'map' builtin6070 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:6071 1191| m:6072 1192| map (6073 | ^6074 1193| value:60756076 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':60776078 … from call site6079 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:6080 1200| }6081 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6082 | ^6083 1202| ) defs;60846085 … while calling 'dischargeProperties'6086 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:6087 1376| dischargeProperties =6088 1377| def:6089 | ^6090 1378| if def._type or "" == "merge" then60916092 … while evaluating a branch condition6093 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:6094 1377| def:6095 1378| if def._type or "" == "merge" then6096 | ^6097 1379| concatMap dischargeProperties def.contents60986099 … while evaluating the attribute 'value'6100 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:6101 849| inherit (module) file;6102 850| inherit value;6103 | ^6104 851| }) module.config61056106 … while calling the 'mapAttrs' builtin6107 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:6108 127| # All services6109 128| allServices = lib.mapAttrs (_module_ident: instances: {6110 | ^6111 129| imports = [61126113 … from call site6114 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:6115 16|6116 17| grouped = lib.foldlAttrs (6117 | ^6118 18| acc: instanceName: instance:61196120 … while calling 'foldlAttrs'6121 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:6122 795| foldlAttrs =6123 796| f: init: set:6124 | ^6125 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);61266127 … while calling the 'foldl'' builtin6128 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:6129 796| f: init: set:6130 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6131 | ^6132 798|61336134 … while calling the 'attrNames' builtin6135 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:6136 796| f: init: set:6137 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6138 | ^6139 798|61406141 … while calling the 'mapAttrs' builtin6142 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:6143 32|6144 33| importedModuleWithInstances = lib.mapAttrs (6145 | ^6146 34| instanceName: instance:61476148 … from call site6149 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:6150 12|6151 13| inventory = clanConfig.inventory;6152 | ^6153 14| flakeInputs = clanConfig.self.inputs;61546155 … while calling anonymous lambda6156 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:6157 1194| mapAttrs (6158 1195| name: value:6159 | ^6160 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value61616162 … from call site6163 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:6164 1195| name: value:6165 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value6166 | ^6167 1197| );61686169 … while calling anonymous lambda6170 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:6171 281| # For definitions that have an associated option6172 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;6173 | ^6174 283|61756176 … while evaluating the attribute 'value'6177 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:6178 1147| // {6179 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;6180 | ^6181 1149| inherit (res.defsFinal') highestPrio;61826183 … while evaluating the option `inventory':61846185 (12 duplicate frames omitted)61866187 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':61886189 … from call site6190 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:6191 1200| }6192 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6193 | ^6194 1202| ) defs;61956196 … while calling 'dischargeProperties'6197 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:6198 1376| dischargeProperties =6199 1377| def:6200 | ^6201 1378| if def._type or "" == "merge" then62026203 … while evaluating a branch condition6204 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:6205 1377| def:6206 1378| if def._type or "" == "merge" then6207 | ^6208 1379| concatMap dischargeProperties def.contents62096210 … while evaluating the attribute 'value'6211 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:6212 849| inherit (module) file;6213 850| inherit value;6214 | ^6215 851| }) module.config62166217 … from call site6218 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:6219 142| # Note: we use clanLib.fs here, so that we can override it in tests6220 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {6221 | ^6222 144| imports = lib.mapAttrsToList (name: _t: {62236224 … while calling 'optionalAttrs'6225 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:6226 1491| */6227 1492| optionalAttrs = cond: as: if cond then as else { };6228 | ^6229 1493|62306231 … while evaluating a branch condition6232 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:6233 1491| */6234 1492| optionalAttrs = cond: as: if cond then as else { };6235 | ^6236 1493|62376238 error: attribute 'clanLib' missing6239 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:6240 48|6241 49| inherit (clan-core) clanLib;6242 | ^6243 50|62446245☢️ test_add_machines_via_tags6246error:6247 … while calling the 'attrNames' builtin6248 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:329:14:6249 328| # We might change the attribute name in the future6250 329| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines;6251 | ^6252 330| expected = [62536254 … from call site6255 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:329:28:6256 328| # We might change the attribute name in the future6257 329| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines;6258 | ^6259 330| expected = [62606261 … while calling anonymous lambda6262 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:6263 1194| mapAttrs (6264 1195| name: value:6265 | ^6266 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value62676268 … from call site6269 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:6270 1195| name: value:6271 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value6272 | ^6273 1197| );62746275 … while calling anonymous lambda6276 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:6277 281| # For definitions that have an associated option6278 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;6279 | ^6280 283|62816282 … while evaluating the attribute 'value'6283 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:6284 1147| // {6285 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;6286 | ^6287 1149| inherit (res.defsFinal') highestPrio;62886289 … while evaluating the option `_services.allServices':62906291 … while evaluating the attribute 'mergedValue'6292 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:6293 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.6294 1245| mergedValue =6295 | ^6296 1246| if isDefined then62976298 … while evaluating a branch condition6299 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:6300 1245| mergedValue =6301 1246| if isDefined then6302 | ^6303 1247| if type.merge ? v2 then63046305 … while evaluating the attribute 'values'6306 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:6307 1238| {6308 1239| values = defsSorted;6309 | ^6310 1240| inherit (defsFiltered) highestPrio;63116312 … while evaluating a branch condition6313 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:6314 1209| # Avoid sorting if we don't have to.6315 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then6316 | ^6317 1211| sortProperties defsFiltered.values63186319 … while calling the 'any' builtin6320 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:6321 1209| # Avoid sorting if we don't have to.6322 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then6323 | ^6324 1211| sortProperties defsFiltered.values63256326 … from call site6327 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:6328 1204| # Process mkOverride properties.6329 1205| defsFiltered = filterOverrides' defsNormalized;6330 | ^6331 1206|63326333 … while calling anonymous lambda6334 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:6335 1422| in6336 1423| defs:6337 | ^6338 1424| # Optimize for the singleton case, equivalent to the `else` clause.63396340 … while evaluating a branch condition6341 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:6342 1424| # Optimize for the singleton case, equivalent to the `else` clause.6343 1425| if length defs == 1 then6344 | ^6345 1426| {63466347 … while calling the 'length' builtin6348 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:6349 1424| # Optimize for the singleton case, equivalent to the `else` clause.6350 1425| if length defs == 1 then6351 | ^6352 1426| {63536354 … while calling the 'concatMap' builtin6355 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:6356 1189| # Process mkMerge and mkIf properties.6357 1190| defsNormalized = concatMap (6358 | ^6359 1191| m:63606361 … while calling anonymous lambda6362 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:6363 1190| defsNormalized = concatMap (6364 1191| m:6365 | ^6366 1192| map (63676368 … while calling the 'map' builtin6369 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:6370 1191| m:6371 1192| map (6372 | ^6373 1193| value:63746375 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':63766377 … from call site6378 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:6379 1200| }6380 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6381 | ^6382 1202| ) defs;63836384 … while calling 'dischargeProperties'6385 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:6386 1376| dischargeProperties =6387 1377| def:6388 | ^6389 1378| if def._type or "" == "merge" then63906391 … while evaluating a branch condition6392 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:6393 1377| def:6394 1378| if def._type or "" == "merge" then6395 | ^6396 1379| concatMap dischargeProperties def.contents63976398 … while evaluating the attribute 'value'6399 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:6400 849| inherit (module) file;6401 850| inherit value;6402 | ^6403 851| }) module.config64046405 … while calling the 'mapAttrs' builtin6406 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:6407 127| # All services6408 128| allServices = lib.mapAttrs (_module_ident: instances: {6409 | ^6410 129| imports = [64116412 … from call site6413 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:6414 16|6415 17| grouped = lib.foldlAttrs (6416 | ^6417 18| acc: instanceName: instance:64186419 … while calling 'foldlAttrs'6420 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:6421 795| foldlAttrs =6422 796| f: init: set:6423 | ^6424 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);64256426 … while calling the 'foldl'' builtin6427 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:6428 796| f: init: set:6429 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6430 | ^6431 798|64326433 … while calling the 'attrNames' builtin6434 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:6435 796| f: init: set:6436 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6437 | ^6438 798|64396440 … while calling the 'mapAttrs' builtin6441 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:6442 32|6443 33| importedModuleWithInstances = lib.mapAttrs (6444 | ^6445 34| instanceName: instance:64466447 … from call site6448 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:6449 12|6450 13| inventory = clanConfig.inventory;6451 | ^6452 14| flakeInputs = clanConfig.self.inputs;64536454 … while calling anonymous lambda6455 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:6456 1194| mapAttrs (6457 1195| name: value:6458 | ^6459 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value64606461 … from call site6462 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:6463 1195| name: value:6464 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value6465 | ^6466 1197| );64676468 … while calling anonymous lambda6469 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:6470 281| # For definitions that have an associated option6471 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;6472 | ^6473 283|64746475 … while evaluating the attribute 'value'6476 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:6477 1147| // {6478 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;6479 | ^6480 1149| inherit (res.defsFinal') highestPrio;64816482 … while evaluating the option `inventory':64836484 (12 duplicate frames omitted)64856486 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':64876488 … from call site6489 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:6490 1200| }6491 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6492 | ^6493 1202| ) defs;64946495 … while calling 'dischargeProperties'6496 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:6497 1376| dischargeProperties =6498 1377| def:6499 | ^6500 1378| if def._type or "" == "merge" then65016502 … while evaluating a branch condition6503 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:6504 1377| def:6505 1378| if def._type or "" == "merge" then6506 | ^6507 1379| concatMap dischargeProperties def.contents65086509 … while evaluating the attribute 'value'6510 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:6511 849| inherit (module) file;6512 850| inherit value;6513 | ^6514 851| }) module.config65156516 … from call site6517 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:6518 142| # Note: we use clanLib.fs here, so that we can override it in tests6519 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {6520 | ^6521 144| imports = lib.mapAttrsToList (name: _t: {65226523 … while calling 'optionalAttrs'6524 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:6525 1491| */6526 1492| optionalAttrs = cond: as: if cond then as else { };6527 | ^6528 1493|65296530 … while evaluating a branch condition6531 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:6532 1491| */6533 1492| optionalAttrs = cond: as: if cond then as else { };6534 | ^6535 1493|65366537 error: attribute 'clanLib' missing6538 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:6539 48|6540 49| inherit (clan-core) clanLib;6541 | ^6542 50|65436544☢️ test_creates_all_instances6545error:6546 … while calling the 'attrNames' builtin6547 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:217:14:6548 216| # We might change the attribute name in the future6549 217| expr = lib.attrNames res.config._services.allServices.self-A.instances;6550 | ^6551 218| expected = [65526553 … from call site6554 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:217:28:6555 216| # We might change the attribute name in the future6556 217| expr = lib.attrNames res.config._services.allServices.self-A.instances;6557 | ^6558 218| expected = [65596560 … while calling anonymous lambda6561 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:6562 1194| mapAttrs (6563 1195| name: value:6564 | ^6565 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value65666567 … from call site6568 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:6569 1195| name: value:6570 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value6571 | ^6572 1197| );65736574 … while calling anonymous lambda6575 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:6576 281| # For definitions that have an associated option6577 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;6578 | ^6579 283|65806581 … while evaluating the attribute 'value'6582 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:6583 1147| // {6584 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;6585 | ^6586 1149| inherit (res.defsFinal') highestPrio;65876588 … while evaluating the option `_services.allServices':65896590 … while evaluating the attribute 'mergedValue'6591 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:6592 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.6593 1245| mergedValue =6594 | ^6595 1246| if isDefined then65966597 … while evaluating a branch condition6598 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:6599 1245| mergedValue =6600 1246| if isDefined then6601 | ^6602 1247| if type.merge ? v2 then66036604 … while evaluating the attribute 'values'6605 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:6606 1238| {6607 1239| values = defsSorted;6608 | ^6609 1240| inherit (defsFiltered) highestPrio;66106611 … while evaluating a branch condition6612 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:6613 1209| # Avoid sorting if we don't have to.6614 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then6615 | ^6616 1211| sortProperties defsFiltered.values66176618 … while calling the 'any' builtin6619 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:6620 1209| # Avoid sorting if we don't have to.6621 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then6622 | ^6623 1211| sortProperties defsFiltered.values66246625 … from call site6626 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:6627 1204| # Process mkOverride properties.6628 1205| defsFiltered = filterOverrides' defsNormalized;6629 | ^6630 1206|66316632 … while calling anonymous lambda6633 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:6634 1422| in6635 1423| defs:6636 | ^6637 1424| # Optimize for the singleton case, equivalent to the `else` clause.66386639 … while evaluating a branch condition6640 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:6641 1424| # Optimize for the singleton case, equivalent to the `else` clause.6642 1425| if length defs == 1 then6643 | ^6644 1426| {66456646 … while calling the 'length' builtin6647 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:6648 1424| # Optimize for the singleton case, equivalent to the `else` clause.6649 1425| if length defs == 1 then6650 | ^6651 1426| {66526653 … while calling the 'concatMap' builtin6654 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:6655 1189| # Process mkMerge and mkIf properties.6656 1190| defsNormalized = concatMap (6657 | ^6658 1191| m:66596660 … while calling anonymous lambda6661 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:6662 1190| defsNormalized = concatMap (6663 1191| m:6664 | ^6665 1192| map (66666667 … while calling the 'map' builtin6668 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:6669 1191| m:6670 1192| map (6671 | ^6672 1193| value:66736674 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':66756676 … from call site6677 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:6678 1200| }6679 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6680 | ^6681 1202| ) defs;66826683 … while calling 'dischargeProperties'6684 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:6685 1376| dischargeProperties =6686 1377| def:6687 | ^6688 1378| if def._type or "" == "merge" then66896690 … while evaluating a branch condition6691 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:6692 1377| def:6693 1378| if def._type or "" == "merge" then6694 | ^6695 1379| concatMap dischargeProperties def.contents66966697 … while evaluating the attribute 'value'6698 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:6699 849| inherit (module) file;6700 850| inherit value;6701 | ^6702 851| }) module.config67036704 … while calling the 'mapAttrs' builtin6705 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:6706 127| # All services6707 128| allServices = lib.mapAttrs (_module_ident: instances: {6708 | ^6709 129| imports = [67106711 … from call site6712 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:6713 16|6714 17| grouped = lib.foldlAttrs (6715 | ^6716 18| acc: instanceName: instance:67176718 … while calling 'foldlAttrs'6719 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:6720 795| foldlAttrs =6721 796| f: init: set:6722 | ^6723 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);67246725 … while calling the 'foldl'' builtin6726 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:6727 796| f: init: set:6728 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6729 | ^6730 798|67316732 … while calling the 'attrNames' builtin6733 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:6734 796| f: init: set:6735 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6736 | ^6737 798|67386739 … while calling the 'mapAttrs' builtin6740 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:6741 32|6742 33| importedModuleWithInstances = lib.mapAttrs (6743 | ^6744 34| instanceName: instance:67456746 … from call site6747 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:6748 12|6749 13| inventory = clanConfig.inventory;6750 | ^6751 14| flakeInputs = clanConfig.self.inputs;67526753 … while calling anonymous lambda6754 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:6755 1194| mapAttrs (6756 1195| name: value:6757 | ^6758 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value67596760 … from call site6761 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:6762 1195| name: value:6763 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value6764 | ^6765 1197| );67666767 … while calling anonymous lambda6768 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:6769 281| # For definitions that have an associated option6770 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;6771 | ^6772 283|67736774 … while evaluating the attribute 'value'6775 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:6776 1147| // {6777 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;6778 | ^6779 1149| inherit (res.defsFinal') highestPrio;67806781 … while evaluating the option `inventory':67826783 (12 duplicate frames omitted)67846785 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':67866787 … from call site6788 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:6789 1200| }6790 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6791 | ^6792 1202| ) defs;67936794 … while calling 'dischargeProperties'6795 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:6796 1376| dischargeProperties =6797 1377| def:6798 | ^6799 1378| if def._type or "" == "merge" then68006801 … while evaluating a branch condition6802 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:6803 1377| def:6804 1378| if def._type or "" == "merge" then6805 | ^6806 1379| concatMap dischargeProperties def.contents68076808 … while evaluating the attribute 'value'6809 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:6810 849| inherit (module) file;6811 850| inherit value;6812 | ^6813 851| }) module.config68146815 … from call site6816 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:6817 142| # Note: we use clanLib.fs here, so that we can override it in tests6818 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {6819 | ^6820 144| imports = lib.mapAttrsToList (name: _t: {68216822 … while calling 'optionalAttrs'6823 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:6824 1491| */6825 1492| optionalAttrs = cond: as: if cond then as else { };6826 | ^6827 1493|68286829 … while evaluating a branch condition6830 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:6831 1491| */6832 1492| optionalAttrs = cond: as: if cond then as else { };6833 | ^6834 1493|68356836 error: attribute 'clanLib' missing6837 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:6838 48|6839 49| inherit (clan-core) clanLib;6840 | ^6841 50|68426843☢️ test_manifest_maintainers6844error:6845 … from call site6846 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:106:14:6847 105| {6848 106| expr = res.config._services.allServices.self-maintained-module.manifest.maintainers;6849 | ^6850 107| expected = [68516852 … while calling anonymous lambda6853 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:6854 1194| mapAttrs (6855 1195| name: value:6856 | ^6857 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value68586859 … from call site6860 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:6861 1195| name: value:6862 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value6863 | ^6864 1197| );68656866 … while calling anonymous lambda6867 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:6868 281| # For definitions that have an associated option6869 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;6870 | ^6871 283|68726873 … while evaluating the attribute 'value'6874 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:6875 1147| // {6876 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;6877 | ^6878 1149| inherit (res.defsFinal') highestPrio;68796880 … while evaluating the option `_services.allServices':68816882 … while evaluating the attribute 'mergedValue'6883 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:6884 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.6885 1245| mergedValue =6886 | ^6887 1246| if isDefined then68886889 … while evaluating a branch condition6890 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:6891 1245| mergedValue =6892 1246| if isDefined then6893 | ^6894 1247| if type.merge ? v2 then68956896 … while evaluating the attribute 'values'6897 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:6898 1238| {6899 1239| values = defsSorted;6900 | ^6901 1240| inherit (defsFiltered) highestPrio;69026903 … while evaluating a branch condition6904 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:6905 1209| # Avoid sorting if we don't have to.6906 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then6907 | ^6908 1211| sortProperties defsFiltered.values69096910 … while calling the 'any' builtin6911 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:6912 1209| # Avoid sorting if we don't have to.6913 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then6914 | ^6915 1211| sortProperties defsFiltered.values69166917 … from call site6918 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:6919 1204| # Process mkOverride properties.6920 1205| defsFiltered = filterOverrides' defsNormalized;6921 | ^6922 1206|69236924 … while calling anonymous lambda6925 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:6926 1422| in6927 1423| defs:6928 | ^6929 1424| # Optimize for the singleton case, equivalent to the `else` clause.69306931 … while evaluating a branch condition6932 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:6933 1424| # Optimize for the singleton case, equivalent to the `else` clause.6934 1425| if length defs == 1 then6935 | ^6936 1426| {69376938 … while calling the 'length' builtin6939 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:6940 1424| # Optimize for the singleton case, equivalent to the `else` clause.6941 1425| if length defs == 1 then6942 | ^6943 1426| {69446945 … while calling the 'concatMap' builtin6946 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:6947 1189| # Process mkMerge and mkIf properties.6948 1190| defsNormalized = concatMap (6949 | ^6950 1191| m:69516952 … while calling anonymous lambda6953 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:6954 1190| defsNormalized = concatMap (6955 1191| m:6956 | ^6957 1192| map (69586959 … while calling the 'map' builtin6960 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:6961 1191| m:6962 1192| map (6963 | ^6964 1193| value:69656966 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':69676968 … from call site6969 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:6970 1200| }6971 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6972 | ^6973 1202| ) defs;69746975 … while calling 'dischargeProperties'6976 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:6977 1376| dischargeProperties =6978 1377| def:6979 | ^6980 1378| if def._type or "" == "merge" then69816982 … while evaluating a branch condition6983 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:6984 1377| def:6985 1378| if def._type or "" == "merge" then6986 | ^6987 1379| concatMap dischargeProperties def.contents69886989 … while evaluating the attribute 'value'6990 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:6991 849| inherit (module) file;6992 850| inherit value;6993 | ^6994 851| }) module.config69956996 … while calling the 'mapAttrs' builtin6997 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:6998 127| # All services6999 128| allServices = lib.mapAttrs (_module_ident: instances: {7000 | ^7001 129| imports = [70027003 … from call site7004 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:7005 16|7006 17| grouped = lib.foldlAttrs (7007 | ^7008 18| acc: instanceName: instance:70097010 … while calling 'foldlAttrs'7011 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:7012 795| foldlAttrs =7013 796| f: init: set:7014 | ^7015 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);70167017 … while calling the 'foldl'' builtin7018 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:7019 796| f: init: set:7020 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);7021 | ^7022 798|70237024 … while calling the 'attrNames' builtin7025 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:7026 796| f: init: set:7027 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);7028 | ^7029 798|70307031 … while calling the 'mapAttrs' builtin7032 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:7033 32|7034 33| importedModuleWithInstances = lib.mapAttrs (7035 | ^7036 34| instanceName: instance:70377038 … from call site7039 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:7040 12|7041 13| inventory = clanConfig.inventory;7042 | ^7043 14| flakeInputs = clanConfig.self.inputs;70447045 … while calling anonymous lambda7046 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:7047 1194| mapAttrs (7048 1195| name: value:7049 | ^7050 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value70517052 … from call site7053 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:7054 1195| name: value:7055 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value7056 | ^7057 1197| );70587059 … while calling anonymous lambda7060 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:7061 281| # For definitions that have an associated option7062 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;7063 | ^7064 283|70657066 … while evaluating the attribute 'value'7067 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:7068 1147| // {7069 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;7070 | ^7071 1149| inherit (res.defsFinal') highestPrio;70727073 … while evaluating the option `inventory':70747075 (12 duplicate frames omitted)70767077 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':70787079 … from call site7080 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:7081 1200| }7082 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))7083 | ^7084 1202| ) defs;70857086 … while calling 'dischargeProperties'7087 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:7088 1376| dischargeProperties =7089 1377| def:7090 | ^7091 1378| if def._type or "" == "merge" then70927093 … while evaluating a branch condition7094 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:7095 1377| def:7096 1378| if def._type or "" == "merge" then7097 | ^7098 1379| concatMap dischargeProperties def.contents70997100 … while evaluating the attribute 'value'7101 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:7102 849| inherit (module) file;7103 850| inherit value;7104 | ^7105 851| }) module.config71067107 … from call site7108 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:7109 142| # Note: we use clanLib.fs here, so that we can override it in tests7110 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {7111 | ^7112 144| imports = lib.mapAttrsToList (name: _t: {71137114 … while calling 'optionalAttrs'7115 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:7116 1491| */7117 1492| optionalAttrs = cond: as: if cond then as else { };7118 | ^7119 1493|71207121 … while evaluating a branch condition7122 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:7123 1491| */7124 1492| optionalAttrs = cond: as: if cond then as else { };7125 | ^7126 1493|71277128 error: attribute 'clanLib' missing7129 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:7130 48|7131 49| inherit (clan-core) clanLib;7132 | ^7133 50|71347135☢️ test_module_grouping7136error:7137 … while calling the 'attrNames' builtin7138 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:171:14:7139 170| # We might change the attribute name in the future7140 171| expr = lib.attrNames res.config._services.allServices;7141 | ^7142 172| expected = [71437144 … from call site7145 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:171:28:7146 170| # We might change the attribute name in the future7147 171| expr = lib.attrNames res.config._services.allServices;7148 | ^7149 172| expected = [71507151 … while calling anonymous lambda7152 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:7153 1194| mapAttrs (7154 1195| name: value:7155 | ^7156 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value71577158 … from call site7159 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:7160 1195| name: value:7161 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value7162 | ^7163 1197| );71647165 … while calling anonymous lambda7166 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:7167 281| # For definitions that have an associated option7168 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;7169 | ^7170 283|71717172 … while evaluating the attribute 'value'7173 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:7174 1147| // {7175 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;7176 | ^7177 1149| inherit (res.defsFinal') highestPrio;71787179 … while evaluating the option `_services.allServices':71807181 … while evaluating the attribute 'mergedValue'7182 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:7183 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.7184 1245| mergedValue =7185 | ^7186 1246| if isDefined then71877188 … while evaluating a branch condition7189 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:7190 1245| mergedValue =7191 1246| if isDefined then7192 | ^7193 1247| if type.merge ? v2 then71947195 … while evaluating the attribute 'values'7196 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:7197 1238| {7198 1239| values = defsSorted;7199 | ^7200 1240| inherit (defsFiltered) highestPrio;72017202 … while evaluating a branch condition7203 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:7204 1209| # Avoid sorting if we don't have to.7205 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then7206 | ^7207 1211| sortProperties defsFiltered.values72087209 … while calling the 'any' builtin7210 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:7211 1209| # Avoid sorting if we don't have to.7212 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then7213 | ^7214 1211| sortProperties defsFiltered.values72157216 … from call site7217 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:7218 1204| # Process mkOverride properties.7219 1205| defsFiltered = filterOverrides' defsNormalized;7220 | ^7221 1206|72227223 … while calling anonymous lambda7224 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:7225 1422| in7226 1423| defs:7227 | ^7228 1424| # Optimize for the singleton case, equivalent to the `else` clause.72297230 … while evaluating a branch condition7231 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:7232 1424| # Optimize for the singleton case, equivalent to the `else` clause.7233 1425| if length defs == 1 then7234 | ^7235 1426| {72367237 … while calling the 'length' builtin7238 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:7239 1424| # Optimize for the singleton case, equivalent to the `else` clause.7240 1425| if length defs == 1 then7241 | ^7242 1426| {72437244 … while calling the 'concatMap' builtin7245 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:7246 1189| # Process mkMerge and mkIf properties.7247 1190| defsNormalized = concatMap (7248 | ^7249 1191| m:72507251 … while calling anonymous lambda7252 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:7253 1190| defsNormalized = concatMap (7254 1191| m:7255 | ^7256 1192| map (72577258 … while calling the 'map' builtin7259 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:7260 1191| m:7261 1192| map (7262 | ^7263 1193| value:72647265 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':72667267 … from call site7268 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:7269 1200| }7270 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))7271 | ^7272 1202| ) defs;72737274 … while calling 'dischargeProperties'7275 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:7276 1376| dischargeProperties =7277 1377| def:7278 | ^7279 1378| if def._type or "" == "merge" then72807281 … while evaluating a branch condition7282 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:7283 1377| def:7284 1378| if def._type or "" == "merge" then7285 | ^7286 1379| concatMap dischargeProperties def.contents72877288 … while evaluating the attribute 'value'7289 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:7290 849| inherit (module) file;7291 850| inherit value;7292 | ^7293 851| }) module.config72947295 … while calling the 'mapAttrs' builtin7296 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:7297 127| # All services7298 128| allServices = lib.mapAttrs (_module_ident: instances: {7299 | ^7300 129| imports = [73017302 … from call site7303 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:7304 16|7305 17| grouped = lib.foldlAttrs (7306 | ^7307 18| acc: instanceName: instance:73087309 … while calling 'foldlAttrs'7310 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:7311 795| foldlAttrs =7312 796| f: init: set:7313 | ^7314 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);73157316 … while calling the 'foldl'' builtin7317 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:7318 796| f: init: set:7319 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);7320 | ^7321 798|73227323 … while calling the 'attrNames' builtin7324 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:7325 796| f: init: set:7326 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);7327 | ^7328 798|73297330 … while calling the 'mapAttrs' builtin7331 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:7332 32|7333 33| importedModuleWithInstances = lib.mapAttrs (7334 | ^7335 34| instanceName: instance:73367337 … from call site7338 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:7339 12|7340 13| inventory = clanConfig.inventory;7341 | ^7342 14| flakeInputs = clanConfig.self.inputs;73437344 … while calling anonymous lambda7345 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:7346 1194| mapAttrs (7347 1195| name: value:7348 | ^7349 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value73507351 … from call site7352 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:7353 1195| name: value:7354 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value7355 | ^7356 1197| );73577358 … while calling anonymous lambda7359 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:7360 281| # For definitions that have an associated option7361 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;7362 | ^7363 283|73647365 … while evaluating the attribute 'value'7366 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:7367 1147| // {7368 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;7369 | ^7370 1149| inherit (res.defsFinal') highestPrio;73717372 … while evaluating the option `inventory':73737374 (12 duplicate frames omitted)73757376 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':73777378 … from call site7379 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:7380 1200| }7381 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))7382 | ^7383 1202| ) defs;73847385 … while calling 'dischargeProperties'7386 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:7387 1376| dischargeProperties =7388 1377| def:7389 | ^7390 1378| if def._type or "" == "merge" then73917392 … while evaluating a branch condition7393 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:7394 1377| def:7395 1378| if def._type or "" == "merge" then7396 | ^7397 1379| concatMap dischargeProperties def.contents73987399 … while evaluating the attribute 'value'7400 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:7401 849| inherit (module) file;7402 850| inherit value;7403 | ^7404 851| }) module.config74057406 … from call site7407 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:7408 142| # Note: we use clanLib.fs here, so that we can override it in tests7409 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {7410 | ^7411 144| imports = lib.mapAttrsToList (name: _t: {74127413 … while calling 'optionalAttrs'7414 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:7415 1491| */7416 1492| optionalAttrs = cond: as: if cond then as else { };7417 | ^7418 1493|74197420 … while evaluating a branch condition7421 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:7422 1491| */7423 1492| optionalAttrs = cond: as: if cond then as else { };7424 | ^7425 1493|74267427 error: attribute 'clanLib' missing7428 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:7429 48|7430 49| inherit (clan-core) clanLib;7431 | ^7432 50|74337434☢️ test_simple7435error:7436 … from call site7437 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/lib/inventory/distributed-service/tests/default.nix:74:14:7438 73| # We might change the attribute name in the future7439 74| expr = res.config._services.allServices ? "<clan-core>-simple-module";7440 | ^7441 75| expected = true;74427443 … while calling anonymous lambda7444 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:7445 1194| mapAttrs (7446 1195| name: value:7447 | ^7448 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value74497450 … from call site7451 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:7452 1195| name: value:7453 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value7454 | ^7455 1197| );74567457 … while calling anonymous lambda7458 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:7459 281| # For definitions that have an associated option7460 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;7461 | ^7462 283|74637464 … while evaluating the attribute 'value'7465 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:7466 1147| // {7467 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;7468 | ^7469 1149| inherit (res.defsFinal') highestPrio;74707471 … while evaluating the option `_services.allServices':74727473 … while evaluating the attribute 'mergedValue'7474 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1245:5:7475 1244| # Type-check the remaining definitions, and merge them. Or throw if no definitions.7476 1245| mergedValue =7477 | ^7478 1246| if isDefined then74797480 … while evaluating a branch condition7481 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1246:7:7482 1245| mergedValue =7483 1246| if isDefined then7484 | ^7485 1247| if type.merge ? v2 then74867487 … while evaluating the attribute 'values'7488 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1239:11:7489 1238| {7490 1239| values = defsSorted;7491 | ^7492 1240| inherit (defsFiltered) highestPrio;74937494 … while evaluating a branch condition7495 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:11:7496 1209| # Avoid sorting if we don't have to.7497 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then7498 | ^7499 1211| sortProperties defsFiltered.values75007501 … while calling the 'any' builtin7502 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1210:14:7503 1209| # Avoid sorting if we don't have to.7504 1210| if any (def: def.value._type or "" == "order") defsFiltered.values then7505 | ^7506 1211| sortProperties defsFiltered.values75077508 … from call site7509 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1205:24:7510 1204| # Process mkOverride properties.7511 1205| defsFiltered = filterOverrides' defsNormalized;7512 | ^7513 1206|75147515 … while calling anonymous lambda7516 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1423:5:7517 1422| in7518 1423| defs:7519 | ^7520 1424| # Optimize for the singleton case, equivalent to the `else` clause.75217522 … while evaluating a branch condition7523 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:5:7524 1424| # Optimize for the singleton case, equivalent to the `else` clause.7525 1425| if length defs == 1 then7526 | ^7527 1426| {75287529 … while calling the 'length' builtin7530 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1425:8:7531 1424| # Optimize for the singleton case, equivalent to the `else` clause.7532 1425| if length defs == 1 then7533 | ^7534 1426| {75357536 … while calling the 'concatMap' builtin7537 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1190:26:7538 1189| # Process mkMerge and mkIf properties.7539 1190| defsNormalized = concatMap (7540 | ^7541 1191| m:75427543 … while calling anonymous lambda7544 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1191:11:7545 1190| defsNormalized = concatMap (7546 1191| m:7547 | ^7548 1192| map (75497550 … while calling the 'map' builtin7551 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1192:11:7552 1191| m:7553 1192| map (7554 | ^7555 1193| value:75567557 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix':75587559 … from call site7560 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:7561 1200| }7562 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))7563 | ^7564 1202| ) defs;75657566 … while calling 'dischargeProperties'7567 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:7568 1376| dischargeProperties =7569 1377| def:7570 | ^7571 1378| if def._type or "" == "merge" then75727573 … while evaluating a branch condition7574 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:7575 1377| def:7576 1378| if def._type or "" == "merge" then7577 | ^7578 1379| concatMap dischargeProperties def.contents75797580 … while evaluating the attribute 'value'7581 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:7582 849| inherit (module) file;7583 850| inherit value;7584 | ^7585 851| }) module.config75867587 … while calling the 'mapAttrs' builtin7588 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:128:25:7589 127| # All services7590 128| allServices = lib.mapAttrs (_module_ident: instances: {7591 | ^7592 129| imports = [75937594 … from call site7595 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:17:13:7596 16|7597 17| grouped = lib.foldlAttrs (7598 | ^7599 18| acc: instanceName: instance:76007601 … while calling 'foldlAttrs'7602 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:796:14:7603 795| foldlAttrs =7604 796| f: init: set:7605 | ^7606 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);76077608 … while calling the 'foldl'' builtin7609 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:5:7610 796| f: init: set:7611 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);7612 | ^7613 798|76147615 … while calling the 'attrNames' builtin7616 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:797:54:7617 796| f: init: set:7618 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);7619 | ^7620 798|76217622 … while calling the 'mapAttrs' builtin7623 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:33:33:7624 32|7625 33| importedModuleWithInstances = lib.mapAttrs (7626 | ^7627 34| instanceName: instance:76287629 … from call site7630 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/distributed-services.nix:13:15:7631 12|7632 13| inventory = clanConfig.inventory;7633 | ^7634 14| flakeInputs = clanConfig.self.inputs;76357636 … while calling anonymous lambda7637 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1195:17:7638 1194| mapAttrs (7639 1195| name: value:7640 | ^7641 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value76427643 … from call site7644 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1196:85:7645 1195| name: value:7646 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value7647 | ^7648 1197| );76497650 … while calling anonymous lambda7651 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:282:71:7652 281| # For definitions that have an associated option7653 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;7654 | ^7655 283|76567657 … while evaluating the attribute 'value'7658 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1148:7:7659 1147| // {7660 1148| value = addErrorContext "while evaluating the option `${showOption loc}':" value;7661 | ^7662 1149| inherit (res.defsFinal') highestPrio;76637664 … while evaluating the option `inventory':76657666 (12 duplicate frames omitted)76677668 … while evaluating definitions from `/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix':76697670 … from call site7671 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1201:80:7672 1200| }7673 1201| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))7674 | ^7675 1202| ) defs;76767677 … while calling 'dischargeProperties'7678 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1377:5:7679 1376| dischargeProperties =7680 1377| def:7681 | ^7682 1378| if def._type or "" == "merge" then76837684 … while evaluating a branch condition7685 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:1378:5:7686 1377| def:7687 1378| if def._type or "" == "merge" then7688 | ^7689 1379| concatMap dischargeProperties def.contents76907691 … while evaluating the attribute 'value'7692 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/modules.nix:850:21:7693 849| inherit (module) file;7694 850| inherit value;7695 | ^7696 851| }) module.config76977698 … from call site7699 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:143:19:7700 142| # Note: we use clanLib.fs here, so that we can override it in tests7701 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {7702 | ^7703 144| imports = lib.mapAttrsToList (name: _t: {77047705 … while calling 'optionalAttrs'7706 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:25:7707 1491| */7708 1492| optionalAttrs = cond: as: if cond then as else { };7709 | ^7710 1493|77117712 … while evaluating a branch condition7713 at /build/nix/store/70dmj3mgr21k5x225hp70d7aghdfc932-source/lib/attrsets.nix:1492:29:7714 1491| */7715 1492| optionalAttrs = cond: as: if cond then as else { };7716 | ^7717 1493|77187719 error: attribute 'clanLib' missing7720 at /build/nix/store/jhlgn49828yj2r4v6a98j30436yqf43h-source/modules/clan/module.nix:49:23:7721 48|7722 49| inherit (clan-core) clanLib;7723 | ^7724 50|772577267727😢 2/27 successful7728error: Tests failed77297730Eval check failed. To re-run this test:7731 nix build .#legacyPackages.aarch64-linux.evalCheck-eval-lib-distributedServices7732