evalCheck-eval-lib-distributedServices
checks.aarch64-darwin.eval-tests
· build #643
· raw
1warning: not writing modified lock file of flake 'path:/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source':2• Updated input 'data-mesher':3 'https://git.clan.lol/api/v1/repos/clan/data-mesher/archive/9761d7227702c66b944e56ba7e7ee7af4ca8126e.tar.gz?narHash=sha256-isxp9C6uopHsXmfh8oj392ZYR7P6Yv/KkZo6jk5ai74%3D' (2026-09-03)4 → 'path:/nix/store/di2kdrcjjrcwy1mrq87wxanfkfkkbzn8-source?lastModified=1&narHash=sha256-isxp9C6uopHsXmfh8oj392ZYR7P6Yv/KkZo6jk5ai74%3D' (1970-01-01)5• Updated 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)8• Updated input 'flake-parts':9 'github:hercules-ci/flake-parts/31729ca8cbdb4fa927b34e5f4353e6a83f39e993?narHash=sha256-glZLQlzIn1fXH6PazR2iUmTo7kzzyYSshrWhLS9TqCU%3D' (2026-09-03)10 → 'path:/nix/store/9iv83r72z5xwgylkwms1qip1ijnr6jqs-source?lastModified=1&narHash=sha256-glZLQlzIn1fXH6PazR2iUmTo7kzzyYSshrWhLS9TqCU%3D' (1970-01-01)11• Updated 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)14• Updated 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)17• Updated input 'nixpkgs':18 'https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1071116.aff8a0b28396/nixexprs.tar.xz?narHash=sha256-vLblJRFZjrSBOyHD4jwBkGJm2iOVk8c9BJnzZTOojSc%3D' (2026-09-10)19 → 'path:/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source?lastModified=1&narHash=sha256-vLblJRFZjrSBOyHD4jwBkGJm2iOVk8c9BJnzZTOojSc%3D' (1970-01-01)20• Updated input 'sops-nix':21 'github:Mic92/sops-nix/13616fff713a9f94055c66f15687ebdc17a335df?narHash=sha256-4GuMPW90JSxXWDPUB9M%2B1m7fYbe3H0apOd86/zBQ2Kw%3D' (2026-09-09)22 → 'path:/nix/store/wwnl1ilqlhy8dqxi8ly1qwibad01rzns-source?lastModified=1&narHash=sha256-4GuMPW90JSxXWDPUB9M%2B1m7fYbe3H0apOd86/zBQ2Kw%3D' (1970-01-01)23• Updated 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)26• Updated 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 /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-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 /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:40 282| let41 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);42 | ^43 284| in4445 … while evaluating the attribute 'value'46 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:47 1180| // {48 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (49 | ^50 1182| # Apply the 'apply' function to the merged value. This allows options to5152 … while evaluating the option `_services.allServices':5354 … while evaluating the attribute 'mergedValue'55 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:56 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.57 1276| mergedValue =58 | ^59 1277| if isDefined then6061 … while evaluating a branch condition62 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:63 1276| mergedValue =64 1277| if isDefined then65 | ^66 1278| if type.merge ? v2 then6768 … while evaluating the attribute 'values'69 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:70 1269| {71 1270| values = defsSorted;72 | ^73 1271| inherit (defsFiltered) highestPrio;7475 … while evaluating a branch condition76 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:77 1263| # Avoid sorting if we don't have to.78 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then79 | ^80 1265| sortProperties defsFiltered.values8182 … while calling the 'any' builtin83 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:84 1263| # Avoid sorting if we don't have to.85 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then86 | ^87 1265| sortProperties defsFiltered.values8889 … from call site90 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:91 1258| # Process mkOverride properties.92 1259| defsFiltered = filterOverrides' defsNormalized;93 | ^94 1260|9596 … while calling anonymous lambda97 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:98 1459| in99 1460| defs:100 | ^101 1461| # Optimize for the singleton case, equivalent to the `else` clause.102103 … while evaluating a branch condition104 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:105 1461| # Optimize for the singleton case, equivalent to the `else` clause.106 1462| if length defs == 1 then107 | ^108 1463| {109110 … while calling the 'length' builtin111 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:112 1461| # Optimize for the singleton case, equivalent to the `else` clause.113 1462| if length defs == 1 then114 | ^115 1463| {116117 … while calling the 'concatMap' builtin118 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:119 1243| # Process mkMerge and mkIf properties.120 1244| defsNormalized = concatMap (121 | ^122 1245| m:123124 … while calling anonymous lambda125 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:126 1244| defsNormalized = concatMap (127 1245| m:128 | ^129 1246| map (130131 … while calling the 'map' builtin132 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:133 1245| m:134 1246| map (135 | ^136 1247| value:137138 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':139140 … from call site141 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:142 1254| }143 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))144 | ^145 1256| ) defs;146147 … while calling 'dischargeProperties'148 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:149 1410| dischargeProperties =150 1411| def:151 | ^152 1412| if def ? _type then153154 … while evaluating a branch condition155 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:156 1411| def:157 1412| if def ? _type then158 | ^159 1413| if def._type == "if" then160161 … while evaluating the attribute 'value'162 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:163 865| inherit (module) file;164 866| inherit value;165 | ^166 867| }) module.config167168 … while calling the 'mapAttrs' builtin169 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:170 127| # All services171 128| allServices = lib.mapAttrs (_module_ident: instances: {172 | ^173 129| imports = [174175 … from call site176 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:177 16|178 17| grouped = lib.foldlAttrs (179 | ^180 18| acc: instanceName: instance:181182 … while calling 'foldlAttrs'183 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:184 795| foldlAttrs =185 796| f: init: set:186 | ^187 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);188189 … while calling the 'foldl'' builtin190 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:191 796| f: init: set:192 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);193 | ^194 798|195196 … while calling the 'attrNames' builtin197 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:198 796| f: init: set:199 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);200 | ^201 798|202203 … while calling the 'mapAttrs' builtin204 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:205 32|206 33| importedModuleWithInstances = lib.mapAttrs (207 | ^208 34| instanceName: instance:209210 … from call site211 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:212 12|213 13| inventory = clanConfig.inventory;214 | ^215 14| flakeInputs = clanConfig.self.inputs;216217 … while calling anonymous lambda218 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:219 282| let220 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);221 | ^222 284| in223224 … while evaluating the attribute 'value'225 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:226 1180| // {227 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (228 | ^229 1182| # Apply the 'apply' function to the merged value. This allows options to230231 … while evaluating the option `inventory':232233 (12 duplicate frames omitted)234235 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':236237 … from call site238 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:239 1254| }240 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))241 | ^242 1256| ) defs;243244 … while calling 'dischargeProperties'245 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:246 1410| dischargeProperties =247 1411| def:248 | ^249 1412| if def ? _type then250251 … while evaluating a branch condition252 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:253 1411| def:254 1412| if def ? _type then255 | ^256 1413| if def._type == "if" then257258 … while evaluating the attribute 'value'259 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:260 865| inherit (module) file;261 866| inherit value;262 | ^263 867| }) module.config264265 … from call site266 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:267 142| # Note: we use clanLib.fs here, so that we can override it in tests268 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {269 | ^270 144| imports = lib.mapAttrsToList (name: _t: {271272 … while calling 'optionalAttrs'273 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:274 1491| */275 1492| optionalAttrs = cond: as: if cond then as else { };276 | ^277 1493|278279 … while evaluating a branch condition280 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:281 1491| */282 1492| optionalAttrs = cond: as: if cond then as else { };283 | ^284 1493|285286 error: attribute 'clanLib' missing287 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:288 48|289 49| inherit (clan-core) clanLib;290 | ^291 50|292293☢️ api_feature_meta.test_no_failing_assertion294error:295 … from call site296 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/api_feature_meta.nix:56:13:297 55|298 56| service = res.config._services.allServices.self-A;299 | ^300 57| assertions = service.result.assertions;301302 … while calling anonymous lambda303 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:304 282| let305 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);306 | ^307 284| in308309 … while evaluating the attribute 'value'310 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:311 1180| // {312 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (313 | ^314 1182| # Apply the 'apply' function to the merged value. This allows options to315316 … while evaluating the option `_services.allServices':317318 … while evaluating the attribute 'mergedValue'319 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:320 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.321 1276| mergedValue =322 | ^323 1277| if isDefined then324325 … while evaluating a branch condition326 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:327 1276| mergedValue =328 1277| if isDefined then329 | ^330 1278| if type.merge ? v2 then331332 … while evaluating the attribute 'values'333 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:334 1269| {335 1270| values = defsSorted;336 | ^337 1271| inherit (defsFiltered) highestPrio;338339 … while evaluating a branch condition340 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:341 1263| # Avoid sorting if we don't have to.342 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then343 | ^344 1265| sortProperties defsFiltered.values345346 … while calling the 'any' builtin347 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:348 1263| # Avoid sorting if we don't have to.349 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then350 | ^351 1265| sortProperties defsFiltered.values352353 … from call site354 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:355 1258| # Process mkOverride properties.356 1259| defsFiltered = filterOverrides' defsNormalized;357 | ^358 1260|359360 … while calling anonymous lambda361 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:362 1459| in363 1460| defs:364 | ^365 1461| # Optimize for the singleton case, equivalent to the `else` clause.366367 … while evaluating a branch condition368 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:369 1461| # Optimize for the singleton case, equivalent to the `else` clause.370 1462| if length defs == 1 then371 | ^372 1463| {373374 … while calling the 'length' builtin375 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:376 1461| # Optimize for the singleton case, equivalent to the `else` clause.377 1462| if length defs == 1 then378 | ^379 1463| {380381 … while calling the 'concatMap' builtin382 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:383 1243| # Process mkMerge and mkIf properties.384 1244| defsNormalized = concatMap (385 | ^386 1245| m:387388 … while calling anonymous lambda389 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:390 1244| defsNormalized = concatMap (391 1245| m:392 | ^393 1246| map (394395 … while calling the 'map' builtin396 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:397 1245| m:398 1246| map (399 | ^400 1247| value:401402 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':403404 … from call site405 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:406 1254| }407 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))408 | ^409 1256| ) defs;410411 … while calling 'dischargeProperties'412 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:413 1410| dischargeProperties =414 1411| def:415 | ^416 1412| if def ? _type then417418 … while evaluating a branch condition419 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:420 1411| def:421 1412| if def ? _type then422 | ^423 1413| if def._type == "if" then424425 … while evaluating the attribute 'value'426 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:427 865| inherit (module) file;428 866| inherit value;429 | ^430 867| }) module.config431432 … while calling the 'mapAttrs' builtin433 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:434 127| # All services435 128| allServices = lib.mapAttrs (_module_ident: instances: {436 | ^437 129| imports = [438439 … from call site440 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:441 16|442 17| grouped = lib.foldlAttrs (443 | ^444 18| acc: instanceName: instance:445446 … while calling 'foldlAttrs'447 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:448 795| foldlAttrs =449 796| f: init: set:450 | ^451 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);452453 … while calling the 'foldl'' builtin454 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:455 796| f: init: set:456 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);457 | ^458 798|459460 … while calling the 'attrNames' builtin461 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:462 796| f: init: set:463 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);464 | ^465 798|466467 … while calling the 'mapAttrs' builtin468 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:469 32|470 33| importedModuleWithInstances = lib.mapAttrs (471 | ^472 34| instanceName: instance:473474 … from call site475 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:476 12|477 13| inventory = clanConfig.inventory;478 | ^479 14| flakeInputs = clanConfig.self.inputs;480481 … while calling anonymous lambda482 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:483 282| let484 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);485 | ^486 284| in487488 … while evaluating the attribute 'value'489 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:490 1180| // {491 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (492 | ^493 1182| # Apply the 'apply' function to the merged value. This allows options to494495 … while evaluating the option `inventory':496497 (12 duplicate frames omitted)498499 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':500501 … from call site502 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:503 1254| }504 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))505 | ^506 1256| ) defs;507508 … while calling 'dischargeProperties'509 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:510 1410| dischargeProperties =511 1411| def:512 | ^513 1412| if def ? _type then514515 … while evaluating a branch condition516 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:517 1411| def:518 1412| if def ? _type then519 | ^520 1413| if def._type == "if" then521522 … while evaluating the attribute 'value'523 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:524 865| inherit (module) file;525 866| inherit value;526 | ^527 867| }) module.config528529 … from call site530 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:531 142| # Note: we use clanLib.fs here, so that we can override it in tests532 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {533 | ^534 144| imports = lib.mapAttrsToList (name: _t: {535536 … while calling 'optionalAttrs'537 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:538 1491| */539 1492| optionalAttrs = cond: as: if cond then as else { };540 | ^541 1493|542543 … while evaluating a branch condition544 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:545 1491| */546 1492| optionalAttrs = cond: as: if cond then as else { };547 | ^548 1493|549550 error: attribute 'clanLib' missing551 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:552 48|553 49| inherit (clan-core) clanLib;554 | ^555 50|556557☢️ api_feature_meta.test_schema_is_forceable558error:559 … from call site560 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/api_feature_meta.nix:56:13:561 55|562 56| service = res.config._services.allServices.self-A;563 | ^564 57| assertions = service.result.assertions;565566 … while calling anonymous lambda567 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:568 282| let569 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);570 | ^571 284| in572573 … while evaluating the attribute 'value'574 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:575 1180| // {576 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (577 | ^578 1182| # Apply the 'apply' function to the merged value. This allows options to579580 … while evaluating the option `_services.allServices':581582 … while evaluating the attribute 'mergedValue'583 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:584 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.585 1276| mergedValue =586 | ^587 1277| if isDefined then588589 … while evaluating a branch condition590 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:591 1276| mergedValue =592 1277| if isDefined then593 | ^594 1278| if type.merge ? v2 then595596 … while evaluating the attribute 'values'597 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:598 1269| {599 1270| values = defsSorted;600 | ^601 1271| inherit (defsFiltered) highestPrio;602603 … while evaluating a branch condition604 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:605 1263| # Avoid sorting if we don't have to.606 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then607 | ^608 1265| sortProperties defsFiltered.values609610 … while calling the 'any' builtin611 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:612 1263| # Avoid sorting if we don't have to.613 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then614 | ^615 1265| sortProperties defsFiltered.values616617 … from call site618 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:619 1258| # Process mkOverride properties.620 1259| defsFiltered = filterOverrides' defsNormalized;621 | ^622 1260|623624 … while calling anonymous lambda625 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:626 1459| in627 1460| defs:628 | ^629 1461| # Optimize for the singleton case, equivalent to the `else` clause.630631 … while evaluating a branch condition632 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:633 1461| # Optimize for the singleton case, equivalent to the `else` clause.634 1462| if length defs == 1 then635 | ^636 1463| {637638 … while calling the 'length' builtin639 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:640 1461| # Optimize for the singleton case, equivalent to the `else` clause.641 1462| if length defs == 1 then642 | ^643 1463| {644645 … while calling the 'concatMap' builtin646 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:647 1243| # Process mkMerge and mkIf properties.648 1244| defsNormalized = concatMap (649 | ^650 1245| m:651652 … while calling anonymous lambda653 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:654 1244| defsNormalized = concatMap (655 1245| m:656 | ^657 1246| map (658659 … while calling the 'map' builtin660 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:661 1245| m:662 1246| map (663 | ^664 1247| value:665666 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':667668 … from call site669 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:670 1254| }671 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))672 | ^673 1256| ) defs;674675 … while calling 'dischargeProperties'676 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:677 1410| dischargeProperties =678 1411| def:679 | ^680 1412| if def ? _type then681682 … while evaluating a branch condition683 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:684 1411| def:685 1412| if def ? _type then686 | ^687 1413| if def._type == "if" then688689 … while evaluating the attribute 'value'690 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:691 865| inherit (module) file;692 866| inherit value;693 | ^694 867| }) module.config695696 … while calling the 'mapAttrs' builtin697 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:698 127| # All services699 128| allServices = lib.mapAttrs (_module_ident: instances: {700 | ^701 129| imports = [702703 … from call site704 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:705 16|706 17| grouped = lib.foldlAttrs (707 | ^708 18| acc: instanceName: instance:709710 … while calling 'foldlAttrs'711 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:712 795| foldlAttrs =713 796| f: init: set:714 | ^715 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);716717 … while calling the 'foldl'' builtin718 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:719 796| f: init: set:720 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);721 | ^722 798|723724 … while calling the 'attrNames' builtin725 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:726 796| f: init: set:727 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);728 | ^729 798|730731 … while calling the 'mapAttrs' builtin732 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:733 32|734 33| importedModuleWithInstances = lib.mapAttrs (735 | ^736 34| instanceName: instance:737738 … from call site739 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:740 12|741 13| inventory = clanConfig.inventory;742 | ^743 14| flakeInputs = clanConfig.self.inputs;744745 … while calling anonymous lambda746 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:747 282| let748 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);749 | ^750 284| in751752 … while evaluating the attribute 'value'753 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:754 1180| // {755 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (756 | ^757 1182| # Apply the 'apply' function to the merged value. This allows options to758759 … while evaluating the option `inventory':760761 (12 duplicate frames omitted)762763 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':764765 … from call site766 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:767 1254| }768 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))769 | ^770 1256| ) defs;771772 … while calling 'dischargeProperties'773 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:774 1410| dischargeProperties =775 1411| def:776 | ^777 1412| if def ? _type then778779 … while evaluating a branch condition780 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:781 1411| def:782 1412| if def ? _type then783 | ^784 1413| if def._type == "if" then785786 … while evaluating the attribute 'value'787 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:788 865| inherit (module) file;789 866| inherit value;790 | ^791 867| }) module.config792793 … from call site794 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:795 142| # Note: we use clanLib.fs here, so that we can override it in tests796 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {797 | ^798 144| imports = lib.mapAttrsToList (name: _t: {799800 … while calling 'optionalAttrs'801 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:802 1491| */803 1492| optionalAttrs = cond: as: if cond then as else { };804 | ^805 1493|806807 … while evaluating a branch condition808 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:809 1491| */810 1492| optionalAttrs = cond: as: if cond then as else { };811 | ^812 1493|813814 error: attribute 'clanLib' missing815 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:816 48|817 49| inherit (clan-core) clanLib;818 | ^819 50|820821☢️ api_feature_meta.test_static_default_still_works822error:823 … from call site824 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/api_feature_meta.nix:93:18:825 92| };826 93| schemaNoMeta = resNoMeta.config._services.allServices.self-A.result.api.schema;827 | ^828 94| in829830 … while calling anonymous lambda831 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:832 282| let833 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);834 | ^835 284| in836837 … while evaluating the attribute 'value'838 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:839 1180| // {840 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (841 | ^842 1182| # Apply the 'apply' function to the merged value. This allows options to843844 … while evaluating the option `_services.allServices':845846 … while evaluating the attribute 'mergedValue'847 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:848 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.849 1276| mergedValue =850 | ^851 1277| if isDefined then852853 … while evaluating a branch condition854 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:855 1276| mergedValue =856 1277| if isDefined then857 | ^858 1278| if type.merge ? v2 then859860 … while evaluating the attribute 'values'861 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:862 1269| {863 1270| values = defsSorted;864 | ^865 1271| inherit (defsFiltered) highestPrio;866867 … while evaluating a branch condition868 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:869 1263| # Avoid sorting if we don't have to.870 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then871 | ^872 1265| sortProperties defsFiltered.values873874 … while calling the 'any' builtin875 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:876 1263| # Avoid sorting if we don't have to.877 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then878 | ^879 1265| sortProperties defsFiltered.values880881 … from call site882 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:883 1258| # Process mkOverride properties.884 1259| defsFiltered = filterOverrides' defsNormalized;885 | ^886 1260|887888 … while calling anonymous lambda889 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:890 1459| in891 1460| defs:892 | ^893 1461| # Optimize for the singleton case, equivalent to the `else` clause.894895 … while evaluating a branch condition896 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:897 1461| # Optimize for the singleton case, equivalent to the `else` clause.898 1462| if length defs == 1 then899 | ^900 1463| {901902 … while calling the 'length' builtin903 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:904 1461| # Optimize for the singleton case, equivalent to the `else` clause.905 1462| if length defs == 1 then906 | ^907 1463| {908909 … while calling the 'concatMap' builtin910 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:911 1243| # Process mkMerge and mkIf properties.912 1244| defsNormalized = concatMap (913 | ^914 1245| m:915916 … while calling anonymous lambda917 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:918 1244| defsNormalized = concatMap (919 1245| m:920 | ^921 1246| map (922923 … while calling the 'map' builtin924 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:925 1245| m:926 1246| map (927 | ^928 1247| value:929930 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':931932 … from call site933 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:934 1254| }935 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))936 | ^937 1256| ) defs;938939 … while calling 'dischargeProperties'940 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:941 1410| dischargeProperties =942 1411| def:943 | ^944 1412| if def ? _type then945946 … while evaluating a branch condition947 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:948 1411| def:949 1412| if def ? _type then950 | ^951 1413| if def._type == "if" then952953 … while evaluating the attribute 'value'954 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:955 865| inherit (module) file;956 866| inherit value;957 | ^958 867| }) module.config959960 … while calling the 'mapAttrs' builtin961 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:962 127| # All services963 128| allServices = lib.mapAttrs (_module_ident: instances: {964 | ^965 129| imports = [966967 … from call site968 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:969 16|970 17| grouped = lib.foldlAttrs (971 | ^972 18| acc: instanceName: instance:973974 … while calling 'foldlAttrs'975 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:976 795| foldlAttrs =977 796| f: init: set:978 | ^979 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);980981 … while calling the 'foldl'' builtin982 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:983 796| f: init: set:984 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);985 | ^986 798|987988 … while calling the 'attrNames' builtin989 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:990 796| f: init: set:991 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);992 | ^993 798|994995 … while calling the 'mapAttrs' builtin996 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:997 32|998 33| importedModuleWithInstances = lib.mapAttrs (999 | ^1000 34| instanceName: instance:10011002 … from call site1003 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:1004 12|1005 13| inventory = clanConfig.inventory;1006 | ^1007 14| flakeInputs = clanConfig.self.inputs;10081009 … while calling anonymous lambda1010 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:1011 282| let1012 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1013 | ^1014 284| in10151016 … while evaluating the attribute 'value'1017 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:1018 1180| // {1019 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1020 | ^1021 1182| # Apply the 'apply' function to the merged value. This allows options to10221023 … while evaluating the option `inventory':10241025 (12 duplicate frames omitted)10261027 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':10281029 … from call site1030 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:1031 1254| }1032 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1033 | ^1034 1256| ) defs;10351036 … while calling 'dischargeProperties'1037 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:1038 1410| dischargeProperties =1039 1411| def:1040 | ^1041 1412| if def ? _type then10421043 … while evaluating a branch condition1044 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:1045 1411| def:1046 1412| if def ? _type then1047 | ^1048 1413| if def._type == "if" then10491050 … while evaluating the attribute 'value'1051 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:1052 865| inherit (module) file;1053 866| inherit value;1054 | ^1055 867| }) module.config10561057 … from call site1058 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:1059 142| # Note: we use clanLib.fs here, so that we can override it in tests1060 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {1061 | ^1062 144| imports = lib.mapAttrsToList (name: _t: {10631064 … while calling 'optionalAttrs'1065 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:1066 1491| */1067 1492| optionalAttrs = cond: as: if cond then as else { };1068 | ^1069 1493|10701071 … while evaluating a branch condition1072 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:1073 1491| */1074 1492| optionalAttrs = cond: as: if cond then as else { };1075 | ^1076 1493|10771078 error: attribute 'clanLib' missing1079 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:1080 48|1081 49| inherit (clan-core) clanLib;1082 | ^1083 50|10841085☢️ cli_checks.test_exact_machine_count_pass1086error:1087 … from call site1088 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/cli_checks.nix:182:14:1089 181| inherit res;1090 182| expr = res.config.clanInternals.cliChecks;1091 | ^1092 183| expected = [ ];10931094 … while calling anonymous lambda1095 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:1096 282| let1097 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1098 | ^1099 284| in11001101 … while evaluating the attribute 'value'1102 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:1103 1180| // {1104 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1105 | ^1106 1182| # Apply the 'apply' function to the merged value. This allows options to11071108 … while evaluating the option `clanInternals.cliChecks':11091110 … while evaluating the attribute 'mergedValue'1111 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:1112 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.1113 1276| mergedValue =1114 | ^1115 1277| if isDefined then11161117 … while evaluating a branch condition1118 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:1119 1276| mergedValue =1120 1277| if isDefined then1121 | ^1122 1278| if type.merge ? v2 then11231124 … while evaluating the attribute 'values'1125 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:1126 1269| {1127 1270| values = defsSorted;1128 | ^1129 1271| inherit (defsFiltered) highestPrio;11301131 … while evaluating a branch condition1132 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:1133 1263| # Avoid sorting if we don't have to.1134 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then1135 | ^1136 1265| sortProperties defsFiltered.values11371138 … while calling the 'any' builtin1139 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:1140 1263| # Avoid sorting if we don't have to.1141 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then1142 | ^1143 1265| sortProperties defsFiltered.values11441145 … from call site1146 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:1147 1258| # Process mkOverride properties.1148 1259| defsFiltered = filterOverrides' defsNormalized;1149 | ^1150 1260|11511152 … while calling anonymous lambda1153 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:1154 1459| in1155 1460| defs:1156 | ^1157 1461| # Optimize for the singleton case, equivalent to the `else` clause.11581159 … while evaluating a branch condition1160 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:1161 1461| # Optimize for the singleton case, equivalent to the `else` clause.1162 1462| if length defs == 1 then1163 | ^1164 1463| {11651166 … while calling the 'length' builtin1167 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:1168 1461| # Optimize for the singleton case, equivalent to the `else` clause.1169 1462| if length defs == 1 then1170 | ^1171 1463| {11721173 … while calling the 'concatMap' builtin1174 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:1175 1243| # Process mkMerge and mkIf properties.1176 1244| defsNormalized = concatMap (1177 | ^1178 1245| m:11791180 … while calling anonymous lambda1181 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:1182 1244| defsNormalized = concatMap (1183 1245| m:1184 | ^1185 1246| map (11861187 … while calling the 'map' builtin1188 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:1189 1245| m:1190 1246| map (1191 | ^1192 1247| value:11931194 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':11951196 … from call site1197 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:1198 1254| }1199 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1200 | ^1201 1256| ) defs;12021203 … while calling 'dischargeProperties'1204 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:1205 1410| dischargeProperties =1206 1411| def:1207 | ^1208 1412| if def ? _type then12091210 … while evaluating a branch condition1211 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:1212 1411| def:1213 1412| if def ? _type then1214 | ^1215 1413| if def._type == "if" then12161217 … while evaluating the attribute 'value'1218 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:1219 865| inherit (module) file;1220 866| inherit value;1221 | ^1222 867| }) module.config12231224 … while calling the 'concatMap' builtin1225 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:170:31:1226 169|1227 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1228 | ^1229 171| lib.attrValues config._services.allServices12301231 … while calling the 'attrValues' builtin1232 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:171:7:1233 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1234 171| lib.attrValues config._services.allServices1235 | ^1236 172| );12371238 … from call site1239 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:171:22:1240 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1241 171| lib.attrValues config._services.allServices1242 | ^1243 172| );12441245 … while calling anonymous lambda1246 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:1247 282| let1248 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1249 | ^1250 284| in12511252 … while evaluating the attribute 'value'1253 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:1254 1180| // {1255 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1256 | ^1257 1182| # Apply the 'apply' function to the merged value. This allows options to12581259 … while evaluating the option `_services.allServices':12601261 (17 duplicate frames omitted)12621263 … while calling the 'mapAttrs' builtin1264 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:1265 127| # All services1266 128| allServices = lib.mapAttrs (_module_ident: instances: {1267 | ^1268 129| imports = [12691270 … from call site1271 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:1272 16|1273 17| grouped = lib.foldlAttrs (1274 | ^1275 18| acc: instanceName: instance:12761277 … while calling 'foldlAttrs'1278 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:1279 795| foldlAttrs =1280 796| f: init: set:1281 | ^1282 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);12831284 … while calling the 'foldl'' builtin1285 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:1286 796| f: init: set:1287 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1288 | ^1289 798|12901291 … while calling the 'attrNames' builtin1292 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:1293 796| f: init: set:1294 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1295 | ^1296 798|12971298 … while calling the 'mapAttrs' builtin1299 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:1300 32|1301 33| importedModuleWithInstances = lib.mapAttrs (1302 | ^1303 34| instanceName: instance:13041305 … from call site1306 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:1307 12|1308 13| inventory = clanConfig.inventory;1309 | ^1310 14| flakeInputs = clanConfig.self.inputs;13111312 … while calling anonymous lambda1313 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:1314 282| let1315 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1316 | ^1317 284| in13181319 … while evaluating the attribute 'value'1320 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:1321 1180| // {1322 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1323 | ^1324 1182| # Apply the 'apply' function to the merged value. This allows options to13251326 … while evaluating the option `inventory':13271328 (12 duplicate frames omitted)13291330 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':13311332 … from call site1333 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:1334 1254| }1335 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1336 | ^1337 1256| ) defs;13381339 … while calling 'dischargeProperties'1340 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:1341 1410| dischargeProperties =1342 1411| def:1343 | ^1344 1412| if def ? _type then13451346 … while evaluating a branch condition1347 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:1348 1411| def:1349 1412| if def ? _type then1350 | ^1351 1413| if def._type == "if" then13521353 … while evaluating the attribute 'value'1354 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:1355 865| inherit (module) file;1356 866| inherit value;1357 | ^1358 867| }) module.config13591360 … from call site1361 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:1362 142| # Note: we use clanLib.fs here, so that we can override it in tests1363 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {1364 | ^1365 144| imports = lib.mapAttrsToList (name: _t: {13661367 … while calling 'optionalAttrs'1368 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:1369 1491| */1370 1492| optionalAttrs = cond: as: if cond then as else { };1371 | ^1372 1493|13731374 … while evaluating a branch condition1375 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:1376 1491| */1377 1492| optionalAttrs = cond: as: if cond then as else { };1378 | ^1379 1493|13801381 error: attribute 'clanLib' missing1382 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:1383 48|1384 49| inherit (clan-core) clanLib;1385 | ^1386 50|13871388☢️ cli_checks.test_maxInstances_fail1389error:1390 … from call site1391 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/cli_checks.nix:87:14:1392 86| inherit res;1393 87| expr = res.config.clanInternals.cliChecks;1394 | ^1395 88| expected = [13961397 … while calling anonymous lambda1398 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:1399 282| let1400 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1401 | ^1402 284| in14031404 … while evaluating the attribute 'value'1405 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:1406 1180| // {1407 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1408 | ^1409 1182| # Apply the 'apply' function to the merged value. This allows options to14101411 … while evaluating the option `clanInternals.cliChecks':14121413 … while evaluating the attribute 'mergedValue'1414 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:1415 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.1416 1276| mergedValue =1417 | ^1418 1277| if isDefined then14191420 … while evaluating a branch condition1421 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:1422 1276| mergedValue =1423 1277| if isDefined then1424 | ^1425 1278| if type.merge ? v2 then14261427 … while evaluating the attribute 'values'1428 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:1429 1269| {1430 1270| values = defsSorted;1431 | ^1432 1271| inherit (defsFiltered) highestPrio;14331434 … while evaluating a branch condition1435 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:1436 1263| # Avoid sorting if we don't have to.1437 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then1438 | ^1439 1265| sortProperties defsFiltered.values14401441 … while calling the 'any' builtin1442 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:1443 1263| # Avoid sorting if we don't have to.1444 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then1445 | ^1446 1265| sortProperties defsFiltered.values14471448 … from call site1449 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:1450 1258| # Process mkOverride properties.1451 1259| defsFiltered = filterOverrides' defsNormalized;1452 | ^1453 1260|14541455 … while calling anonymous lambda1456 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:1457 1459| in1458 1460| defs:1459 | ^1460 1461| # Optimize for the singleton case, equivalent to the `else` clause.14611462 … while evaluating a branch condition1463 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:1464 1461| # Optimize for the singleton case, equivalent to the `else` clause.1465 1462| if length defs == 1 then1466 | ^1467 1463| {14681469 … while calling the 'length' builtin1470 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:1471 1461| # Optimize for the singleton case, equivalent to the `else` clause.1472 1462| if length defs == 1 then1473 | ^1474 1463| {14751476 … while calling the 'concatMap' builtin1477 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:1478 1243| # Process mkMerge and mkIf properties.1479 1244| defsNormalized = concatMap (1480 | ^1481 1245| m:14821483 … while calling anonymous lambda1484 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:1485 1244| defsNormalized = concatMap (1486 1245| m:1487 | ^1488 1246| map (14891490 … while calling the 'map' builtin1491 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:1492 1245| m:1493 1246| map (1494 | ^1495 1247| value:14961497 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':14981499 … from call site1500 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:1501 1254| }1502 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1503 | ^1504 1256| ) defs;15051506 … while calling 'dischargeProperties'1507 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:1508 1410| dischargeProperties =1509 1411| def:1510 | ^1511 1412| if def ? _type then15121513 … while evaluating a branch condition1514 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:1515 1411| def:1516 1412| if def ? _type then1517 | ^1518 1413| if def._type == "if" then15191520 … while evaluating the attribute 'value'1521 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:1522 865| inherit (module) file;1523 866| inherit value;1524 | ^1525 867| }) module.config15261527 … while calling the 'concatMap' builtin1528 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:170:31:1529 169|1530 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1531 | ^1532 171| lib.attrValues config._services.allServices15331534 … while calling the 'attrValues' builtin1535 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:171:7:1536 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1537 171| lib.attrValues config._services.allServices1538 | ^1539 172| );15401541 … from call site1542 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:171:22:1543 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1544 171| lib.attrValues config._services.allServices1545 | ^1546 172| );15471548 … while calling anonymous lambda1549 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:1550 282| let1551 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1552 | ^1553 284| in15541555 … while evaluating the attribute 'value'1556 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:1557 1180| // {1558 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1559 | ^1560 1182| # Apply the 'apply' function to the merged value. This allows options to15611562 … while evaluating the option `_services.allServices':15631564 (17 duplicate frames omitted)15651566 … while calling the 'mapAttrs' builtin1567 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:1568 127| # All services1569 128| allServices = lib.mapAttrs (_module_ident: instances: {1570 | ^1571 129| imports = [15721573 … from call site1574 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:1575 16|1576 17| grouped = lib.foldlAttrs (1577 | ^1578 18| acc: instanceName: instance:15791580 … while calling 'foldlAttrs'1581 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:1582 795| foldlAttrs =1583 796| f: init: set:1584 | ^1585 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);15861587 … while calling the 'foldl'' builtin1588 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:1589 796| f: init: set:1590 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1591 | ^1592 798|15931594 … while calling the 'attrNames' builtin1595 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:1596 796| f: init: set:1597 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1598 | ^1599 798|16001601 … while calling the 'mapAttrs' builtin1602 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:1603 32|1604 33| importedModuleWithInstances = lib.mapAttrs (1605 | ^1606 34| instanceName: instance:16071608 … from call site1609 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:1610 12|1611 13| inventory = clanConfig.inventory;1612 | ^1613 14| flakeInputs = clanConfig.self.inputs;16141615 … while calling anonymous lambda1616 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:1617 282| let1618 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1619 | ^1620 284| in16211622 … while evaluating the attribute 'value'1623 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:1624 1180| // {1625 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1626 | ^1627 1182| # Apply the 'apply' function to the merged value. This allows options to16281629 … while evaluating the option `inventory':16301631 (12 duplicate frames omitted)16321633 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':16341635 … from call site1636 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:1637 1254| }1638 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1639 | ^1640 1256| ) defs;16411642 … while calling 'dischargeProperties'1643 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:1644 1410| dischargeProperties =1645 1411| def:1646 | ^1647 1412| if def ? _type then16481649 … while evaluating a branch condition1650 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:1651 1411| def:1652 1412| if def ? _type then1653 | ^1654 1413| if def._type == "if" then16551656 … while evaluating the attribute 'value'1657 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:1658 865| inherit (module) file;1659 866| inherit value;1660 | ^1661 867| }) module.config16621663 … from call site1664 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:1665 142| # Note: we use clanLib.fs here, so that we can override it in tests1666 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {1667 | ^1668 144| imports = lib.mapAttrsToList (name: _t: {16691670 … while calling 'optionalAttrs'1671 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:1672 1491| */1673 1492| optionalAttrs = cond: as: if cond then as else { };1674 | ^1675 1493|16761677 … while evaluating a branch condition1678 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:1679 1491| */1680 1492| optionalAttrs = cond: as: if cond then as else { };1681 | ^1682 1493|16831684 error: attribute 'clanLib' missing1685 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:1686 48|1687 49| inherit (clan-core) clanLib;1688 | ^1689 50|16901691☢️ cli_checks.test_maxInstances_pass1692error:1693 … from call site1694 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/cli_checks.nix:60:14:1695 59| inherit res;1696 60| expr = res.config.clanInternals.cliChecks;1697 | ^1698 61| expected = [ ];16991700 … while calling anonymous lambda1701 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:1702 282| let1703 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1704 | ^1705 284| in17061707 … while evaluating the attribute 'value'1708 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:1709 1180| // {1710 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1711 | ^1712 1182| # Apply the 'apply' function to the merged value. This allows options to17131714 … while evaluating the option `clanInternals.cliChecks':17151716 … while evaluating the attribute 'mergedValue'1717 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:1718 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.1719 1276| mergedValue =1720 | ^1721 1277| if isDefined then17221723 … while evaluating a branch condition1724 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:1725 1276| mergedValue =1726 1277| if isDefined then1727 | ^1728 1278| if type.merge ? v2 then17291730 … while evaluating the attribute 'values'1731 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:1732 1269| {1733 1270| values = defsSorted;1734 | ^1735 1271| inherit (defsFiltered) highestPrio;17361737 … while evaluating a branch condition1738 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:1739 1263| # Avoid sorting if we don't have to.1740 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then1741 | ^1742 1265| sortProperties defsFiltered.values17431744 … while calling the 'any' builtin1745 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:1746 1263| # Avoid sorting if we don't have to.1747 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then1748 | ^1749 1265| sortProperties defsFiltered.values17501751 … from call site1752 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:1753 1258| # Process mkOverride properties.1754 1259| defsFiltered = filterOverrides' defsNormalized;1755 | ^1756 1260|17571758 … while calling anonymous lambda1759 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:1760 1459| in1761 1460| defs:1762 | ^1763 1461| # Optimize for the singleton case, equivalent to the `else` clause.17641765 … while evaluating a branch condition1766 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:1767 1461| # Optimize for the singleton case, equivalent to the `else` clause.1768 1462| if length defs == 1 then1769 | ^1770 1463| {17711772 … while calling the 'length' builtin1773 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:1774 1461| # Optimize for the singleton case, equivalent to the `else` clause.1775 1462| if length defs == 1 then1776 | ^1777 1463| {17781779 … while calling the 'concatMap' builtin1780 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:1781 1243| # Process mkMerge and mkIf properties.1782 1244| defsNormalized = concatMap (1783 | ^1784 1245| m:17851786 … while calling anonymous lambda1787 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:1788 1244| defsNormalized = concatMap (1789 1245| m:1790 | ^1791 1246| map (17921793 … while calling the 'map' builtin1794 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:1795 1245| m:1796 1246| map (1797 | ^1798 1247| value:17991800 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':18011802 … from call site1803 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:1804 1254| }1805 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1806 | ^1807 1256| ) defs;18081809 … while calling 'dischargeProperties'1810 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:1811 1410| dischargeProperties =1812 1411| def:1813 | ^1814 1412| if def ? _type then18151816 … while evaluating a branch condition1817 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:1818 1411| def:1819 1412| if def ? _type then1820 | ^1821 1413| if def._type == "if" then18221823 … while evaluating the attribute 'value'1824 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:1825 865| inherit (module) file;1826 866| inherit value;1827 | ^1828 867| }) module.config18291830 … while calling the 'concatMap' builtin1831 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:170:31:1832 169|1833 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1834 | ^1835 171| lib.attrValues config._services.allServices18361837 … while calling the 'attrValues' builtin1838 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:171:7:1839 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1840 171| lib.attrValues config._services.allServices1841 | ^1842 172| );18431844 … from call site1845 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:171:22:1846 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1847 171| lib.attrValues config._services.allServices1848 | ^1849 172| );18501851 … while calling anonymous lambda1852 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:1853 282| let1854 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1855 | ^1856 284| in18571858 … while evaluating the attribute 'value'1859 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:1860 1180| // {1861 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1862 | ^1863 1182| # Apply the 'apply' function to the merged value. This allows options to18641865 … while evaluating the option `_services.allServices':18661867 (17 duplicate frames omitted)18681869 … while calling the 'mapAttrs' builtin1870 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:1871 127| # All services1872 128| allServices = lib.mapAttrs (_module_ident: instances: {1873 | ^1874 129| imports = [18751876 … from call site1877 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:1878 16|1879 17| grouped = lib.foldlAttrs (1880 | ^1881 18| acc: instanceName: instance:18821883 … while calling 'foldlAttrs'1884 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:1885 795| foldlAttrs =1886 796| f: init: set:1887 | ^1888 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);18891890 … while calling the 'foldl'' builtin1891 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:1892 796| f: init: set:1893 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1894 | ^1895 798|18961897 … while calling the 'attrNames' builtin1898 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:1899 796| f: init: set:1900 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1901 | ^1902 798|19031904 … while calling the 'mapAttrs' builtin1905 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:1906 32|1907 33| importedModuleWithInstances = lib.mapAttrs (1908 | ^1909 34| instanceName: instance:19101911 … from call site1912 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:1913 12|1914 13| inventory = clanConfig.inventory;1915 | ^1916 14| flakeInputs = clanConfig.self.inputs;19171918 … while calling anonymous lambda1919 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:1920 282| let1921 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1922 | ^1923 284| in19241925 … while evaluating the attribute 'value'1926 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:1927 1180| // {1928 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1929 | ^1930 1182| # Apply the 'apply' function to the merged value. This allows options to19311932 … while evaluating the option `inventory':19331934 (12 duplicate frames omitted)19351936 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':19371938 … from call site1939 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:1940 1254| }1941 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1942 | ^1943 1256| ) defs;19441945 … while calling 'dischargeProperties'1946 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:1947 1410| dischargeProperties =1948 1411| def:1949 | ^1950 1412| if def ? _type then19511952 … while evaluating a branch condition1953 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:1954 1411| def:1955 1412| if def ? _type then1956 | ^1957 1413| if def._type == "if" then19581959 … while evaluating the attribute 'value'1960 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:1961 865| inherit (module) file;1962 866| inherit value;1963 | ^1964 867| }) module.config19651966 … from call site1967 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:1968 142| # Note: we use clanLib.fs here, so that we can override it in tests1969 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {1970 | ^1971 144| imports = lib.mapAttrsToList (name: _t: {19721973 … while calling 'optionalAttrs'1974 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:1975 1491| */1976 1492| optionalAttrs = cond: as: if cond then as else { };1977 | ^1978 1493|19791980 … while evaluating a branch condition1981 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:1982 1491| */1983 1492| optionalAttrs = cond: as: if cond then as else { };1984 | ^1985 1493|19861987 error: attribute 'clanLib' missing1988 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:1989 48|1990 49| inherit (clan-core) clanLib;1991 | ^1992 50|19931994☢️ cli_checks.test_maxMachines_fail1995error:1996 … from call site1997 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/cli_checks.nix:151:14:1998 150| inherit res;1999 151| expr = res.config.clanInternals.cliChecks;2000 | ^
loading 1,948 hidden lines…
3949 1411| def:3950 1412| if def ? _type then3951 | ^3952 1413| if def._type == "if" then39533954 … while evaluating the attribute 'value'3955 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:3956 865| inherit (module) file;3957 866| inherit value;3958 | ^3959 867| }) module.config39603961 … from call site3962 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:3963 142| # Note: we use clanLib.fs here, so that we can override it in tests3964 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {3965 | ^3966 144| imports = lib.mapAttrsToList (name: _t: {39673968 … while calling 'optionalAttrs'3969 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:3970 1491| */3971 1492| optionalAttrs = cond: as: if cond then as else { };3972 | ^3973 1493|39743975 … while evaluating a branch condition3976 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:3977 1491| */3978 1492| optionalAttrs = cond: as: if cond then as else { };3979 | ^3980 1493|39813982 error: attribute 'clanLib' missing3983 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:3984 48|3985 49| inherit (clan-core) clanLib;3986 | ^3987 50|39883989☢️ resolve_module_spec.test_import_local_module_by_name3990error:3991 … from call site3992 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/import_module_spec.nix:39:7:3993 38| expr =3994 39| (resolve {3995 | ^3996 40| name = "A";39973998 … while calling anonymous lambda3999 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:4000 282| let4001 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4002 | ^4003 284| in40044005 … while evaluating the attribute 'value'4006 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:4007 1180| // {4008 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4009 | ^4010 1182| # Apply the 'apply' function to the merged value. This allows options to40114012 … while evaluating the option `_services.allServices':40134014 … while evaluating the attribute 'mergedValue'4015 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:4016 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.4017 1276| mergedValue =4018 | ^4019 1277| if isDefined then40204021 … while evaluating a branch condition4022 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:4023 1276| mergedValue =4024 1277| if isDefined then4025 | ^4026 1278| if type.merge ? v2 then40274028 … while evaluating the attribute 'values'4029 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:4030 1269| {4031 1270| values = defsSorted;4032 | ^4033 1271| inherit (defsFiltered) highestPrio;40344035 … while evaluating a branch condition4036 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:4037 1263| # Avoid sorting if we don't have to.4038 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4039 | ^4040 1265| sortProperties defsFiltered.values40414042 … while calling the 'any' builtin4043 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:4044 1263| # Avoid sorting if we don't have to.4045 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4046 | ^4047 1265| sortProperties defsFiltered.values40484049 … from call site4050 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:4051 1258| # Process mkOverride properties.4052 1259| defsFiltered = filterOverrides' defsNormalized;4053 | ^4054 1260|40554056 … while calling anonymous lambda4057 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:4058 1459| in4059 1460| defs:4060 | ^4061 1461| # Optimize for the singleton case, equivalent to the `else` clause.40624063 … while evaluating a branch condition4064 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:4065 1461| # Optimize for the singleton case, equivalent to the `else` clause.4066 1462| if length defs == 1 then4067 | ^4068 1463| {40694070 … while calling the 'length' builtin4071 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:4072 1461| # Optimize for the singleton case, equivalent to the `else` clause.4073 1462| if length defs == 1 then4074 | ^4075 1463| {40764077 … while calling the 'concatMap' builtin4078 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:4079 1243| # Process mkMerge and mkIf properties.4080 1244| defsNormalized = concatMap (4081 | ^4082 1245| m:40834084 … while calling anonymous lambda4085 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:4086 1244| defsNormalized = concatMap (4087 1245| m:4088 | ^4089 1246| map (40904091 … while calling the 'map' builtin4092 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:4093 1245| m:4094 1246| map (4095 | ^4096 1247| value:40974098 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':40994100 … from call site4101 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:4102 1254| }4103 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4104 | ^4105 1256| ) defs;41064107 … while calling 'dischargeProperties'4108 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:4109 1410| dischargeProperties =4110 1411| def:4111 | ^4112 1412| if def ? _type then41134114 … while evaluating a branch condition4115 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:4116 1411| def:4117 1412| if def ? _type then4118 | ^4119 1413| if def._type == "if" then41204121 … while evaluating the attribute 'value'4122 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:4123 865| inherit (module) file;4124 866| inherit value;4125 | ^4126 867| }) module.config41274128 … while calling the 'mapAttrs' builtin4129 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:4130 127| # All services4131 128| allServices = lib.mapAttrs (_module_ident: instances: {4132 | ^4133 129| imports = [41344135 … from call site4136 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:4137 16|4138 17| grouped = lib.foldlAttrs (4139 | ^4140 18| acc: instanceName: instance:41414142 … while calling 'foldlAttrs'4143 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:4144 795| foldlAttrs =4145 796| f: init: set:4146 | ^4147 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);41484149 … while calling the 'foldl'' builtin4150 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:4151 796| f: init: set:4152 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4153 | ^4154 798|41554156 … while calling the 'attrNames' builtin4157 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:4158 796| f: init: set:4159 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4160 | ^4161 798|41624163 … while calling the 'mapAttrs' builtin4164 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:4165 32|4166 33| importedModuleWithInstances = lib.mapAttrs (4167 | ^4168 34| instanceName: instance:41694170 … from call site4171 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:4172 12|4173 13| inventory = clanConfig.inventory;4174 | ^4175 14| flakeInputs = clanConfig.self.inputs;41764177 … while calling anonymous lambda4178 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:4179 282| let4180 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4181 | ^4182 284| in41834184 … while evaluating the attribute 'value'4185 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:4186 1180| // {4187 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4188 | ^4189 1182| # Apply the 'apply' function to the merged value. This allows options to41904191 … while evaluating the option `inventory':41924193 (12 duplicate frames omitted)41944195 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':41964197 … from call site4198 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:4199 1254| }4200 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4201 | ^4202 1256| ) defs;42034204 … while calling 'dischargeProperties'4205 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:4206 1410| dischargeProperties =4207 1411| def:4208 | ^4209 1412| if def ? _type then42104211 … while evaluating a branch condition4212 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:4213 1411| def:4214 1412| if def ? _type then4215 | ^4216 1413| if def._type == "if" then42174218 … while evaluating the attribute 'value'4219 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:4220 865| inherit (module) file;4221 866| inherit value;4222 | ^4223 867| }) module.config42244225 … from call site4226 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:4227 142| # Note: we use clanLib.fs here, so that we can override it in tests4228 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {4229 | ^4230 144| imports = lib.mapAttrsToList (name: _t: {42314232 … while calling 'optionalAttrs'4233 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:4234 1491| */4235 1492| optionalAttrs = cond: as: if cond then as else { };4236 | ^4237 1493|42384239 … while evaluating a branch condition4240 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:4241 1491| */4242 1492| optionalAttrs = cond: as: if cond then as else { };4243 | ^4244 1493|42454246 error: attribute 'clanLib' missing4247 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:4248 48|4249 49| inherit (clan-core) clanLib;4250 | ^4251 50|42524253☢️ resolve_module_spec.test_import_remote_module_by_name4254error:4255 … from call site4256 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/import_module_spec.nix:47:7:4257 46| expr =4258 47| (resolve {4259 | ^4260 48| name = "uzzi";42614262 … while calling anonymous lambda4263 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:4264 282| let4265 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4266 | ^4267 284| in42684269 … while evaluating the attribute 'value'4270 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:4271 1180| // {4272 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4273 | ^4274 1182| # Apply the 'apply' function to the merged value. This allows options to42754276 … while evaluating the option `_services.allServices':42774278 … while evaluating the attribute 'mergedValue'4279 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:4280 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.4281 1276| mergedValue =4282 | ^4283 1277| if isDefined then42844285 … while evaluating a branch condition4286 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:4287 1276| mergedValue =4288 1277| if isDefined then4289 | ^4290 1278| if type.merge ? v2 then42914292 … while evaluating the attribute 'values'4293 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:4294 1269| {4295 1270| values = defsSorted;4296 | ^4297 1271| inherit (defsFiltered) highestPrio;42984299 … while evaluating a branch condition4300 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:4301 1263| # Avoid sorting if we don't have to.4302 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4303 | ^4304 1265| sortProperties defsFiltered.values43054306 … while calling the 'any' builtin4307 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:4308 1263| # Avoid sorting if we don't have to.4309 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4310 | ^4311 1265| sortProperties defsFiltered.values43124313 … from call site4314 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:4315 1258| # Process mkOverride properties.4316 1259| defsFiltered = filterOverrides' defsNormalized;4317 | ^4318 1260|43194320 … while calling anonymous lambda4321 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:4322 1459| in4323 1460| defs:4324 | ^4325 1461| # Optimize for the singleton case, equivalent to the `else` clause.43264327 … while evaluating a branch condition4328 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:4329 1461| # Optimize for the singleton case, equivalent to the `else` clause.4330 1462| if length defs == 1 then4331 | ^4332 1463| {43334334 … while calling the 'length' builtin4335 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:4336 1461| # Optimize for the singleton case, equivalent to the `else` clause.4337 1462| if length defs == 1 then4338 | ^4339 1463| {43404341 … while calling the 'concatMap' builtin4342 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:4343 1243| # Process mkMerge and mkIf properties.4344 1244| defsNormalized = concatMap (4345 | ^4346 1245| m:43474348 … while calling anonymous lambda4349 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:4350 1244| defsNormalized = concatMap (4351 1245| m:4352 | ^4353 1246| map (43544355 … while calling the 'map' builtin4356 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:4357 1245| m:4358 1246| map (4359 | ^4360 1247| value:43614362 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':43634364 … from call site4365 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:4366 1254| }4367 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4368 | ^4369 1256| ) defs;43704371 … while calling 'dischargeProperties'4372 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:4373 1410| dischargeProperties =4374 1411| def:4375 | ^4376 1412| if def ? _type then43774378 … while evaluating a branch condition4379 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:4380 1411| def:4381 1412| if def ? _type then4382 | ^4383 1413| if def._type == "if" then43844385 … while evaluating the attribute 'value'4386 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:4387 865| inherit (module) file;4388 866| inherit value;4389 | ^4390 867| }) module.config43914392 … while calling the 'mapAttrs' builtin4393 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:4394 127| # All services4395 128| allServices = lib.mapAttrs (_module_ident: instances: {4396 | ^4397 129| imports = [43984399 … from call site4400 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:4401 16|4402 17| grouped = lib.foldlAttrs (4403 | ^4404 18| acc: instanceName: instance:44054406 … while calling 'foldlAttrs'4407 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:4408 795| foldlAttrs =4409 796| f: init: set:4410 | ^4411 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);44124413 … while calling the 'foldl'' builtin4414 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:4415 796| f: init: set:4416 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4417 | ^4418 798|44194420 … while calling the 'attrNames' builtin4421 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:4422 796| f: init: set:4423 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4424 | ^4425 798|44264427 … while calling the 'mapAttrs' builtin4428 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:4429 32|4430 33| importedModuleWithInstances = lib.mapAttrs (4431 | ^4432 34| instanceName: instance:44334434 … from call site4435 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:4436 12|4437 13| inventory = clanConfig.inventory;4438 | ^4439 14| flakeInputs = clanConfig.self.inputs;44404441 … while calling anonymous lambda4442 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:4443 282| let4444 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4445 | ^4446 284| in44474448 … while evaluating the attribute 'value'4449 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:4450 1180| // {4451 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4452 | ^4453 1182| # Apply the 'apply' function to the merged value. This allows options to44544455 … while evaluating the option `inventory':44564457 (12 duplicate frames omitted)44584459 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':44604461 … from call site4462 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:4463 1254| }4464 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4465 | ^4466 1256| ) defs;44674468 … while calling 'dischargeProperties'4469 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:4470 1410| dischargeProperties =4471 1411| def:4472 | ^4473 1412| if def ? _type then44744475 … while evaluating a branch condition4476 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:4477 1411| def:4478 1412| if def ? _type then4479 | ^4480 1413| if def._type == "if" then44814482 … while evaluating the attribute 'value'4483 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:4484 865| inherit (module) file;4485 866| inherit value;4486 | ^4487 867| }) module.config44884489 … from call site4490 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:4491 142| # Note: we use clanLib.fs here, so that we can override it in tests4492 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {4493 | ^4494 144| imports = lib.mapAttrsToList (name: _t: {44954496 … while calling 'optionalAttrs'4497 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:4498 1491| */4499 1492| optionalAttrs = cond: as: if cond then as else { };4500 | ^4501 1493|45024503 … while evaluating a branch condition4504 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:4505 1491| */4506 1492| optionalAttrs = cond: as: if cond then as else { };4507 | ^4508 1493|45094510 error: attribute 'clanLib' missing4511 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:4512 48|4513 49| inherit (clan-core) clanLib;4514 | ^4515 50|45164517☢️ settings.test_simple4518error:4519 … while calling the 'mapAttrs' builtin4520 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/settings.nix:60:17:4521 59|4522 60| mapSettings = lib.mapAttrs applySettings config.instances;4523 | ^4524 61| in45254526 … from call site4527 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/settings.nix:48:12:4528 47|4529 48| config = res.config._services.allServices.self-A;4530 | ^4531 49|45324533 … while calling anonymous lambda4534 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:4535 282| let4536 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4537 | ^4538 284| in45394540 … while evaluating the attribute 'value'4541 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:4542 1180| // {4543 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4544 | ^4545 1182| # Apply the 'apply' function to the merged value. This allows options to45464547 … while evaluating the option `_services.allServices':45484549 … while evaluating the attribute 'mergedValue'4550 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:4551 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.4552 1276| mergedValue =4553 | ^4554 1277| if isDefined then45554556 … while evaluating a branch condition4557 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:4558 1276| mergedValue =4559 1277| if isDefined then4560 | ^4561 1278| if type.merge ? v2 then45624563 … while evaluating the attribute 'values'4564 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:4565 1269| {4566 1270| values = defsSorted;4567 | ^4568 1271| inherit (defsFiltered) highestPrio;45694570 … while evaluating a branch condition4571 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:4572 1263| # Avoid sorting if we don't have to.4573 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4574 | ^4575 1265| sortProperties defsFiltered.values45764577 … while calling the 'any' builtin4578 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:4579 1263| # Avoid sorting if we don't have to.4580 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4581 | ^4582 1265| sortProperties defsFiltered.values45834584 … from call site4585 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:4586 1258| # Process mkOverride properties.4587 1259| defsFiltered = filterOverrides' defsNormalized;4588 | ^4589 1260|45904591 … while calling anonymous lambda4592 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:4593 1459| in4594 1460| defs:4595 | ^4596 1461| # Optimize for the singleton case, equivalent to the `else` clause.45974598 … while evaluating a branch condition4599 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:4600 1461| # Optimize for the singleton case, equivalent to the `else` clause.4601 1462| if length defs == 1 then4602 | ^4603 1463| {46044605 … while calling the 'length' builtin4606 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:4607 1461| # Optimize for the singleton case, equivalent to the `else` clause.4608 1462| if length defs == 1 then4609 | ^4610 1463| {46114612 … while calling the 'concatMap' builtin4613 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:4614 1243| # Process mkMerge and mkIf properties.4615 1244| defsNormalized = concatMap (4616 | ^4617 1245| m:46184619 … while calling anonymous lambda4620 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:4621 1244| defsNormalized = concatMap (4622 1245| m:4623 | ^4624 1246| map (46254626 … while calling the 'map' builtin4627 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:4628 1245| m:4629 1246| map (4630 | ^4631 1247| value:46324633 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':46344635 … from call site4636 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:4637 1254| }4638 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4639 | ^4640 1256| ) defs;46414642 … while calling 'dischargeProperties'4643 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:4644 1410| dischargeProperties =4645 1411| def:4646 | ^4647 1412| if def ? _type then46484649 … while evaluating a branch condition4650 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:4651 1411| def:4652 1412| if def ? _type then4653 | ^4654 1413| if def._type == "if" then46554656 … while evaluating the attribute 'value'4657 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:4658 865| inherit (module) file;4659 866| inherit value;4660 | ^4661 867| }) module.config46624663 … while calling the 'mapAttrs' builtin4664 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:4665 127| # All services4666 128| allServices = lib.mapAttrs (_module_ident: instances: {4667 | ^4668 129| imports = [46694670 … from call site4671 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:4672 16|4673 17| grouped = lib.foldlAttrs (4674 | ^4675 18| acc: instanceName: instance:46764677 … while calling 'foldlAttrs'4678 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:4679 795| foldlAttrs =4680 796| f: init: set:4681 | ^4682 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);46834684 … while calling the 'foldl'' builtin4685 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:4686 796| f: init: set:4687 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4688 | ^4689 798|46904691 … while calling the 'attrNames' builtin4692 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:4693 796| f: init: set:4694 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4695 | ^4696 798|46974698 … while calling the 'mapAttrs' builtin4699 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:4700 32|4701 33| importedModuleWithInstances = lib.mapAttrs (4702 | ^4703 34| instanceName: instance:47044705 … from call site4706 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:4707 12|4708 13| inventory = clanConfig.inventory;4709 | ^4710 14| flakeInputs = clanConfig.self.inputs;47114712 … while calling anonymous lambda4713 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:4714 282| let4715 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4716 | ^4717 284| in47184719 … while evaluating the attribute 'value'4720 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:4721 1180| // {4722 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4723 | ^4724 1182| # Apply the 'apply' function to the merged value. This allows options to47254726 … while evaluating the option `inventory':47274728 (12 duplicate frames omitted)47294730 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':47314732 … from call site4733 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:4734 1254| }4735 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4736 | ^4737 1256| ) defs;47384739 … while calling 'dischargeProperties'4740 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:4741 1410| dischargeProperties =4742 1411| def:4743 | ^4744 1412| if def ? _type then47454746 … while evaluating a branch condition4747 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:4748 1411| def:4749 1412| if def ? _type then4750 | ^4751 1413| if def._type == "if" then47524753 … while evaluating the attribute 'value'4754 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:4755 865| inherit (module) file;4756 866| inherit value;4757 | ^4758 867| }) module.config47594760 … from call site4761 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:4762 142| # Note: we use clanLib.fs here, so that we can override it in tests4763 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {4764 | ^4765 144| imports = lib.mapAttrsToList (name: _t: {47664767 … while calling 'optionalAttrs'4768 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:4769 1491| */4770 1492| optionalAttrs = cond: as: if cond then as else { };4771 | ^4772 1493|47734774 … while evaluating a branch condition4775 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:4776 1491| */4777 1492| optionalAttrs = cond: as: if cond then as else { };4778 | ^4779 1493|47804781 error: attribute 'clanLib' missing4782 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:4783 48|4784 49| inherit (clan-core) clanLib;4785 | ^4786 50|47874788☢️ settings.test_tag_settings4789error:4790 … while calling the 'mapAttrs' builtin4791 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/settings.nix:120:14:4792 119| };4793 120| map2 = lib.mapAttrs (4794 | ^4795 121| instanceName: instance:47964797 … from call site4798 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/settings.nix:129:16:4799 128| ) config.instances;4800 129| config = res2.config._services.allServices."self-B";4801 | ^4802 130| in48034804 … while calling anonymous lambda4805 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:4806 282| let4807 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4808 | ^4809 284| in48104811 … while evaluating the attribute 'value'4812 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:4813 1180| // {4814 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4815 | ^4816 1182| # Apply the 'apply' function to the merged value. This allows options to48174818 … while evaluating the option `_services.allServices':48194820 … while evaluating the attribute 'mergedValue'4821 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:4822 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.4823 1276| mergedValue =4824 | ^4825 1277| if isDefined then48264827 … while evaluating a branch condition4828 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:4829 1276| mergedValue =4830 1277| if isDefined then4831 | ^4832 1278| if type.merge ? v2 then48334834 … while evaluating the attribute 'values'4835 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:4836 1269| {4837 1270| values = defsSorted;4838 | ^4839 1271| inherit (defsFiltered) highestPrio;48404841 … while evaluating a branch condition4842 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:4843 1263| # Avoid sorting if we don't have to.4844 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4845 | ^4846 1265| sortProperties defsFiltered.values48474848 … while calling the 'any' builtin4849 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:4850 1263| # Avoid sorting if we don't have to.4851 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4852 | ^4853 1265| sortProperties defsFiltered.values48544855 … from call site4856 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:4857 1258| # Process mkOverride properties.4858 1259| defsFiltered = filterOverrides' defsNormalized;4859 | ^4860 1260|48614862 … while calling anonymous lambda4863 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:4864 1459| in4865 1460| defs:4866 | ^4867 1461| # Optimize for the singleton case, equivalent to the `else` clause.48684869 … while evaluating a branch condition4870 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:4871 1461| # Optimize for the singleton case, equivalent to the `else` clause.4872 1462| if length defs == 1 then4873 | ^4874 1463| {48754876 … while calling the 'length' builtin4877 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:4878 1461| # Optimize for the singleton case, equivalent to the `else` clause.4879 1462| if length defs == 1 then4880 | ^4881 1463| {48824883 … while calling the 'concatMap' builtin4884 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:4885 1243| # Process mkMerge and mkIf properties.4886 1244| defsNormalized = concatMap (4887 | ^4888 1245| m:48894890 … while calling anonymous lambda4891 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:4892 1244| defsNormalized = concatMap (4893 1245| m:4894 | ^4895 1246| map (48964897 … while calling the 'map' builtin4898 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:4899 1245| m:4900 1246| map (4901 | ^4902 1247| value:49034904 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':49054906 … from call site4907 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:4908 1254| }4909 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4910 | ^4911 1256| ) defs;49124913 … while calling 'dischargeProperties'4914 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:4915 1410| dischargeProperties =4916 1411| def:4917 | ^4918 1412| if def ? _type then49194920 … while evaluating a branch condition4921 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:4922 1411| def:4923 1412| if def ? _type then4924 | ^4925 1413| if def._type == "if" then49264927 … while evaluating the attribute 'value'4928 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:4929 865| inherit (module) file;4930 866| inherit value;4931 | ^4932 867| }) module.config49334934 … while calling the 'mapAttrs' builtin4935 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:4936 127| # All services4937 128| allServices = lib.mapAttrs (_module_ident: instances: {4938 | ^4939 129| imports = [49404941 … from call site4942 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:4943 16|4944 17| grouped = lib.foldlAttrs (4945 | ^4946 18| acc: instanceName: instance:49474948 … while calling 'foldlAttrs'4949 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:4950 795| foldlAttrs =4951 796| f: init: set:4952 | ^4953 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);49544955 … while calling the 'foldl'' builtin4956 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:4957 796| f: init: set:4958 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4959 | ^4960 798|49614962 … while calling the 'attrNames' builtin4963 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:4964 796| f: init: set:4965 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4966 | ^4967 798|49684969 … while calling the 'mapAttrs' builtin4970 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:4971 32|4972 33| importedModuleWithInstances = lib.mapAttrs (4973 | ^4974 34| instanceName: instance:49754976 … from call site4977 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:4978 12|4979 13| inventory = clanConfig.inventory;4980 | ^4981 14| flakeInputs = clanConfig.self.inputs;49824983 … while calling anonymous lambda4984 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:4985 282| let4986 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4987 | ^4988 284| in49894990 … while evaluating the attribute 'value'4991 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:4992 1180| // {4993 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4994 | ^4995 1182| # Apply the 'apply' function to the merged value. This allows options to49964997 … while evaluating the option `inventory':49984999 (12 duplicate frames omitted)50005001 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':50025003 … from call site5004 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:5005 1254| }5006 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5007 | ^5008 1256| ) defs;50095010 … while calling 'dischargeProperties'5011 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:5012 1410| dischargeProperties =5013 1411| def:5014 | ^5015 1412| if def ? _type then50165017 … while evaluating a branch condition5018 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:5019 1411| def:5020 1412| if def ? _type then5021 | ^5022 1413| if def._type == "if" then50235024 … while evaluating the attribute 'value'5025 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:5026 865| inherit (module) file;5027 866| inherit value;5028 | ^5029 867| }) module.config50305031 … from call site5032 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:5033 142| # Note: we use clanLib.fs here, so that we can override it in tests5034 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {5035 | ^5036 144| imports = lib.mapAttrsToList (name: _t: {50375038 … while calling 'optionalAttrs'5039 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:5040 1491| */5041 1492| optionalAttrs = cond: as: if cond then as else { };5042 | ^5043 1493|50445045 … while evaluating a branch condition5046 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:5047 1491| */5048 1492| optionalAttrs = cond: as: if cond then as else { };5049 | ^5050 1493|50515052 error: attribute 'clanLib' missing5053 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:5054 48|5055 49| inherit (clan-core) clanLib;5056 | ^5057 50|50585059☢️ specialArgs.test_simple5060error:5061 … while calling the 'attrNames' builtin5062 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/specialArgs.nix:31:17:5063 30|5064 31| specialArgs = lib.attrNames res.config._services.allServices.self-A.test.specialArgs;5065 | ^5066 32| in50675068 … from call site5069 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/specialArgs.nix:31:31:5070 30|5071 31| specialArgs = lib.attrNames res.config._services.allServices.self-A.test.specialArgs;5072 | ^5073 32| in50745075 … while calling anonymous lambda5076 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:5077 282| let5078 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);5079 | ^5080 284| in50815082 … while evaluating the attribute 'value'5083 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:5084 1180| // {5085 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (5086 | ^5087 1182| # Apply the 'apply' function to the merged value. This allows options to50885089 … while evaluating the option `_services.allServices':50905091 … while evaluating the attribute 'mergedValue'5092 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:5093 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.5094 1276| mergedValue =5095 | ^5096 1277| if isDefined then50975098 … while evaluating a branch condition5099 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:5100 1276| mergedValue =5101 1277| if isDefined then5102 | ^5103 1278| if type.merge ? v2 then51045105 … while evaluating the attribute 'values'5106 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:5107 1269| {5108 1270| values = defsSorted;5109 | ^5110 1271| inherit (defsFiltered) highestPrio;51115112 … while evaluating a branch condition5113 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:5114 1263| # Avoid sorting if we don't have to.5115 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5116 | ^5117 1265| sortProperties defsFiltered.values51185119 … while calling the 'any' builtin5120 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:5121 1263| # Avoid sorting if we don't have to.5122 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5123 | ^5124 1265| sortProperties defsFiltered.values51255126 … from call site5127 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:5128 1258| # Process mkOverride properties.5129 1259| defsFiltered = filterOverrides' defsNormalized;5130 | ^5131 1260|51325133 … while calling anonymous lambda5134 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:5135 1459| in5136 1460| defs:5137 | ^5138 1461| # Optimize for the singleton case, equivalent to the `else` clause.51395140 … while evaluating a branch condition5141 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:5142 1461| # Optimize for the singleton case, equivalent to the `else` clause.5143 1462| if length defs == 1 then5144 | ^5145 1463| {51465147 … while calling the 'length' builtin5148 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:5149 1461| # Optimize for the singleton case, equivalent to the `else` clause.5150 1462| if length defs == 1 then5151 | ^5152 1463| {51535154 … while calling the 'concatMap' builtin5155 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:5156 1243| # Process mkMerge and mkIf properties.5157 1244| defsNormalized = concatMap (5158 | ^5159 1245| m:51605161 … while calling anonymous lambda5162 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:5163 1244| defsNormalized = concatMap (5164 1245| m:5165 | ^5166 1246| map (51675168 … while calling the 'map' builtin5169 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:5170 1245| m:5171 1246| map (5172 | ^5173 1247| value:51745175 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':51765177 … from call site5178 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:5179 1254| }5180 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5181 | ^5182 1256| ) defs;51835184 … while calling 'dischargeProperties'5185 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:5186 1410| dischargeProperties =5187 1411| def:5188 | ^5189 1412| if def ? _type then51905191 … while evaluating a branch condition5192 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:5193 1411| def:5194 1412| if def ? _type then5195 | ^5196 1413| if def._type == "if" then51975198 … while evaluating the attribute 'value'5199 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:5200 865| inherit (module) file;5201 866| inherit value;5202 | ^5203 867| }) module.config52045205 … while calling the 'mapAttrs' builtin5206 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:5207 127| # All services5208 128| allServices = lib.mapAttrs (_module_ident: instances: {5209 | ^5210 129| imports = [52115212 … from call site5213 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:5214 16|5215 17| grouped = lib.foldlAttrs (5216 | ^5217 18| acc: instanceName: instance:52185219 … while calling 'foldlAttrs'5220 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:5221 795| foldlAttrs =5222 796| f: init: set:5223 | ^5224 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);52255226 … while calling the 'foldl'' builtin5227 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:5228 796| f: init: set:5229 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5230 | ^5231 798|52325233 … while calling the 'attrNames' builtin5234 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:5235 796| f: init: set:5236 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5237 | ^5238 798|52395240 … while calling the 'mapAttrs' builtin5241 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:5242 32|5243 33| importedModuleWithInstances = lib.mapAttrs (5244 | ^5245 34| instanceName: instance:52465247 … from call site5248 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:5249 12|5250 13| inventory = clanConfig.inventory;5251 | ^5252 14| flakeInputs = clanConfig.self.inputs;52535254 … while calling anonymous lambda5255 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:5256 282| let5257 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);5258 | ^5259 284| in52605261 … while evaluating the attribute 'value'5262 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:5263 1180| // {5264 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (5265 | ^5266 1182| # Apply the 'apply' function to the merged value. This allows options to52675268 … while evaluating the option `inventory':52695270 (12 duplicate frames omitted)52715272 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':52735274 … from call site5275 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:5276 1254| }5277 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5278 | ^5279 1256| ) defs;52805281 … while calling 'dischargeProperties'5282 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:5283 1410| dischargeProperties =5284 1411| def:5285 | ^5286 1412| if def ? _type then52875288 … while evaluating a branch condition5289 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:5290 1411| def:5291 1412| if def ? _type then5292 | ^5293 1413| if def._type == "if" then52945295 … while evaluating the attribute 'value'5296 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:5297 865| inherit (module) file;5298 866| inherit value;5299 | ^5300 867| }) module.config53015302 … from call site5303 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:5304 142| # Note: we use clanLib.fs here, so that we can override it in tests5305 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {5306 | ^5307 144| imports = lib.mapAttrsToList (name: _t: {53085309 … while calling 'optionalAttrs'5310 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:5311 1491| */5312 1492| optionalAttrs = cond: as: if cond then as else { };5313 | ^5314 1493|53155316 … while evaluating a branch condition5317 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:5318 1491| */5319 1492| optionalAttrs = cond: as: if cond then as else { };5320 | ^5321 1493|53225323 error: attribute 'clanLib' missing5324 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:5325 48|5326 49| inherit (clan-core) clanLib;5327 | ^5328 50|53295330☢️ test_add_machines_directly5331error:5332 … while calling the 'attrNames' builtin5333 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/default.nix:275:14:5334 274| # We might change the attribute name in the future5335 275| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines;5336 | ^5337 276| expected = [53385339 … from call site5340 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/default.nix:275:28:5341 274| # We might change the attribute name in the future5342 275| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines;5343 | ^5344 276| expected = [53455346 … while calling anonymous lambda5347 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:5348 282| let5349 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);5350 | ^5351 284| in53525353 … while evaluating the attribute 'value'5354 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:5355 1180| // {5356 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (5357 | ^5358 1182| # Apply the 'apply' function to the merged value. This allows options to53595360 … while evaluating the option `_services.allServices':53615362 … while evaluating the attribute 'mergedValue'5363 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:5364 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.5365 1276| mergedValue =5366 | ^5367 1277| if isDefined then53685369 … while evaluating a branch condition5370 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:5371 1276| mergedValue =5372 1277| if isDefined then5373 | ^5374 1278| if type.merge ? v2 then53755376 … while evaluating the attribute 'values'5377 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:5378 1269| {5379 1270| values = defsSorted;5380 | ^5381 1271| inherit (defsFiltered) highestPrio;53825383 … while evaluating a branch condition5384 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:5385 1263| # Avoid sorting if we don't have to.5386 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5387 | ^5388 1265| sortProperties defsFiltered.values53895390 … while calling the 'any' builtin5391 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:5392 1263| # Avoid sorting if we don't have to.5393 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5394 | ^5395 1265| sortProperties defsFiltered.values53965397 … from call site5398 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:5399 1258| # Process mkOverride properties.5400 1259| defsFiltered = filterOverrides' defsNormalized;5401 | ^5402 1260|54035404 … while calling anonymous lambda5405 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:5406 1459| in5407 1460| defs:5408 | ^5409 1461| # Optimize for the singleton case, equivalent to the `else` clause.54105411 … while evaluating a branch condition5412 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:5413 1461| # Optimize for the singleton case, equivalent to the `else` clause.5414 1462| if length defs == 1 then5415 | ^5416 1463| {54175418 … while calling the 'length' builtin5419 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:5420 1461| # Optimize for the singleton case, equivalent to the `else` clause.5421 1462| if length defs == 1 then5422 | ^5423 1463| {54245425 … while calling the 'concatMap' builtin5426 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:5427 1243| # Process mkMerge and mkIf properties.5428 1244| defsNormalized = concatMap (5429 | ^5430 1245| m:54315432 … while calling anonymous lambda5433 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:5434 1244| defsNormalized = concatMap (5435 1245| m:5436 | ^5437 1246| map (54385439 … while calling the 'map' builtin5440 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:5441 1245| m:5442 1246| map (5443 | ^5444 1247| value:54455446 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':54475448 … from call site5449 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:5450 1254| }5451 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5452 | ^5453 1256| ) defs;54545455 … while calling 'dischargeProperties'5456 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:5457 1410| dischargeProperties =5458 1411| def:5459 | ^5460 1412| if def ? _type then54615462 … while evaluating a branch condition5463 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:5464 1411| def:5465 1412| if def ? _type then5466 | ^5467 1413| if def._type == "if" then54685469 … while evaluating the attribute 'value'5470 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:5471 865| inherit (module) file;5472 866| inherit value;5473 | ^5474 867| }) module.config54755476 … while calling the 'mapAttrs' builtin5477 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:5478 127| # All services5479 128| allServices = lib.mapAttrs (_module_ident: instances: {5480 | ^5481 129| imports = [54825483 … from call site5484 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:5485 16|5486 17| grouped = lib.foldlAttrs (5487 | ^5488 18| acc: instanceName: instance:54895490 … while calling 'foldlAttrs'5491 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:5492 795| foldlAttrs =5493 796| f: init: set:5494 | ^5495 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);54965497 … while calling the 'foldl'' builtin5498 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:5499 796| f: init: set:5500 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5501 | ^5502 798|55035504 … while calling the 'attrNames' builtin5505 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:5506 796| f: init: set:5507 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5508 | ^5509 798|55105511 … while calling the 'mapAttrs' builtin5512 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:5513 32|5514 33| importedModuleWithInstances = lib.mapAttrs (5515 | ^5516 34| instanceName: instance:55175518 … from call site5519 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:5520 12|5521 13| inventory = clanConfig.inventory;5522 | ^5523 14| flakeInputs = clanConfig.self.inputs;55245525 … while calling anonymous lambda5526 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:5527 282| let5528 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);5529 | ^5530 284| in55315532 … while evaluating the attribute 'value'5533 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:5534 1180| // {5535 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (5536 | ^5537 1182| # Apply the 'apply' function to the merged value. This allows options to55385539 … while evaluating the option `inventory':55405541 (12 duplicate frames omitted)55425543 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':55445545 … from call site5546 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:5547 1254| }5548 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5549 | ^5550 1256| ) defs;55515552 … while calling 'dischargeProperties'5553 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:5554 1410| dischargeProperties =5555 1411| def:5556 | ^5557 1412| if def ? _type then55585559 … while evaluating a branch condition5560 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:5561 1411| def:5562 1412| if def ? _type then5563 | ^5564 1413| if def._type == "if" then55655566 … while evaluating the attribute 'value'5567 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:5568 865| inherit (module) file;5569 866| inherit value;5570 | ^5571 867| }) module.config55725573 … from call site5574 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:5575 142| # Note: we use clanLib.fs here, so that we can override it in tests5576 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {5577 | ^5578 144| imports = lib.mapAttrsToList (name: _t: {55795580 … while calling 'optionalAttrs'5581 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:5582 1491| */5583 1492| optionalAttrs = cond: as: if cond then as else { };5584 | ^5585 1493|55865587 … while evaluating a branch condition5588 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:5589 1491| */5590 1492| optionalAttrs = cond: as: if cond then as else { };5591 | ^5592 1493|55935594 error: attribute 'clanLib' missing5595 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:5596 48|5597 49| inherit (clan-core) clanLib;5598 | ^5599 50|56005601☢️ test_add_machines_via_tags5602error:5603 … while calling the 'attrNames' builtin5604 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/default.nix:329:14:5605 328| # We might change the attribute name in the future5606 329| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines;5607 | ^5608 330| expected = [56095610 … from call site5611 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/default.nix:329:28:5612 328| # We might change the attribute name in the future5613 329| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines;5614 | ^5615 330| expected = [56165617 … while calling anonymous lambda5618 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:5619 282| let5620 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);5621 | ^5622 284| in56235624 … while evaluating the attribute 'value'5625 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:5626 1180| // {5627 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (5628 | ^5629 1182| # Apply the 'apply' function to the merged value. This allows options to56305631 … while evaluating the option `_services.allServices':56325633 … while evaluating the attribute 'mergedValue'5634 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:5635 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.5636 1276| mergedValue =5637 | ^5638 1277| if isDefined then56395640 … while evaluating a branch condition5641 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:5642 1276| mergedValue =5643 1277| if isDefined then5644 | ^5645 1278| if type.merge ? v2 then56465647 … while evaluating the attribute 'values'5648 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:5649 1269| {5650 1270| values = defsSorted;5651 | ^5652 1271| inherit (defsFiltered) highestPrio;56535654 … while evaluating a branch condition5655 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:5656 1263| # Avoid sorting if we don't have to.5657 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5658 | ^5659 1265| sortProperties defsFiltered.values56605661 … while calling the 'any' builtin5662 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:5663 1263| # Avoid sorting if we don't have to.5664 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5665 | ^5666 1265| sortProperties defsFiltered.values56675668 … from call site5669 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:5670 1258| # Process mkOverride properties.5671 1259| defsFiltered = filterOverrides' defsNormalized;5672 | ^5673 1260|56745675 … while calling anonymous lambda5676 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:5677 1459| in5678 1460| defs:5679 | ^5680 1461| # Optimize for the singleton case, equivalent to the `else` clause.56815682 … while evaluating a branch condition5683 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:5684 1461| # Optimize for the singleton case, equivalent to the `else` clause.5685 1462| if length defs == 1 then5686 | ^5687 1463| {56885689 … while calling the 'length' builtin5690 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:5691 1461| # Optimize for the singleton case, equivalent to the `else` clause.5692 1462| if length defs == 1 then5693 | ^5694 1463| {56955696 … while calling the 'concatMap' builtin5697 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:5698 1243| # Process mkMerge and mkIf properties.5699 1244| defsNormalized = concatMap (5700 | ^5701 1245| m:57025703 … while calling anonymous lambda5704 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:5705 1244| defsNormalized = concatMap (5706 1245| m:5707 | ^5708 1246| map (57095710 … while calling the 'map' builtin5711 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:5712 1245| m:5713 1246| map (5714 | ^5715 1247| value:57165717 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':57185719 … from call site5720 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:5721 1254| }5722 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5723 | ^5724 1256| ) defs;57255726 … while calling 'dischargeProperties'5727 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:5728 1410| dischargeProperties =5729 1411| def:5730 | ^5731 1412| if def ? _type then57325733 … while evaluating a branch condition5734 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:5735 1411| def:5736 1412| if def ? _type then5737 | ^5738 1413| if def._type == "if" then57395740 … while evaluating the attribute 'value'5741 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:5742 865| inherit (module) file;5743 866| inherit value;5744 | ^5745 867| }) module.config57465747 … while calling the 'mapAttrs' builtin5748 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:5749 127| # All services5750 128| allServices = lib.mapAttrs (_module_ident: instances: {5751 | ^5752 129| imports = [57535754 … from call site5755 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:5756 16|5757 17| grouped = lib.foldlAttrs (5758 | ^5759 18| acc: instanceName: instance:57605761 … while calling 'foldlAttrs'5762 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:5763 795| foldlAttrs =5764 796| f: init: set:5765 | ^5766 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);57675768 … while calling the 'foldl'' builtin5769 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:5770 796| f: init: set:5771 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5772 | ^5773 798|57745775 … while calling the 'attrNames' builtin5776 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:5777 796| f: init: set:5778 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5779 | ^5780 798|57815782 … while calling the 'mapAttrs' builtin5783 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:5784 32|5785 33| importedModuleWithInstances = lib.mapAttrs (5786 | ^5787 34| instanceName: instance:57885789 … from call site5790 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:5791 12|5792 13| inventory = clanConfig.inventory;5793 | ^5794 14| flakeInputs = clanConfig.self.inputs;57955796 … while calling anonymous lambda5797 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:5798 282| let5799 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);5800 | ^5801 284| in58025803 … while evaluating the attribute 'value'5804 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:5805 1180| // {5806 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (5807 | ^5808 1182| # Apply the 'apply' function to the merged value. This allows options to58095810 … while evaluating the option `inventory':58115812 (12 duplicate frames omitted)58135814 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':58155816 … from call site5817 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:5818 1254| }5819 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5820 | ^5821 1256| ) defs;58225823 … while calling 'dischargeProperties'5824 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:5825 1410| dischargeProperties =5826 1411| def:5827 | ^5828 1412| if def ? _type then58295830 … while evaluating a branch condition5831 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:5832 1411| def:5833 1412| if def ? _type then5834 | ^5835 1413| if def._type == "if" then58365837 … while evaluating the attribute 'value'5838 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:5839 865| inherit (module) file;5840 866| inherit value;5841 | ^5842 867| }) module.config58435844 … from call site5845 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:5846 142| # Note: we use clanLib.fs here, so that we can override it in tests5847 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {5848 | ^5849 144| imports = lib.mapAttrsToList (name: _t: {58505851 … while calling 'optionalAttrs'5852 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:5853 1491| */5854 1492| optionalAttrs = cond: as: if cond then as else { };5855 | ^5856 1493|58575858 … while evaluating a branch condition5859 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:5860 1491| */5861 1492| optionalAttrs = cond: as: if cond then as else { };5862 | ^5863 1493|58645865 error: attribute 'clanLib' missing5866 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:5867 48|5868 49| inherit (clan-core) clanLib;5869 | ^5870 50|58715872☢️ test_creates_all_instances5873error:5874 … while calling the 'attrNames' builtin5875 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/default.nix:217:14:5876 216| # We might change the attribute name in the future5877 217| expr = lib.attrNames res.config._services.allServices.self-A.instances;5878 | ^5879 218| expected = [58805881 … from call site5882 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/default.nix:217:28:5883 216| # We might change the attribute name in the future5884 217| expr = lib.attrNames res.config._services.allServices.self-A.instances;5885 | ^5886 218| expected = [58875888 … while calling anonymous lambda5889 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:5890 282| let5891 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);5892 | ^5893 284| in58945895 … while evaluating the attribute 'value'5896 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:5897 1180| // {5898 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (5899 | ^5900 1182| # Apply the 'apply' function to the merged value. This allows options to59015902 … while evaluating the option `_services.allServices':59035904 … while evaluating the attribute 'mergedValue'5905 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:5906 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.5907 1276| mergedValue =5908 | ^5909 1277| if isDefined then59105911 … while evaluating a branch condition5912 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:5913 1276| mergedValue =5914 1277| if isDefined then5915 | ^5916 1278| if type.merge ? v2 then59175918 … while evaluating the attribute 'values'5919 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:5920 1269| {5921 1270| values = defsSorted;5922 | ^5923 1271| inherit (defsFiltered) highestPrio;59245925 … while evaluating a branch condition5926 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:5927 1263| # Avoid sorting if we don't have to.5928 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5929 | ^5930 1265| sortProperties defsFiltered.values59315932 … while calling the 'any' builtin5933 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:5934 1263| # Avoid sorting if we don't have to.5935 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5936 | ^5937 1265| sortProperties defsFiltered.values59385939 … from call site5940 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:5941 1258| # Process mkOverride properties.5942 1259| defsFiltered = filterOverrides' defsNormalized;5943 | ^5944 1260|59455946 … while calling anonymous lambda5947 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:5948 1459| in5949 1460| defs:5950 | ^5951 1461| # Optimize for the singleton case, equivalent to the `else` clause.59525953 … while evaluating a branch condition5954 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:5955 1461| # Optimize for the singleton case, equivalent to the `else` clause.5956 1462| if length defs == 1 then5957 | ^5958 1463| {59595960 … while calling the 'length' builtin5961 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:5962 1461| # Optimize for the singleton case, equivalent to the `else` clause.5963 1462| if length defs == 1 then5964 | ^5965 1463| {59665967 … while calling the 'concatMap' builtin5968 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:5969 1243| # Process mkMerge and mkIf properties.5970 1244| defsNormalized = concatMap (5971 | ^5972 1245| m:59735974 … while calling anonymous lambda5975 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:5976 1244| defsNormalized = concatMap (5977 1245| m:5978 | ^5979 1246| map (59805981 … while calling the 'map' builtin5982 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:5983 1245| m:5984 1246| map (5985 | ^5986 1247| value:59875988 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':59895990 … from call site5991 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:5992 1254| }5993 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5994 | ^5995 1256| ) defs;59965997 … while calling 'dischargeProperties'5998 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:5999 1410| dischargeProperties =6000 1411| def:6001 | ^6002 1412| if def ? _type then60036004 … while evaluating a branch condition6005 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:6006 1411| def:6007 1412| if def ? _type then6008 | ^6009 1413| if def._type == "if" then60106011 … while evaluating the attribute 'value'6012 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:6013 865| inherit (module) file;6014 866| inherit value;6015 | ^6016 867| }) module.config60176018 … while calling the 'mapAttrs' builtin6019 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:6020 127| # All services6021 128| allServices = lib.mapAttrs (_module_ident: instances: {6022 | ^6023 129| imports = [60246025 … from call site6026 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:6027 16|6028 17| grouped = lib.foldlAttrs (6029 | ^6030 18| acc: instanceName: instance:60316032 … while calling 'foldlAttrs'6033 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:6034 795| foldlAttrs =6035 796| f: init: set:6036 | ^6037 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);60386039 … while calling the 'foldl'' builtin6040 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:6041 796| f: init: set:6042 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6043 | ^6044 798|60456046 … while calling the 'attrNames' builtin6047 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:6048 796| f: init: set:6049 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6050 | ^6051 798|60526053 … while calling the 'mapAttrs' builtin6054 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:6055 32|6056 33| importedModuleWithInstances = lib.mapAttrs (6057 | ^6058 34| instanceName: instance:60596060 … from call site6061 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:6062 12|6063 13| inventory = clanConfig.inventory;6064 | ^6065 14| flakeInputs = clanConfig.self.inputs;60666067 … while calling anonymous lambda6068 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:6069 282| let6070 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);6071 | ^6072 284| in60736074 … while evaluating the attribute 'value'6075 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:6076 1180| // {6077 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (6078 | ^6079 1182| # Apply the 'apply' function to the merged value. This allows options to60806081 … while evaluating the option `inventory':60826083 (12 duplicate frames omitted)60846085 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':60866087 … from call site6088 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:6089 1254| }6090 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6091 | ^6092 1256| ) defs;60936094 … while calling 'dischargeProperties'6095 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:6096 1410| dischargeProperties =6097 1411| def:6098 | ^6099 1412| if def ? _type then61006101 … while evaluating a branch condition6102 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:6103 1411| def:6104 1412| if def ? _type then6105 | ^6106 1413| if def._type == "if" then61076108 … while evaluating the attribute 'value'6109 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:6110 865| inherit (module) file;6111 866| inherit value;6112 | ^6113 867| }) module.config61146115 … from call site6116 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:6117 142| # Note: we use clanLib.fs here, so that we can override it in tests6118 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {6119 | ^6120 144| imports = lib.mapAttrsToList (name: _t: {61216122 … while calling 'optionalAttrs'6123 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:6124 1491| */6125 1492| optionalAttrs = cond: as: if cond then as else { };6126 | ^6127 1493|61286129 … while evaluating a branch condition6130 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:6131 1491| */6132 1492| optionalAttrs = cond: as: if cond then as else { };6133 | ^6134 1493|61356136 error: attribute 'clanLib' missing6137 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:6138 48|6139 49| inherit (clan-core) clanLib;6140 | ^6141 50|61426143☢️ test_manifest_maintainers6144error:6145 … from call site6146 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/default.nix:106:14:6147 105| {6148 106| expr = res.config._services.allServices.self-maintained-module.manifest.maintainers;6149 | ^6150 107| expected = [61516152 … while calling anonymous lambda6153 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:6154 282| let6155 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);6156 | ^6157 284| in61586159 … while evaluating the attribute 'value'6160 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:6161 1180| // {6162 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (6163 | ^6164 1182| # Apply the 'apply' function to the merged value. This allows options to61656166 … while evaluating the option `_services.allServices':61676168 … while evaluating the attribute 'mergedValue'6169 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:6170 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.6171 1276| mergedValue =6172 | ^6173 1277| if isDefined then61746175 … while evaluating a branch condition6176 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:6177 1276| mergedValue =6178 1277| if isDefined then6179 | ^6180 1278| if type.merge ? v2 then61816182 … while evaluating the attribute 'values'6183 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:6184 1269| {6185 1270| values = defsSorted;6186 | ^6187 1271| inherit (defsFiltered) highestPrio;61886189 … while evaluating a branch condition6190 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:6191 1263| # Avoid sorting if we don't have to.6192 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then6193 | ^6194 1265| sortProperties defsFiltered.values61956196 … while calling the 'any' builtin6197 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:6198 1263| # Avoid sorting if we don't have to.6199 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then6200 | ^6201 1265| sortProperties defsFiltered.values62026203 … from call site6204 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:6205 1258| # Process mkOverride properties.6206 1259| defsFiltered = filterOverrides' defsNormalized;6207 | ^6208 1260|62096210 … while calling anonymous lambda6211 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:6212 1459| in6213 1460| defs:6214 | ^6215 1461| # Optimize for the singleton case, equivalent to the `else` clause.62166217 … while evaluating a branch condition6218 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:6219 1461| # Optimize for the singleton case, equivalent to the `else` clause.6220 1462| if length defs == 1 then6221 | ^6222 1463| {62236224 … while calling the 'length' builtin6225 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:6226 1461| # Optimize for the singleton case, equivalent to the `else` clause.6227 1462| if length defs == 1 then6228 | ^6229 1463| {62306231 … while calling the 'concatMap' builtin6232 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:6233 1243| # Process mkMerge and mkIf properties.6234 1244| defsNormalized = concatMap (6235 | ^6236 1245| m:62376238 … while calling anonymous lambda6239 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:6240 1244| defsNormalized = concatMap (6241 1245| m:6242 | ^6243 1246| map (62446245 … while calling the 'map' builtin6246 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:6247 1245| m:6248 1246| map (6249 | ^6250 1247| value:62516252 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':62536254 … from call site6255 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:6256 1254| }6257 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6258 | ^6259 1256| ) defs;62606261 … while calling 'dischargeProperties'6262 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:6263 1410| dischargeProperties =6264 1411| def:6265 | ^6266 1412| if def ? _type then62676268 … while evaluating a branch condition6269 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:6270 1411| def:6271 1412| if def ? _type then6272 | ^6273 1413| if def._type == "if" then62746275 … while evaluating the attribute 'value'6276 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:6277 865| inherit (module) file;6278 866| inherit value;6279 | ^6280 867| }) module.config62816282 … while calling the 'mapAttrs' builtin6283 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:6284 127| # All services6285 128| allServices = lib.mapAttrs (_module_ident: instances: {6286 | ^6287 129| imports = [62886289 … from call site6290 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:6291 16|6292 17| grouped = lib.foldlAttrs (6293 | ^6294 18| acc: instanceName: instance:62956296 … while calling 'foldlAttrs'6297 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:6298 795| foldlAttrs =6299 796| f: init: set:6300 | ^6301 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);63026303 … while calling the 'foldl'' builtin6304 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:6305 796| f: init: set:6306 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6307 | ^6308 798|63096310 … while calling the 'attrNames' builtin6311 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:6312 796| f: init: set:6313 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6314 | ^6315 798|63166317 … while calling the 'mapAttrs' builtin6318 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:6319 32|6320 33| importedModuleWithInstances = lib.mapAttrs (6321 | ^6322 34| instanceName: instance:63236324 … from call site6325 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:6326 12|6327 13| inventory = clanConfig.inventory;6328 | ^6329 14| flakeInputs = clanConfig.self.inputs;63306331 … while calling anonymous lambda6332 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:6333 282| let6334 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);6335 | ^6336 284| in63376338 … while evaluating the attribute 'value'6339 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:6340 1180| // {6341 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (6342 | ^6343 1182| # Apply the 'apply' function to the merged value. This allows options to63446345 … while evaluating the option `inventory':63466347 (12 duplicate frames omitted)63486349 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':63506351 … from call site6352 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:6353 1254| }6354 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6355 | ^6356 1256| ) defs;63576358 … while calling 'dischargeProperties'6359 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:6360 1410| dischargeProperties =6361 1411| def:6362 | ^6363 1412| if def ? _type then63646365 … while evaluating a branch condition6366 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:6367 1411| def:6368 1412| if def ? _type then6369 | ^6370 1413| if def._type == "if" then63716372 … while evaluating the attribute 'value'6373 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:6374 865| inherit (module) file;6375 866| inherit value;6376 | ^6377 867| }) module.config63786379 … from call site6380 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:6381 142| # Note: we use clanLib.fs here, so that we can override it in tests6382 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {6383 | ^6384 144| imports = lib.mapAttrsToList (name: _t: {63856386 … while calling 'optionalAttrs'6387 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:6388 1491| */6389 1492| optionalAttrs = cond: as: if cond then as else { };6390 | ^6391 1493|63926393 … while evaluating a branch condition6394 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:6395 1491| */6396 1492| optionalAttrs = cond: as: if cond then as else { };6397 | ^6398 1493|63996400 error: attribute 'clanLib' missing6401 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:6402 48|6403 49| inherit (clan-core) clanLib;6404 | ^6405 50|64066407☢️ test_module_grouping6408error:6409 … while calling the 'attrNames' builtin6410 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/default.nix:171:14:6411 170| # We might change the attribute name in the future6412 171| expr = lib.attrNames res.config._services.allServices;6413 | ^6414 172| expected = [64156416 … from call site6417 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/default.nix:171:28:6418 170| # We might change the attribute name in the future6419 171| expr = lib.attrNames res.config._services.allServices;6420 | ^6421 172| expected = [64226423 … while calling anonymous lambda6424 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:6425 282| let6426 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);6427 | ^6428 284| in64296430 … while evaluating the attribute 'value'6431 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:6432 1180| // {6433 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (6434 | ^6435 1182| # Apply the 'apply' function to the merged value. This allows options to64366437 … while evaluating the option `_services.allServices':64386439 … while evaluating the attribute 'mergedValue'6440 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:6441 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.6442 1276| mergedValue =6443 | ^6444 1277| if isDefined then64456446 … while evaluating a branch condition6447 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:6448 1276| mergedValue =6449 1277| if isDefined then6450 | ^6451 1278| if type.merge ? v2 then64526453 … while evaluating the attribute 'values'6454 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:6455 1269| {6456 1270| values = defsSorted;6457 | ^6458 1271| inherit (defsFiltered) highestPrio;64596460 … while evaluating a branch condition6461 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:6462 1263| # Avoid sorting if we don't have to.6463 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then6464 | ^6465 1265| sortProperties defsFiltered.values64666467 … while calling the 'any' builtin6468 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:6469 1263| # Avoid sorting if we don't have to.6470 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then6471 | ^6472 1265| sortProperties defsFiltered.values64736474 … from call site6475 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:6476 1258| # Process mkOverride properties.6477 1259| defsFiltered = filterOverrides' defsNormalized;6478 | ^6479 1260|64806481 … while calling anonymous lambda6482 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:6483 1459| in6484 1460| defs:6485 | ^6486 1461| # Optimize for the singleton case, equivalent to the `else` clause.64876488 … while evaluating a branch condition6489 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:6490 1461| # Optimize for the singleton case, equivalent to the `else` clause.6491 1462| if length defs == 1 then6492 | ^6493 1463| {64946495 … while calling the 'length' builtin6496 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:6497 1461| # Optimize for the singleton case, equivalent to the `else` clause.6498 1462| if length defs == 1 then6499 | ^6500 1463| {65016502 … while calling the 'concatMap' builtin6503 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:6504 1243| # Process mkMerge and mkIf properties.6505 1244| defsNormalized = concatMap (6506 | ^6507 1245| m:65086509 … while calling anonymous lambda6510 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:6511 1244| defsNormalized = concatMap (6512 1245| m:6513 | ^6514 1246| map (65156516 … while calling the 'map' builtin6517 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:6518 1245| m:6519 1246| map (6520 | ^6521 1247| value:65226523 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':65246525 … from call site6526 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:6527 1254| }6528 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6529 | ^6530 1256| ) defs;65316532 … while calling 'dischargeProperties'6533 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:6534 1410| dischargeProperties =6535 1411| def:6536 | ^6537 1412| if def ? _type then65386539 … while evaluating a branch condition6540 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:6541 1411| def:6542 1412| if def ? _type then6543 | ^6544 1413| if def._type == "if" then65456546 … while evaluating the attribute 'value'6547 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:6548 865| inherit (module) file;6549 866| inherit value;6550 | ^6551 867| }) module.config65526553 … while calling the 'mapAttrs' builtin6554 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:6555 127| # All services6556 128| allServices = lib.mapAttrs (_module_ident: instances: {6557 | ^6558 129| imports = [65596560 … from call site6561 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:6562 16|6563 17| grouped = lib.foldlAttrs (6564 | ^6565 18| acc: instanceName: instance:65666567 … while calling 'foldlAttrs'6568 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:6569 795| foldlAttrs =6570 796| f: init: set:6571 | ^6572 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);65736574 … while calling the 'foldl'' builtin6575 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:6576 796| f: init: set:6577 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6578 | ^6579 798|65806581 … while calling the 'attrNames' builtin6582 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:6583 796| f: init: set:6584 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6585 | ^6586 798|65876588 … while calling the 'mapAttrs' builtin6589 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:6590 32|6591 33| importedModuleWithInstances = lib.mapAttrs (6592 | ^6593 34| instanceName: instance:65946595 … from call site6596 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:6597 12|6598 13| inventory = clanConfig.inventory;6599 | ^6600 14| flakeInputs = clanConfig.self.inputs;66016602 … while calling anonymous lambda6603 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:6604 282| let6605 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);6606 | ^6607 284| in66086609 … while evaluating the attribute 'value'6610 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:6611 1180| // {6612 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (6613 | ^6614 1182| # Apply the 'apply' function to the merged value. This allows options to66156616 … while evaluating the option `inventory':66176618 (12 duplicate frames omitted)66196620 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':66216622 … from call site6623 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:6624 1254| }6625 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6626 | ^6627 1256| ) defs;66286629 … while calling 'dischargeProperties'6630 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:6631 1410| dischargeProperties =6632 1411| def:6633 | ^6634 1412| if def ? _type then66356636 … while evaluating a branch condition6637 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:6638 1411| def:6639 1412| if def ? _type then6640 | ^6641 1413| if def._type == "if" then66426643 … while evaluating the attribute 'value'6644 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:6645 865| inherit (module) file;6646 866| inherit value;6647 | ^6648 867| }) module.config66496650 … from call site6651 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:6652 142| # Note: we use clanLib.fs here, so that we can override it in tests6653 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {6654 | ^6655 144| imports = lib.mapAttrsToList (name: _t: {66566657 … while calling 'optionalAttrs'6658 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:6659 1491| */6660 1492| optionalAttrs = cond: as: if cond then as else { };6661 | ^6662 1493|66636664 … while evaluating a branch condition6665 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:6666 1491| */6667 1492| optionalAttrs = cond: as: if cond then as else { };6668 | ^6669 1493|66706671 error: attribute 'clanLib' missing6672 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:6673 48|6674 49| inherit (clan-core) clanLib;6675 | ^6676 50|66776678☢️ test_simple6679error:6680 … from call site6681 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/lib/inventory/distributed-service/tests/default.nix:74:14:6682 73| # We might change the attribute name in the future6683 74| expr = res.config._services.allServices ? "<clan-core>-simple-module";6684 | ^6685 75| expected = true;66866687 … while calling anonymous lambda6688 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:6689 282| let6690 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);6691 | ^6692 284| in66936694 … while evaluating the attribute 'value'6695 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:6696 1180| // {6697 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (6698 | ^6699 1182| # Apply the 'apply' function to the merged value. This allows options to67006701 … while evaluating the option `_services.allServices':67026703 … while evaluating the attribute 'mergedValue'6704 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1276:5:6705 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.6706 1276| mergedValue =6707 | ^6708 1277| if isDefined then67096710 … while evaluating a branch condition6711 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1277:7:6712 1276| mergedValue =6713 1277| if isDefined then6714 | ^6715 1278| if type.merge ? v2 then67166717 … while evaluating the attribute 'values'6718 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1270:11:6719 1269| {6720 1270| values = defsSorted;6721 | ^6722 1271| inherit (defsFiltered) highestPrio;67236724 … while evaluating a branch condition6725 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:13:6726 1263| # Avoid sorting if we don't have to.6727 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then6728 | ^6729 1265| sortProperties defsFiltered.values67306731 … while calling the 'any' builtin6732 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1264:16:6733 1263| # Avoid sorting if we don't have to.6734 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then6735 | ^6736 1265| sortProperties defsFiltered.values67376738 … from call site6739 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1259:26:6740 1258| # Process mkOverride properties.6741 1259| defsFiltered = filterOverrides' defsNormalized;6742 | ^6743 1260|67446745 … while calling anonymous lambda6746 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1460:5:6747 1459| in6748 1460| defs:6749 | ^6750 1461| # Optimize for the singleton case, equivalent to the `else` clause.67516752 … while evaluating a branch condition6753 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:5:6754 1461| # Optimize for the singleton case, equivalent to the `else` clause.6755 1462| if length defs == 1 then6756 | ^6757 1463| {67586759 … while calling the 'length' builtin6760 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1462:8:6761 1461| # Optimize for the singleton case, equivalent to the `else` clause.6762 1462| if length defs == 1 then6763 | ^6764 1463| {67656766 … while calling the 'concatMap' builtin6767 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1244:28:6768 1243| # Process mkMerge and mkIf properties.6769 1244| defsNormalized = concatMap (6770 | ^6771 1245| m:67726773 … while calling anonymous lambda6774 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1245:13:6775 1244| defsNormalized = concatMap (6776 1245| m:6777 | ^6778 1246| map (67796780 … while calling the 'map' builtin6781 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1246:13:6782 1245| m:6783 1246| map (6784 | ^6785 1247| value:67866787 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix':67886789 … from call site6790 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:6791 1254| }6792 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6793 | ^6794 1256| ) defs;67956796 … while calling 'dischargeProperties'6797 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:6798 1410| dischargeProperties =6799 1411| def:6800 | ^6801 1412| if def ? _type then68026803 … while evaluating a branch condition6804 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:6805 1411| def:6806 1412| if def ? _type then6807 | ^6808 1413| if def._type == "if" then68096810 … while evaluating the attribute 'value'6811 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:6812 865| inherit (module) file;6813 866| inherit value;6814 | ^6815 867| }) module.config68166817 … while calling the 'mapAttrs' builtin6818 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:128:25:6819 127| # All services6820 128| allServices = lib.mapAttrs (_module_ident: instances: {6821 | ^6822 129| imports = [68236824 … from call site6825 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:17:13:6826 16|6827 17| grouped = lib.foldlAttrs (6828 | ^6829 18| acc: instanceName: instance:68306831 … while calling 'foldlAttrs'6832 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:796:14:6833 795| foldlAttrs =6834 796| f: init: set:6835 | ^6836 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);68376838 … while calling the 'foldl'' builtin6839 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:5:6840 796| f: init: set:6841 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6842 | ^6843 798|68446845 … while calling the 'attrNames' builtin6846 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:797:54:6847 796| f: init: set:6848 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6849 | ^6850 798|68516852 … while calling the 'mapAttrs' builtin6853 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:33:33:6854 32|6855 33| importedModuleWithInstances = lib.mapAttrs (6856 | ^6857 34| instanceName: instance:68586859 … from call site6860 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/distributed-services.nix:13:15:6861 12|6862 13| inventory = clanConfig.inventory;6863 | ^6864 14| flakeInputs = clanConfig.self.inputs;68656866 … while calling anonymous lambda6867 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:283:38:6868 282| let6869 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);6870 | ^6871 284| in68726873 … while evaluating the attribute 'value'6874 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1181:7:6875 1180| // {6876 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (6877 | ^6878 1182| # Apply the 'apply' function to the merged value. This allows options to68796880 … while evaluating the option `inventory':68816882 (12 duplicate frames omitted)68836884 … while evaluating definitions from `/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix':68856886 … from call site6887 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1255:82:6888 1254| }6889 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6890 | ^6891 1256| ) defs;68926893 … while calling 'dischargeProperties'6894 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1411:5:6895 1410| dischargeProperties =6896 1411| def:6897 | ^6898 1412| if def ? _type then68996900 … while evaluating a branch condition6901 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:1412:5:6902 1411| def:6903 1412| if def ? _type then6904 | ^6905 1413| if def._type == "if" then69066907 … while evaluating the attribute 'value'6908 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/modules.nix:866:21:6909 865| inherit (module) file;6910 866| inherit value;6911 | ^6912 867| }) module.config69136914 … from call site6915 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:143:19:6916 142| # Note: we use clanLib.fs here, so that we can override it in tests6917 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {6918 | ^6919 144| imports = lib.mapAttrsToList (name: _t: {69206921 … while calling 'optionalAttrs'6922 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:25:6923 1491| */6924 1492| optionalAttrs = cond: as: if cond then as else { };6925 | ^6926 1493|69276928 … while evaluating a branch condition6929 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/1ng9qp2m2l05hdgadl9f8g203hm43a1v-source/lib/attrsets.nix:1492:29:6930 1491| */6931 1492| optionalAttrs = cond: as: if cond then as else { };6932 | ^6933 1493|69346935 error: attribute 'clanLib' missing6936 at /nix/var/nix/builds/nix-10805-3115480893/nix/store/k1k95i8qb34j8359zii44b19rfr890fh-source/modules/clan/module.nix:49:23:6937 48|6938 49| inherit (clan-core) clanLib;6939 | ^6940 50|694169426943😢 2/27 successful6944error: Tests failed69456946Eval check failed. To re-run this test:6947 nix build .#legacyPackages.aarch64-darwin.evalCheck-eval-lib-distributedServices6948