nixbot

builds

succeeded evalCheck-eval-lib-distributedServices checks.aarch64-darwin.eval-tests · build #959 · raw

1build04: building n3pqw1fsmdc3s3g5247b7dmh3kfb1kmc-evalCheck-eval-lib-distributedServices.drv2warning: not writing modified lock file of flake 'path:/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source':3• Updated input 'data-mesher':4 'https://git.clan.lol/api/v1/repos/clan/data-mesher/archive/4f7b0d3b73da323c0a68b5d7422f6f19124d0392.tar.gz?narHash=sha256-5dCQfuon%2BqbWnbqxMI55HdrInZMrzMw9sRmzk%2B3Ccjg%3D' (2026-10-05)5 → 'path:/nix/store/asya8pxf7risbjh0n14dlqjal1rw8jh9-source?lastModified=1&narHash=sha256-5dCQfuon%2BqbWnbqxMI55HdrInZMrzMw9sRmzk%2B3Ccjg%3D' (1970-01-01)6• Updated input 'disko':7 'github:nix-community/disko/725ea35e410ad83be4931d1bff7e090eacaf3563?narHash=sha256-uZkBR7yHdIKUFB5SZdfgh1qkGfI3XmYmI/lTiquxbck%3D' (2026-09-18)8 → 'path:/nix/store/adcpmshidndclaz4dxjsgklrx3gqhaxp-source?lastModified=1&narHash=sha256-uZkBR7yHdIKUFB5SZdfgh1qkGfI3XmYmI/lTiquxbck%3D' (1970-01-01)9• Updated input 'flake-parts':10 'github:hercules-ci/flake-parts/024633cd702b10285db5cb19b40ad48d2399ba60?narHash=sha256-zTwuwezD0w3hpga6a6P8emidzAZFyWqlNeRBlpWOOl8%3D' (2026-10-01)11 → 'path:/nix/store/6xr58mfvs42ixw6428x3vm9l5h88l2z7-source?lastModified=1&narHash=sha256-zTwuwezD0w3hpga6a6P8emidzAZFyWqlNeRBlpWOOl8%3D' (1970-01-01)12• Updated input 'nix-darwin':13 'github:nix-darwin/nix-darwin/4cff07de74b50e64bdd68cd4e722ab5b6b35ee48?narHash=sha256-oQFip%2Bv0luP8NIxJzmiW4Wu8bILsbFWom5l0zonl8hQ%3D' (2026-08-16)14 → 'path:/nix/store/8ggr67sci43hlp8ba6rhjrdhhj5490am-source?lastModified=1&narHash=sha256-oQFip%2Bv0luP8NIxJzmiW4Wu8bILsbFWom5l0zonl8hQ%3D' (1970-01-01)15• Updated input 'nix-select':16 'https://git.clan.lol/api/v1/repos/clan/nix-select/archive/3d1e3860bef36857a01a2ddecba7cdb0a14c35a9.tar.gz?narHash=sha256-yxcNOha7Cfv2nhVpz9ZXSNKk0R7wt4AiBklJ8D24rVg%3D' (2025-11-16)17 → 'path:/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source?lastModified=1&narHash=sha256-yxcNOha7Cfv2nhVpz9ZXSNKk0R7wt4AiBklJ8D24rVg%3D' (1970-01-01)18• Updated input 'nixpkgs':19 'https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1085827.aa48d3470809/nixexprs.tar.xz?narHash=sha256-R4B%2BRRYmze9htmPZ8xeF19mchTSH99GdaqanKCW8CF8%3D' (2026-10-05)20 → 'path:/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source?lastModified=1&narHash=sha256-R4B%2BRRYmze9htmPZ8xeF19mchTSH99GdaqanKCW8CF8%3D' (1970-01-01)21• Updated input 'sops-nix':22 'github:Mic92/sops-nix/dcd241ba97088c22569d1573286e1b9daad340c0?narHash=sha256-nFxM%2BpKoZ8LJAEnUXARyCaOAloWgaW9kZQOSjWzKcTE%3D' (2026-10-04)23 → 'path:/nix/store/0w8jfjkpbh7z0v22mwp2dsxmv14j7lwn-source?lastModified=1&narHash=sha256-nFxM%2BpKoZ8LJAEnUXARyCaOAloWgaW9kZQOSjWzKcTE%3D' (1970-01-01)24• Updated input 'systems':25 'github:nix-systems/default/d36eeed142f88b5a636f2e3856a53c61654cf29b?narHash=sha256-uuanbkFk8a313Zfrxdcz8Us/yQtaxNnKJtX8v0ZPpd8%3D' (2026-10-05)26 → 'path:/nix/store/3wgddllhk35g2vr8ybjczx2lkqnrsjw5-source?lastModified=1&narHash=sha256-uuanbkFk8a313Zfrxdcz8Us/yQtaxNnKJtX8v0ZPpd8%3D' (1970-01-01)27• Updated input 'treefmt-nix':28 'github:numtide/treefmt-nix/0d6d739a833ba9a9c93034862e4a7b061a062a1c?narHash=sha256-C3alQ2MEt0zVrUSho5NUDo3jmhbff72%2B%2BbfwoqT9Omo%3D' (2026-10-13)29 → 'path:/nix/store/mk5plyv9rrsck1mz8yjra5zphcjai2lj-source?lastModified=1&narHash=sha256-C3alQ2MEt0zVrUSho5NUDo3jmhbff72%2B%2BbfwoqT9Omo%3D' (1970-01-01)30☢️ api_feature_meta.test_default_resolves_meta31error:32 … from call site33 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/api_feature_meta.nix:56:13:34 55|35 56| service = res.config._services.allServices.self-A;36 | ^37 57| assertions = service.result.assertions;3839 … while calling anonymous lambda40 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:41 282| let42 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);43 | ^44 284| in4546 … while evaluating the attribute 'value'47 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:48 1180| // {49 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (50 | ^51 1182| # Apply the 'apply' function to the merged value. This allows options to5253 … while evaluating the option `_services.allServices':5455 … while evaluating the attribute 'mergedValue'56 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:57 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.58 1276| mergedValue =59 | ^60 1277| if isDefined then6162 … while evaluating a branch condition63 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:64 1276| mergedValue =65 1277| if isDefined then66 | ^67 1278| if type.merge ? v2 then6869 … while evaluating the attribute 'values'70 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:71 1269| {72 1270| values = defsSorted;73 | ^74 1271| inherit (defsFiltered) highestPrio;7576 … while evaluating a branch condition77 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:78 1263| # Avoid sorting if we don't have to.79 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then80 | ^81 1265| sortProperties defsFiltered.values8283 … while calling the 'any' builtin84 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:85 1263| # Avoid sorting if we don't have to.86 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then87 | ^88 1265| sortProperties defsFiltered.values8990 … from call site91 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:92 1258| # Process mkOverride properties.93 1259| defsFiltered = filterOverrides' defsNormalized;94 | ^95 1260|9697 … while calling anonymous lambda98 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:99 1459| in100 1460| defs:101 | ^102 1461| # Optimize for the singleton case, equivalent to the `else` clause.103104 … while evaluating a branch condition105 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:106 1461| # Optimize for the singleton case, equivalent to the `else` clause.107 1462| if length defs == 1 then108 | ^109 1463| {110111 … while calling the 'length' builtin112 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:113 1461| # Optimize for the singleton case, equivalent to the `else` clause.114 1462| if length defs == 1 then115 | ^116 1463| {117118 … while calling the 'concatMap' builtin119 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:120 1243| # Process mkMerge and mkIf properties.121 1244| defsNormalized = concatMap (122 | ^123 1245| m:124125 … while calling anonymous lambda126 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:127 1244| defsNormalized = concatMap (128 1245| m:129 | ^130 1246| map (131132 … while calling the 'map' builtin133 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:134 1245| m:135 1246| map (136 | ^137 1247| value:138139 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':140141 … from call site142 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:143 1254| }144 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))145 | ^146 1256| ) defs;147148 … while calling 'dischargeProperties'149 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:150 1410| dischargeProperties =151 1411| def:152 | ^153 1412| if def ? _type then154155 … while evaluating a branch condition156 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:157 1411| def:158 1412| if def ? _type then159 | ^160 1413| if def._type == "if" then161162 … while evaluating the attribute 'value'163 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:164 865| inherit (module) file;165 866| inherit value;166 | ^167 867| }) module.config168169 … while calling the 'mapAttrs' builtin170 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:171 127| # All services172 128| allServices = lib.mapAttrs (_module_ident: instances: {173 | ^174 129| imports = [175176 … from call site177 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:178 16|179 17| grouped = lib.foldlAttrs (180 | ^181 18| acc: instanceName: instance:182183 … while calling 'foldlAttrs'184 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:185 782| foldlAttrs =186 783| f: init: set:187 | ^188 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);189190 … while calling the 'foldl'' builtin191 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:192 783| f: init: set:193 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);194 | ^195 785|196197 … while calling the 'attrNames' builtin198 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:199 783| f: init: set:200 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);201 | ^202 785|203204 … while calling the 'mapAttrs' builtin205 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:206 32|207 33| importedModuleWithInstances = lib.mapAttrs (208 | ^209 34| instanceName: instance:210211 … from call site212 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:213 12|214 13| inventory = clanConfig.inventory;215 | ^216 14| flakeInputs = clanConfig.self.inputs;217218 … while calling anonymous lambda219 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:220 282| let221 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);222 | ^223 284| in224225 … while evaluating the attribute 'value'226 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:227 1180| // {228 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (229 | ^230 1182| # Apply the 'apply' function to the merged value. This allows options to231232 … while evaluating the option `inventory':233234 (12 duplicate frames omitted)235236 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':237238 … from call site239 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:240 1254| }241 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))242 | ^243 1256| ) defs;244245 … while calling 'dischargeProperties'246 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:247 1410| dischargeProperties =248 1411| def:249 | ^250 1412| if def ? _type then251252 … while evaluating a branch condition253 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:254 1411| def:255 1412| if def ? _type then256 | ^257 1413| if def._type == "if" then258259 … while evaluating the attribute 'value'260 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:261 865| inherit (module) file;262 866| inherit value;263 | ^264 867| }) module.config265266 … from call site267 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:268 142| # Note: we use clanLib.fs here, so that we can override it in tests269 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {270 | ^271 144| imports = lib.mapAttrsToList (name: _t: {272273 … while calling 'optionalAttrs'274 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:275 1478| */276 1479| optionalAttrs = cond: as: if cond then as else { };277 | ^278 1480|279280 … while evaluating a branch condition281 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:282 1478| */283 1479| optionalAttrs = cond: as: if cond then as else { };284 | ^285 1480|286287 error: attribute 'clanLib' missing288 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:289 48|290 49| inherit (clan-core) clanLib;291 | ^292 50|293294☢️ api_feature_meta.test_no_failing_assertion295error:296 … from call site297 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/api_feature_meta.nix:56:13:298 55|299 56| service = res.config._services.allServices.self-A;300 | ^301 57| assertions = service.result.assertions;302303 … while calling anonymous lambda304 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:305 282| let306 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);307 | ^308 284| in309310 … while evaluating the attribute 'value'311 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:312 1180| // {313 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (314 | ^315 1182| # Apply the 'apply' function to the merged value. This allows options to316317 … while evaluating the option `_services.allServices':318319 … while evaluating the attribute 'mergedValue'320 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:321 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.322 1276| mergedValue =323 | ^324 1277| if isDefined then325326 … while evaluating a branch condition327 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:328 1276| mergedValue =329 1277| if isDefined then330 | ^331 1278| if type.merge ? v2 then332333 … while evaluating the attribute 'values'334 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:335 1269| {336 1270| values = defsSorted;337 | ^338 1271| inherit (defsFiltered) highestPrio;339340 … while evaluating a branch condition341 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:342 1263| # Avoid sorting if we don't have to.343 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then344 | ^345 1265| sortProperties defsFiltered.values346347 … while calling the 'any' builtin348 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:349 1263| # Avoid sorting if we don't have to.350 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then351 | ^352 1265| sortProperties defsFiltered.values353354 … from call site355 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:356 1258| # Process mkOverride properties.357 1259| defsFiltered = filterOverrides' defsNormalized;358 | ^359 1260|360361 … while calling anonymous lambda362 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:363 1459| in364 1460| defs:365 | ^366 1461| # Optimize for the singleton case, equivalent to the `else` clause.367368 … while evaluating a branch condition369 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:370 1461| # Optimize for the singleton case, equivalent to the `else` clause.371 1462| if length defs == 1 then372 | ^373 1463| {374375 … while calling the 'length' builtin376 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:377 1461| # Optimize for the singleton case, equivalent to the `else` clause.378 1462| if length defs == 1 then379 | ^380 1463| {381382 … while calling the 'concatMap' builtin383 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:384 1243| # Process mkMerge and mkIf properties.385 1244| defsNormalized = concatMap (386 | ^387 1245| m:388389 … while calling anonymous lambda390 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:391 1244| defsNormalized = concatMap (392 1245| m:393 | ^394 1246| map (395396 … while calling the 'map' builtin397 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:398 1245| m:399 1246| map (400 | ^401 1247| value:402403 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':404405 … from call site406 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:407 1254| }408 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))409 | ^410 1256| ) defs;411412 … while calling 'dischargeProperties'413 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:414 1410| dischargeProperties =415 1411| def:416 | ^417 1412| if def ? _type then418419 … while evaluating a branch condition420 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:421 1411| def:422 1412| if def ? _type then423 | ^424 1413| if def._type == "if" then425426 … while evaluating the attribute 'value'427 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:428 865| inherit (module) file;429 866| inherit value;430 | ^431 867| }) module.config432433 … while calling the 'mapAttrs' builtin434 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:435 127| # All services436 128| allServices = lib.mapAttrs (_module_ident: instances: {437 | ^438 129| imports = [439440 … from call site441 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:442 16|443 17| grouped = lib.foldlAttrs (444 | ^445 18| acc: instanceName: instance:446447 … while calling 'foldlAttrs'448 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:449 782| foldlAttrs =450 783| f: init: set:451 | ^452 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);453454 … while calling the 'foldl'' builtin455 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:456 783| f: init: set:457 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);458 | ^459 785|460461 … while calling the 'attrNames' builtin462 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:463 783| f: init: set:464 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);465 | ^466 785|467468 … while calling the 'mapAttrs' builtin469 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:470 32|471 33| importedModuleWithInstances = lib.mapAttrs (472 | ^473 34| instanceName: instance:474475 … from call site476 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:477 12|478 13| inventory = clanConfig.inventory;479 | ^480 14| flakeInputs = clanConfig.self.inputs;481482 … while calling anonymous lambda483 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:484 282| let485 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);486 | ^487 284| in488489 … while evaluating the attribute 'value'490 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:491 1180| // {492 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (493 | ^494 1182| # Apply the 'apply' function to the merged value. This allows options to495496 … while evaluating the option `inventory':497498 (12 duplicate frames omitted)499500 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':501502 … from call site503 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:504 1254| }505 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))506 | ^507 1256| ) defs;508509 … while calling 'dischargeProperties'510 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:511 1410| dischargeProperties =512 1411| def:513 | ^514 1412| if def ? _type then515516 … while evaluating a branch condition517 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:518 1411| def:519 1412| if def ? _type then520 | ^521 1413| if def._type == "if" then522523 … while evaluating the attribute 'value'524 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:525 865| inherit (module) file;526 866| inherit value;527 | ^528 867| }) module.config529530 … from call site531 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:532 142| # Note: we use clanLib.fs here, so that we can override it in tests533 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {534 | ^535 144| imports = lib.mapAttrsToList (name: _t: {536537 … while calling 'optionalAttrs'538 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:539 1478| */540 1479| optionalAttrs = cond: as: if cond then as else { };541 | ^542 1480|543544 … while evaluating a branch condition545 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:546 1478| */547 1479| optionalAttrs = cond: as: if cond then as else { };548 | ^549 1480|550551 error: attribute 'clanLib' missing552 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:553 48|554 49| inherit (clan-core) clanLib;555 | ^556 50|557558☢️ api_feature_meta.test_schema_is_forceable559error:560 … from call site561 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/api_feature_meta.nix:56:13:562 55|563 56| service = res.config._services.allServices.self-A;564 | ^565 57| assertions = service.result.assertions;566567 … while calling anonymous lambda568 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:569 282| let570 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);571 | ^572 284| in573574 … while evaluating the attribute 'value'575 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:576 1180| // {577 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (578 | ^579 1182| # Apply the 'apply' function to the merged value. This allows options to580581 … while evaluating the option `_services.allServices':582583 … while evaluating the attribute 'mergedValue'584 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:585 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.586 1276| mergedValue =587 | ^588 1277| if isDefined then589590 … while evaluating a branch condition591 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:592 1276| mergedValue =593 1277| if isDefined then594 | ^595 1278| if type.merge ? v2 then596597 … while evaluating the attribute 'values'598 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:599 1269| {600 1270| values = defsSorted;601 | ^602 1271| inherit (defsFiltered) highestPrio;603604 … while evaluating a branch condition605 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:606 1263| # Avoid sorting if we don't have to.607 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then608 | ^609 1265| sortProperties defsFiltered.values610611 … while calling the 'any' builtin612 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:613 1263| # Avoid sorting if we don't have to.614 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then615 | ^616 1265| sortProperties defsFiltered.values617618 … from call site619 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:620 1258| # Process mkOverride properties.621 1259| defsFiltered = filterOverrides' defsNormalized;622 | ^623 1260|624625 … while calling anonymous lambda626 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:627 1459| in628 1460| defs:629 | ^630 1461| # Optimize for the singleton case, equivalent to the `else` clause.631632 … while evaluating a branch condition633 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:634 1461| # Optimize for the singleton case, equivalent to the `else` clause.635 1462| if length defs == 1 then636 | ^637 1463| {638639 … while calling the 'length' builtin640 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:641 1461| # Optimize for the singleton case, equivalent to the `else` clause.642 1462| if length defs == 1 then643 | ^644 1463| {645646 … while calling the 'concatMap' builtin647 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:648 1243| # Process mkMerge and mkIf properties.649 1244| defsNormalized = concatMap (650 | ^651 1245| m:652653 … while calling anonymous lambda654 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:655 1244| defsNormalized = concatMap (656 1245| m:657 | ^658 1246| map (659660 … while calling the 'map' builtin661 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:662 1245| m:663 1246| map (664 | ^665 1247| value:666667 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':668669 … from call site670 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:671 1254| }672 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))673 | ^674 1256| ) defs;675676 … while calling 'dischargeProperties'677 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:678 1410| dischargeProperties =679 1411| def:680 | ^681 1412| if def ? _type then682683 … while evaluating a branch condition684 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:685 1411| def:686 1412| if def ? _type then687 | ^688 1413| if def._type == "if" then689690 … while evaluating the attribute 'value'691 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:692 865| inherit (module) file;693 866| inherit value;694 | ^695 867| }) module.config696697 … while calling the 'mapAttrs' builtin698 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:699 127| # All services700 128| allServices = lib.mapAttrs (_module_ident: instances: {701 | ^702 129| imports = [703704 … from call site705 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:706 16|707 17| grouped = lib.foldlAttrs (708 | ^709 18| acc: instanceName: instance:710711 … while calling 'foldlAttrs'712 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:713 782| foldlAttrs =714 783| f: init: set:715 | ^716 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);717718 … while calling the 'foldl'' builtin719 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:720 783| f: init: set:721 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);722 | ^723 785|724725 … while calling the 'attrNames' builtin726 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:727 783| f: init: set:728 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);729 | ^730 785|731732 … while calling the 'mapAttrs' builtin733 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:734 32|735 33| importedModuleWithInstances = lib.mapAttrs (736 | ^737 34| instanceName: instance:738739 … from call site740 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:741 12|742 13| inventory = clanConfig.inventory;743 | ^744 14| flakeInputs = clanConfig.self.inputs;745746 … while calling anonymous lambda747 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:748 282| let749 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);750 | ^751 284| in752753 … while evaluating the attribute 'value'754 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:755 1180| // {756 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (757 | ^758 1182| # Apply the 'apply' function to the merged value. This allows options to759760 … while evaluating the option `inventory':761762 (12 duplicate frames omitted)763764 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':765766 … from call site767 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:768 1254| }769 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))770 | ^771 1256| ) defs;772773 … while calling 'dischargeProperties'774 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:775 1410| dischargeProperties =776 1411| def:777 | ^778 1412| if def ? _type then779780 … while evaluating a branch condition781 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:782 1411| def:783 1412| if def ? _type then784 | ^785 1413| if def._type == "if" then786787 … while evaluating the attribute 'value'788 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:789 865| inherit (module) file;790 866| inherit value;791 | ^792 867| }) module.config793794 … from call site795 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:796 142| # Note: we use clanLib.fs here, so that we can override it in tests797 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {798 | ^799 144| imports = lib.mapAttrsToList (name: _t: {800801 … while calling 'optionalAttrs'802 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:803 1478| */804 1479| optionalAttrs = cond: as: if cond then as else { };805 | ^806 1480|807808 … while evaluating a branch condition809 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:810 1478| */811 1479| optionalAttrs = cond: as: if cond then as else { };812 | ^813 1480|814815 error: attribute 'clanLib' missing816 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:817 48|818 49| inherit (clan-core) clanLib;819 | ^820 50|821822☢️ api_feature_meta.test_static_default_still_works823error:824 … from call site825 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/api_feature_meta.nix:93:18:826 92| };827 93| schemaNoMeta = resNoMeta.config._services.allServices.self-A.result.api.schema;828 | ^829 94| in830831 … while calling anonymous lambda832 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:833 282| let834 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);835 | ^836 284| in837838 … while evaluating the attribute 'value'839 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:840 1180| // {841 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (842 | ^843 1182| # Apply the 'apply' function to the merged value. This allows options to844845 … while evaluating the option `_services.allServices':846847 … while evaluating the attribute 'mergedValue'848 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:849 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.850 1276| mergedValue =851 | ^852 1277| if isDefined then853854 … while evaluating a branch condition855 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:856 1276| mergedValue =857 1277| if isDefined then858 | ^859 1278| if type.merge ? v2 then860861 … while evaluating the attribute 'values'862 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:863 1269| {864 1270| values = defsSorted;865 | ^866 1271| inherit (defsFiltered) highestPrio;867868 … while evaluating a branch condition869 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:870 1263| # Avoid sorting if we don't have to.871 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then872 | ^873 1265| sortProperties defsFiltered.values874875 … while calling the 'any' builtin876 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:877 1263| # Avoid sorting if we don't have to.878 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then879 | ^880 1265| sortProperties defsFiltered.values881882 … from call site883 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:884 1258| # Process mkOverride properties.885 1259| defsFiltered = filterOverrides' defsNormalized;886 | ^887 1260|888889 … while calling anonymous lambda890 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:891 1459| in892 1460| defs:893 | ^894 1461| # Optimize for the singleton case, equivalent to the `else` clause.895896 … while evaluating a branch condition897 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:898 1461| # Optimize for the singleton case, equivalent to the `else` clause.899 1462| if length defs == 1 then900 | ^901 1463| {902903 … while calling the 'length' builtin904 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:905 1461| # Optimize for the singleton case, equivalent to the `else` clause.906 1462| if length defs == 1 then907 | ^908 1463| {909910 … while calling the 'concatMap' builtin911 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:912 1243| # Process mkMerge and mkIf properties.913 1244| defsNormalized = concatMap (914 | ^915 1245| m:916917 … while calling anonymous lambda918 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:919 1244| defsNormalized = concatMap (920 1245| m:921 | ^922 1246| map (923924 … while calling the 'map' builtin925 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:926 1245| m:927 1246| map (928 | ^929 1247| value:930931 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':932933 … from call site934 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:935 1254| }936 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))937 | ^938 1256| ) defs;939940 … while calling 'dischargeProperties'941 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:942 1410| dischargeProperties =943 1411| def:944 | ^945 1412| if def ? _type then946947 … while evaluating a branch condition948 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:949 1411| def:950 1412| if def ? _type then951 | ^952 1413| if def._type == "if" then953954 … while evaluating the attribute 'value'955 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:956 865| inherit (module) file;957 866| inherit value;958 | ^959 867| }) module.config960961 … while calling the 'mapAttrs' builtin962 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:963 127| # All services964 128| allServices = lib.mapAttrs (_module_ident: instances: {965 | ^966 129| imports = [967968 … from call site969 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:970 16|971 17| grouped = lib.foldlAttrs (972 | ^973 18| acc: instanceName: instance:974975 … while calling 'foldlAttrs'976 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:977 782| foldlAttrs =978 783| f: init: set:979 | ^980 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);981982 … while calling the 'foldl'' builtin983 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:984 783| f: init: set:985 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);986 | ^987 785|988989 … while calling the 'attrNames' builtin990 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:991 783| f: init: set:992 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);993 | ^994 785|995996 … while calling the 'mapAttrs' builtin997 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:998 32|999 33| importedModuleWithInstances = lib.mapAttrs (1000 | ^1001 34| instanceName: instance:10021003 … from call site1004 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:1005 12|1006 13| inventory = clanConfig.inventory;1007 | ^1008 14| flakeInputs = clanConfig.self.inputs;10091010 … while calling anonymous lambda1011 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:1012 282| let1013 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1014 | ^1015 284| in10161017 … while evaluating the attribute 'value'1018 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:1019 1180| // {1020 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1021 | ^1022 1182| # Apply the 'apply' function to the merged value. This allows options to10231024 … while evaluating the option `inventory':10251026 (12 duplicate frames omitted)10271028 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':10291030 … from call site1031 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:1032 1254| }1033 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1034 | ^1035 1256| ) defs;10361037 … while calling 'dischargeProperties'1038 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:1039 1410| dischargeProperties =1040 1411| def:1041 | ^1042 1412| if def ? _type then10431044 … while evaluating a branch condition1045 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:1046 1411| def:1047 1412| if def ? _type then1048 | ^1049 1413| if def._type == "if" then10501051 … while evaluating the attribute 'value'1052 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:1053 865| inherit (module) file;1054 866| inherit value;1055 | ^1056 867| }) module.config10571058 … from call site1059 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:1060 142| # Note: we use clanLib.fs here, so that we can override it in tests1061 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {1062 | ^1063 144| imports = lib.mapAttrsToList (name: _t: {10641065 … while calling 'optionalAttrs'1066 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:1067 1478| */1068 1479| optionalAttrs = cond: as: if cond then as else { };1069 | ^1070 1480|10711072 … while evaluating a branch condition1073 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:1074 1478| */1075 1479| optionalAttrs = cond: as: if cond then as else { };1076 | ^1077 1480|10781079 error: attribute 'clanLib' missing1080 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:1081 48|1082 49| inherit (clan-core) clanLib;1083 | ^1084 50|10851086☢️ cli_checks.test_exact_machine_count_pass1087error:1088 … from call site1089 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/cli_checks.nix:182:14:1090 181| inherit res;1091 182| expr = res.config.clanInternals.cliChecks;1092 | ^1093 183| expected = [ ];10941095 … while calling anonymous lambda1096 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:1097 282| let1098 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1099 | ^1100 284| in11011102 … while evaluating the attribute 'value'1103 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:1104 1180| // {1105 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1106 | ^1107 1182| # Apply the 'apply' function to the merged value. This allows options to11081109 … while evaluating the option `clanInternals.cliChecks':11101111 … while evaluating the attribute 'mergedValue'1112 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:1113 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.1114 1276| mergedValue =1115 | ^1116 1277| if isDefined then11171118 … while evaluating a branch condition1119 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:1120 1276| mergedValue =1121 1277| if isDefined then1122 | ^1123 1278| if type.merge ? v2 then11241125 … while evaluating the attribute 'values'1126 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:1127 1269| {1128 1270| values = defsSorted;1129 | ^1130 1271| inherit (defsFiltered) highestPrio;11311132 … while evaluating a branch condition1133 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:1134 1263| # Avoid sorting if we don't have to.1135 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then1136 | ^1137 1265| sortProperties defsFiltered.values11381139 … while calling the 'any' builtin1140 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:1141 1263| # Avoid sorting if we don't have to.1142 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then1143 | ^1144 1265| sortProperties defsFiltered.values11451146 … from call site1147 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:1148 1258| # Process mkOverride properties.1149 1259| defsFiltered = filterOverrides' defsNormalized;1150 | ^1151 1260|11521153 … while calling anonymous lambda1154 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:1155 1459| in1156 1460| defs:1157 | ^1158 1461| # Optimize for the singleton case, equivalent to the `else` clause.11591160 … while evaluating a branch condition1161 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:1162 1461| # Optimize for the singleton case, equivalent to the `else` clause.1163 1462| if length defs == 1 then1164 | ^1165 1463| {11661167 … while calling the 'length' builtin1168 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:1169 1461| # Optimize for the singleton case, equivalent to the `else` clause.1170 1462| if length defs == 1 then1171 | ^1172 1463| {11731174 … while calling the 'concatMap' builtin1175 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:1176 1243| # Process mkMerge and mkIf properties.1177 1244| defsNormalized = concatMap (1178 | ^1179 1245| m:11801181 … while calling anonymous lambda1182 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:1183 1244| defsNormalized = concatMap (1184 1245| m:1185 | ^1186 1246| map (11871188 … while calling the 'map' builtin1189 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:1190 1245| m:1191 1246| map (1192 | ^1193 1247| value:11941195 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':11961197 … from call site1198 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:1199 1254| }1200 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1201 | ^1202 1256| ) defs;12031204 … while calling 'dischargeProperties'1205 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:1206 1410| dischargeProperties =1207 1411| def:1208 | ^1209 1412| if def ? _type then12101211 … while evaluating a branch condition1212 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:1213 1411| def:1214 1412| if def ? _type then1215 | ^1216 1413| if def._type == "if" then12171218 … while evaluating the attribute 'value'1219 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:1220 865| inherit (module) file;1221 866| inherit value;1222 | ^1223 867| }) module.config12241225 … while calling the 'concatMap' builtin1226 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:170:31:1227 169|1228 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1229 | ^1230 171| lib.attrValues config._services.allServices12311232 … while calling the 'attrValues' builtin1233 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:171:7:1234 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1235 171| lib.attrValues config._services.allServices1236 | ^1237 172| );12381239 … from call site1240 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:171:22:1241 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1242 171| lib.attrValues config._services.allServices1243 | ^1244 172| );12451246 … while calling anonymous lambda1247 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:1248 282| let1249 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1250 | ^1251 284| in12521253 … while evaluating the attribute 'value'1254 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:1255 1180| // {1256 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1257 | ^1258 1182| # Apply the 'apply' function to the merged value. This allows options to12591260 … while evaluating the option `_services.allServices':12611262 (17 duplicate frames omitted)12631264 … while calling the 'mapAttrs' builtin1265 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:1266 127| # All services1267 128| allServices = lib.mapAttrs (_module_ident: instances: {1268 | ^1269 129| imports = [12701271 … from call site1272 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:1273 16|1274 17| grouped = lib.foldlAttrs (1275 | ^1276 18| acc: instanceName: instance:12771278 … while calling 'foldlAttrs'1279 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:1280 782| foldlAttrs =1281 783| f: init: set:1282 | ^1283 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);12841285 … while calling the 'foldl'' builtin1286 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:1287 783| f: init: set:1288 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1289 | ^1290 785|12911292 … while calling the 'attrNames' builtin1293 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:1294 783| f: init: set:1295 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1296 | ^1297 785|12981299 … while calling the 'mapAttrs' builtin1300 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:1301 32|1302 33| importedModuleWithInstances = lib.mapAttrs (1303 | ^1304 34| instanceName: instance:13051306 … from call site1307 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:1308 12|1309 13| inventory = clanConfig.inventory;1310 | ^1311 14| flakeInputs = clanConfig.self.inputs;13121313 … while calling anonymous lambda1314 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:1315 282| let1316 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1317 | ^1318 284| in13191320 … while evaluating the attribute 'value'1321 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:1322 1180| // {1323 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1324 | ^1325 1182| # Apply the 'apply' function to the merged value. This allows options to13261327 … while evaluating the option `inventory':13281329 (12 duplicate frames omitted)13301331 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':13321333 … from call site1334 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:1335 1254| }1336 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1337 | ^1338 1256| ) defs;13391340 … while calling 'dischargeProperties'1341 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:1342 1410| dischargeProperties =1343 1411| def:1344 | ^1345 1412| if def ? _type then13461347 … while evaluating a branch condition1348 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:1349 1411| def:1350 1412| if def ? _type then1351 | ^1352 1413| if def._type == "if" then13531354 … while evaluating the attribute 'value'1355 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:1356 865| inherit (module) file;1357 866| inherit value;1358 | ^1359 867| }) module.config13601361 … from call site1362 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:1363 142| # Note: we use clanLib.fs here, so that we can override it in tests1364 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {1365 | ^1366 144| imports = lib.mapAttrsToList (name: _t: {13671368 … while calling 'optionalAttrs'1369 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:1370 1478| */1371 1479| optionalAttrs = cond: as: if cond then as else { };1372 | ^1373 1480|13741375 … while evaluating a branch condition1376 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:1377 1478| */1378 1479| optionalAttrs = cond: as: if cond then as else { };1379 | ^1380 1480|13811382 error: attribute 'clanLib' missing1383 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:1384 48|1385 49| inherit (clan-core) clanLib;1386 | ^1387 50|13881389☢️ cli_checks.test_maxInstances_fail1390error:1391 … from call site1392 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/cli_checks.nix:87:14:1393 86| inherit res;1394 87| expr = res.config.clanInternals.cliChecks;1395 | ^1396 88| expected = [13971398 … while calling anonymous lambda1399 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:1400 282| let1401 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1402 | ^1403 284| in14041405 … while evaluating the attribute 'value'1406 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:1407 1180| // {1408 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1409 | ^1410 1182| # Apply the 'apply' function to the merged value. This allows options to14111412 … while evaluating the option `clanInternals.cliChecks':14131414 … while evaluating the attribute 'mergedValue'1415 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:1416 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.1417 1276| mergedValue =1418 | ^1419 1277| if isDefined then14201421 … while evaluating a branch condition1422 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:1423 1276| mergedValue =1424 1277| if isDefined then1425 | ^1426 1278| if type.merge ? v2 then14271428 … while evaluating the attribute 'values'1429 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:1430 1269| {1431 1270| values = defsSorted;1432 | ^1433 1271| inherit (defsFiltered) highestPrio;14341435 … while evaluating a branch condition1436 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:1437 1263| # Avoid sorting if we don't have to.1438 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then1439 | ^1440 1265| sortProperties defsFiltered.values14411442 … while calling the 'any' builtin1443 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:1444 1263| # Avoid sorting if we don't have to.1445 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then1446 | ^1447 1265| sortProperties defsFiltered.values14481449 … from call site1450 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:1451 1258| # Process mkOverride properties.1452 1259| defsFiltered = filterOverrides' defsNormalized;1453 | ^1454 1260|14551456 … while calling anonymous lambda1457 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:1458 1459| in1459 1460| defs:1460 | ^1461 1461| # Optimize for the singleton case, equivalent to the `else` clause.14621463 … while evaluating a branch condition1464 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:1465 1461| # Optimize for the singleton case, equivalent to the `else` clause.1466 1462| if length defs == 1 then1467 | ^1468 1463| {14691470 … while calling the 'length' builtin1471 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:1472 1461| # Optimize for the singleton case, equivalent to the `else` clause.1473 1462| if length defs == 1 then1474 | ^1475 1463| {14761477 … while calling the 'concatMap' builtin1478 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:1479 1243| # Process mkMerge and mkIf properties.1480 1244| defsNormalized = concatMap (1481 | ^1482 1245| m:14831484 … while calling anonymous lambda1485 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:1486 1244| defsNormalized = concatMap (1487 1245| m:1488 | ^1489 1246| map (14901491 … while calling the 'map' builtin1492 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:1493 1245| m:1494 1246| map (1495 | ^1496 1247| value:14971498 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':14991500 … from call site1501 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:1502 1254| }1503 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1504 | ^1505 1256| ) defs;15061507 … while calling 'dischargeProperties'1508 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:1509 1410| dischargeProperties =1510 1411| def:1511 | ^1512 1412| if def ? _type then15131514 … while evaluating a branch condition1515 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:1516 1411| def:1517 1412| if def ? _type then1518 | ^1519 1413| if def._type == "if" then15201521 … while evaluating the attribute 'value'1522 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:1523 865| inherit (module) file;1524 866| inherit value;1525 | ^1526 867| }) module.config15271528 … while calling the 'concatMap' builtin1529 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:170:31:1530 169|1531 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1532 | ^1533 171| lib.attrValues config._services.allServices15341535 … while calling the 'attrValues' builtin1536 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:171:7:1537 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1538 171| lib.attrValues config._services.allServices1539 | ^1540 172| );15411542 … from call site1543 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:171:22:1544 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1545 171| lib.attrValues config._services.allServices1546 | ^1547 172| );15481549 … while calling anonymous lambda1550 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:1551 282| let1552 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1553 | ^1554 284| in15551556 … while evaluating the attribute 'value'1557 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:1558 1180| // {1559 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1560 | ^1561 1182| # Apply the 'apply' function to the merged value. This allows options to15621563 … while evaluating the option `_services.allServices':15641565 (17 duplicate frames omitted)15661567 … while calling the 'mapAttrs' builtin1568 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:1569 127| # All services1570 128| allServices = lib.mapAttrs (_module_ident: instances: {1571 | ^1572 129| imports = [15731574 … from call site1575 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:1576 16|1577 17| grouped = lib.foldlAttrs (1578 | ^1579 18| acc: instanceName: instance:15801581 … while calling 'foldlAttrs'1582 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:1583 782| foldlAttrs =1584 783| f: init: set:1585 | ^1586 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);15871588 … while calling the 'foldl'' builtin1589 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:1590 783| f: init: set:1591 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1592 | ^1593 785|15941595 … while calling the 'attrNames' builtin1596 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:1597 783| f: init: set:1598 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1599 | ^1600 785|16011602 … while calling the 'mapAttrs' builtin1603 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:1604 32|1605 33| importedModuleWithInstances = lib.mapAttrs (1606 | ^1607 34| instanceName: instance:16081609 … from call site1610 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:1611 12|1612 13| inventory = clanConfig.inventory;1613 | ^1614 14| flakeInputs = clanConfig.self.inputs;16151616 … while calling anonymous lambda1617 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:1618 282| let1619 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1620 | ^1621 284| in16221623 … while evaluating the attribute 'value'1624 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:1625 1180| // {1626 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1627 | ^1628 1182| # Apply the 'apply' function to the merged value. This allows options to16291630 … while evaluating the option `inventory':16311632 (12 duplicate frames omitted)16331634 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':16351636 … from call site1637 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:1638 1254| }1639 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1640 | ^1641 1256| ) defs;16421643 … while calling 'dischargeProperties'1644 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:1645 1410| dischargeProperties =1646 1411| def:1647 | ^1648 1412| if def ? _type then16491650 … while evaluating a branch condition1651 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:1652 1411| def:1653 1412| if def ? _type then1654 | ^1655 1413| if def._type == "if" then16561657 … while evaluating the attribute 'value'1658 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:1659 865| inherit (module) file;1660 866| inherit value;1661 | ^1662 867| }) module.config16631664 … from call site1665 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:1666 142| # Note: we use clanLib.fs here, so that we can override it in tests1667 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {1668 | ^1669 144| imports = lib.mapAttrsToList (name: _t: {16701671 … while calling 'optionalAttrs'1672 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:1673 1478| */1674 1479| optionalAttrs = cond: as: if cond then as else { };1675 | ^1676 1480|16771678 … while evaluating a branch condition1679 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:1680 1478| */1681 1479| optionalAttrs = cond: as: if cond then as else { };1682 | ^1683 1480|16841685 error: attribute 'clanLib' missing1686 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:1687 48|1688 49| inherit (clan-core) clanLib;1689 | ^1690 50|16911692☢️ cli_checks.test_maxInstances_pass1693error:1694 … from call site1695 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/cli_checks.nix:60:14:1696 59| inherit res;1697 60| expr = res.config.clanInternals.cliChecks;1698 | ^1699 61| expected = [ ];17001701 … while calling anonymous lambda1702 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:1703 282| let1704 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1705 | ^1706 284| in17071708 … while evaluating the attribute 'value'1709 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:1710 1180| // {1711 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1712 | ^1713 1182| # Apply the 'apply' function to the merged value. This allows options to17141715 … while evaluating the option `clanInternals.cliChecks':17161717 … while evaluating the attribute 'mergedValue'1718 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:1719 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.1720 1276| mergedValue =1721 | ^1722 1277| if isDefined then17231724 … while evaluating a branch condition1725 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:1726 1276| mergedValue =1727 1277| if isDefined then1728 | ^1729 1278| if type.merge ? v2 then17301731 … while evaluating the attribute 'values'1732 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:1733 1269| {1734 1270| values = defsSorted;1735 | ^1736 1271| inherit (defsFiltered) highestPrio;17371738 … while evaluating a branch condition1739 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:1740 1263| # Avoid sorting if we don't have to.1741 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then1742 | ^1743 1265| sortProperties defsFiltered.values17441745 … while calling the 'any' builtin1746 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:1747 1263| # Avoid sorting if we don't have to.1748 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then1749 | ^1750 1265| sortProperties defsFiltered.values17511752 … from call site1753 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:1754 1258| # Process mkOverride properties.1755 1259| defsFiltered = filterOverrides' defsNormalized;1756 | ^1757 1260|17581759 … while calling anonymous lambda1760 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:1761 1459| in1762 1460| defs:1763 | ^1764 1461| # Optimize for the singleton case, equivalent to the `else` clause.17651766 … while evaluating a branch condition1767 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:1768 1461| # Optimize for the singleton case, equivalent to the `else` clause.1769 1462| if length defs == 1 then1770 | ^1771 1463| {17721773 … while calling the 'length' builtin1774 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:1775 1461| # Optimize for the singleton case, equivalent to the `else` clause.1776 1462| if length defs == 1 then1777 | ^1778 1463| {17791780 … while calling the 'concatMap' builtin1781 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:1782 1243| # Process mkMerge and mkIf properties.1783 1244| defsNormalized = concatMap (1784 | ^1785 1245| m:17861787 … while calling anonymous lambda1788 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:1789 1244| defsNormalized = concatMap (1790 1245| m:1791 | ^1792 1246| map (17931794 … while calling the 'map' builtin1795 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:1796 1245| m:1797 1246| map (1798 | ^1799 1247| value:18001801 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':18021803 … from call site1804 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:1805 1254| }1806 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1807 | ^1808 1256| ) defs;18091810 … while calling 'dischargeProperties'1811 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:1812 1410| dischargeProperties =1813 1411| def:1814 | ^1815 1412| if def ? _type then18161817 … while evaluating a branch condition1818 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:1819 1411| def:1820 1412| if def ? _type then1821 | ^1822 1413| if def._type == "if" then18231824 … while evaluating the attribute 'value'1825 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:1826 865| inherit (module) file;1827 866| inherit value;1828 | ^1829 867| }) module.config18301831 … while calling the 'concatMap' builtin1832 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:170:31:1833 169|1834 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1835 | ^1836 171| lib.attrValues config._services.allServices18371838 … while calling the 'attrValues' builtin1839 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:171:7:1840 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1841 171| lib.attrValues config._services.allServices1842 | ^1843 172| );18441845 … from call site1846 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:171:22:1847 170| clanInternals.cliChecks = lib.concatMap (svc: svc.result.cliChecks) (1848 171| lib.attrValues config._services.allServices1849 | ^1850 172| );18511852 … while calling anonymous lambda1853 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:1854 282| let1855 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1856 | ^1857 284| in18581859 … while evaluating the attribute 'value'1860 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:1861 1180| // {1862 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1863 | ^1864 1182| # Apply the 'apply' function to the merged value. This allows options to18651866 … while evaluating the option `_services.allServices':18671868 (17 duplicate frames omitted)18691870 … while calling the 'mapAttrs' builtin1871 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:1872 127| # All services1873 128| allServices = lib.mapAttrs (_module_ident: instances: {1874 | ^1875 129| imports = [18761877 … from call site1878 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:1879 16|1880 17| grouped = lib.foldlAttrs (1881 | ^1882 18| acc: instanceName: instance:18831884 … while calling 'foldlAttrs'1885 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:1886 782| foldlAttrs =1887 783| f: init: set:1888 | ^1889 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);18901891 … while calling the 'foldl'' builtin1892 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:1893 783| f: init: set:1894 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1895 | ^1896 785|18971898 … while calling the 'attrNames' builtin1899 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:1900 783| f: init: set:1901 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);1902 | ^1903 785|19041905 … while calling the 'mapAttrs' builtin1906 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:1907 32|1908 33| importedModuleWithInstances = lib.mapAttrs (1909 | ^1910 34| instanceName: instance:19111912 … from call site1913 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:1914 12|1915 13| inventory = clanConfig.inventory;1916 | ^1917 14| flakeInputs = clanConfig.self.inputs;19181919 … while calling anonymous lambda1920 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:1921 282| let1922 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);1923 | ^1924 284| in19251926 … while evaluating the attribute 'value'1927 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:1928 1180| // {1929 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (1930 | ^1931 1182| # Apply the 'apply' function to the merged value. This allows options to19321933 … while evaluating the option `inventory':19341935 (12 duplicate frames omitted)19361937 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':19381939 … from call site1940 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:1941 1254| }1942 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))1943 | ^1944 1256| ) defs;19451946 … while calling 'dischargeProperties'1947 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:1948 1410| dischargeProperties =1949 1411| def:1950 | ^1951 1412| if def ? _type then19521953 … while evaluating a branch condition1954 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:1955 1411| def:1956 1412| if def ? _type then1957 | ^1958 1413| if def._type == "if" then19591960 … while evaluating the attribute 'value'1961 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:1962 865| inherit (module) file;1963 866| inherit value;1964 | ^1965 867| }) module.config19661967 … from call site1968 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:1969 142| # Note: we use clanLib.fs here, so that we can override it in tests1970 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {1971 | ^1972 144| imports = lib.mapAttrsToList (name: _t: {19731974 … while calling 'optionalAttrs'1975 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:1976 1478| */1977 1479| optionalAttrs = cond: as: if cond then as else { };1978 | ^1979 1480|19801981 … while evaluating a branch condition1982 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:1983 1478| */1984 1479| optionalAttrs = cond: as: if cond then as else { };1985 | ^1986 1480|19871988 error: attribute 'clanLib' missing1989 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:1990 48|1991 49| inherit (clan-core) clanLib;1992 | ^1993 50|19941995☢️ cli_checks.test_maxMachines_fail1996error:1997 … from call site1998 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/cli_checks.nix:151:14:1999 150| inherit res;2000 151| expr = res.config.clanInternals.cliChecks;3950 1411| def:3951 1412| if def ? _type then3952 | ^3953 1413| if def._type == "if" then39543955 … while evaluating the attribute 'value'3956 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:3957 865| inherit (module) file;3958 866| inherit value;3959 | ^3960 867| }) module.config39613962 … from call site3963 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:3964 142| # Note: we use clanLib.fs here, so that we can override it in tests3965 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {3966 | ^3967 144| imports = lib.mapAttrsToList (name: _t: {39683969 … while calling 'optionalAttrs'3970 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:3971 1478| */3972 1479| optionalAttrs = cond: as: if cond then as else { };3973 | ^3974 1480|39753976 … while evaluating a branch condition3977 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:3978 1478| */3979 1479| optionalAttrs = cond: as: if cond then as else { };3980 | ^3981 1480|39823983 error: attribute 'clanLib' missing3984 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:3985 48|3986 49| inherit (clan-core) clanLib;3987 | ^3988 50|39893990☢️ resolve_module_spec.test_import_local_module_by_name3991error:3992 … from call site3993 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/import_module_spec.nix:39:7:3994 38| expr =3995 39| (resolve {3996 | ^3997 40| name = "A";39983999 … while calling anonymous lambda4000 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:4001 282| let4002 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4003 | ^4004 284| in40054006 … while evaluating the attribute 'value'4007 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:4008 1180| // {4009 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4010 | ^4011 1182| # Apply the 'apply' function to the merged value. This allows options to40124013 … while evaluating the option `_services.allServices':40144015 … while evaluating the attribute 'mergedValue'4016 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:4017 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.4018 1276| mergedValue =4019 | ^4020 1277| if isDefined then40214022 … while evaluating a branch condition4023 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:4024 1276| mergedValue =4025 1277| if isDefined then4026 | ^4027 1278| if type.merge ? v2 then40284029 … while evaluating the attribute 'values'4030 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:4031 1269| {4032 1270| values = defsSorted;4033 | ^4034 1271| inherit (defsFiltered) highestPrio;40354036 … while evaluating a branch condition4037 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:4038 1263| # Avoid sorting if we don't have to.4039 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4040 | ^4041 1265| sortProperties defsFiltered.values40424043 … while calling the 'any' builtin4044 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:4045 1263| # Avoid sorting if we don't have to.4046 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4047 | ^4048 1265| sortProperties defsFiltered.values40494050 … from call site4051 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:4052 1258| # Process mkOverride properties.4053 1259| defsFiltered = filterOverrides' defsNormalized;4054 | ^4055 1260|40564057 … while calling anonymous lambda4058 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:4059 1459| in4060 1460| defs:4061 | ^4062 1461| # Optimize for the singleton case, equivalent to the `else` clause.40634064 … while evaluating a branch condition4065 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:4066 1461| # Optimize for the singleton case, equivalent to the `else` clause.4067 1462| if length defs == 1 then4068 | ^4069 1463| {40704071 … while calling the 'length' builtin4072 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:4073 1461| # Optimize for the singleton case, equivalent to the `else` clause.4074 1462| if length defs == 1 then4075 | ^4076 1463| {40774078 … while calling the 'concatMap' builtin4079 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:4080 1243| # Process mkMerge and mkIf properties.4081 1244| defsNormalized = concatMap (4082 | ^4083 1245| m:40844085 … while calling anonymous lambda4086 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:4087 1244| defsNormalized = concatMap (4088 1245| m:4089 | ^4090 1246| map (40914092 … while calling the 'map' builtin4093 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:4094 1245| m:4095 1246| map (4096 | ^4097 1247| value:40984099 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':41004101 … from call site4102 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:4103 1254| }4104 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4105 | ^4106 1256| ) defs;41074108 … while calling 'dischargeProperties'4109 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:4110 1410| dischargeProperties =4111 1411| def:4112 | ^4113 1412| if def ? _type then41144115 … while evaluating a branch condition4116 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:4117 1411| def:4118 1412| if def ? _type then4119 | ^4120 1413| if def._type == "if" then41214122 … while evaluating the attribute 'value'4123 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:4124 865| inherit (module) file;4125 866| inherit value;4126 | ^4127 867| }) module.config41284129 … while calling the 'mapAttrs' builtin4130 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:4131 127| # All services4132 128| allServices = lib.mapAttrs (_module_ident: instances: {4133 | ^4134 129| imports = [41354136 … from call site4137 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:4138 16|4139 17| grouped = lib.foldlAttrs (4140 | ^4141 18| acc: instanceName: instance:41424143 … while calling 'foldlAttrs'4144 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:4145 782| foldlAttrs =4146 783| f: init: set:4147 | ^4148 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);41494150 … while calling the 'foldl'' builtin4151 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:4152 783| f: init: set:4153 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4154 | ^4155 785|41564157 … while calling the 'attrNames' builtin4158 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:4159 783| f: init: set:4160 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4161 | ^4162 785|41634164 … while calling the 'mapAttrs' builtin4165 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:4166 32|4167 33| importedModuleWithInstances = lib.mapAttrs (4168 | ^4169 34| instanceName: instance:41704171 … from call site4172 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:4173 12|4174 13| inventory = clanConfig.inventory;4175 | ^4176 14| flakeInputs = clanConfig.self.inputs;41774178 … while calling anonymous lambda4179 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:4180 282| let4181 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4182 | ^4183 284| in41844185 … while evaluating the attribute 'value'4186 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:4187 1180| // {4188 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4189 | ^4190 1182| # Apply the 'apply' function to the merged value. This allows options to41914192 … while evaluating the option `inventory':41934194 (12 duplicate frames omitted)41954196 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':41974198 … from call site4199 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:4200 1254| }4201 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4202 | ^4203 1256| ) defs;42044205 … while calling 'dischargeProperties'4206 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:4207 1410| dischargeProperties =4208 1411| def:4209 | ^4210 1412| if def ? _type then42114212 … while evaluating a branch condition4213 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:4214 1411| def:4215 1412| if def ? _type then4216 | ^4217 1413| if def._type == "if" then42184219 … while evaluating the attribute 'value'4220 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:4221 865| inherit (module) file;4222 866| inherit value;4223 | ^4224 867| }) module.config42254226 … from call site4227 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:4228 142| # Note: we use clanLib.fs here, so that we can override it in tests4229 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {4230 | ^4231 144| imports = lib.mapAttrsToList (name: _t: {42324233 … while calling 'optionalAttrs'4234 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:4235 1478| */4236 1479| optionalAttrs = cond: as: if cond then as else { };4237 | ^4238 1480|42394240 … while evaluating a branch condition4241 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:4242 1478| */4243 1479| optionalAttrs = cond: as: if cond then as else { };4244 | ^4245 1480|42464247 error: attribute 'clanLib' missing4248 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:4249 48|4250 49| inherit (clan-core) clanLib;4251 | ^4252 50|42534254☢️ resolve_module_spec.test_import_remote_module_by_name4255error:4256 … from call site4257 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/import_module_spec.nix:47:7:4258 46| expr =4259 47| (resolve {4260 | ^4261 48| name = "uzzi";42624263 … while calling anonymous lambda4264 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:4265 282| let4266 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4267 | ^4268 284| in42694270 … while evaluating the attribute 'value'4271 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:4272 1180| // {4273 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4274 | ^4275 1182| # Apply the 'apply' function to the merged value. This allows options to42764277 … while evaluating the option `_services.allServices':42784279 … while evaluating the attribute 'mergedValue'4280 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:4281 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.4282 1276| mergedValue =4283 | ^4284 1277| if isDefined then42854286 … while evaluating a branch condition4287 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:4288 1276| mergedValue =4289 1277| if isDefined then4290 | ^4291 1278| if type.merge ? v2 then42924293 … while evaluating the attribute 'values'4294 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:4295 1269| {4296 1270| values = defsSorted;4297 | ^4298 1271| inherit (defsFiltered) highestPrio;42994300 … while evaluating a branch condition4301 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:4302 1263| # Avoid sorting if we don't have to.4303 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4304 | ^4305 1265| sortProperties defsFiltered.values43064307 … while calling the 'any' builtin4308 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:4309 1263| # Avoid sorting if we don't have to.4310 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4311 | ^4312 1265| sortProperties defsFiltered.values43134314 … from call site4315 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:4316 1258| # Process mkOverride properties.4317 1259| defsFiltered = filterOverrides' defsNormalized;4318 | ^4319 1260|43204321 … while calling anonymous lambda4322 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:4323 1459| in4324 1460| defs:4325 | ^4326 1461| # Optimize for the singleton case, equivalent to the `else` clause.43274328 … while evaluating a branch condition4329 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:4330 1461| # Optimize for the singleton case, equivalent to the `else` clause.4331 1462| if length defs == 1 then4332 | ^4333 1463| {43344335 … while calling the 'length' builtin4336 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:4337 1461| # Optimize for the singleton case, equivalent to the `else` clause.4338 1462| if length defs == 1 then4339 | ^4340 1463| {43414342 … while calling the 'concatMap' builtin4343 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:4344 1243| # Process mkMerge and mkIf properties.4345 1244| defsNormalized = concatMap (4346 | ^4347 1245| m:43484349 … while calling anonymous lambda4350 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:4351 1244| defsNormalized = concatMap (4352 1245| m:4353 | ^4354 1246| map (43554356 … while calling the 'map' builtin4357 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:4358 1245| m:4359 1246| map (4360 | ^4361 1247| value:43624363 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':43644365 … from call site4366 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:4367 1254| }4368 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4369 | ^4370 1256| ) defs;43714372 … while calling 'dischargeProperties'4373 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:4374 1410| dischargeProperties =4375 1411| def:4376 | ^4377 1412| if def ? _type then43784379 … while evaluating a branch condition4380 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:4381 1411| def:4382 1412| if def ? _type then4383 | ^4384 1413| if def._type == "if" then43854386 … while evaluating the attribute 'value'4387 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:4388 865| inherit (module) file;4389 866| inherit value;4390 | ^4391 867| }) module.config43924393 … while calling the 'mapAttrs' builtin4394 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:4395 127| # All services4396 128| allServices = lib.mapAttrs (_module_ident: instances: {4397 | ^4398 129| imports = [43994400 … from call site4401 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:4402 16|4403 17| grouped = lib.foldlAttrs (4404 | ^4405 18| acc: instanceName: instance:44064407 … while calling 'foldlAttrs'4408 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:4409 782| foldlAttrs =4410 783| f: init: set:4411 | ^4412 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);44134414 … while calling the 'foldl'' builtin4415 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:4416 783| f: init: set:4417 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4418 | ^4419 785|44204421 … while calling the 'attrNames' builtin4422 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:4423 783| f: init: set:4424 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4425 | ^4426 785|44274428 … while calling the 'mapAttrs' builtin4429 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:4430 32|4431 33| importedModuleWithInstances = lib.mapAttrs (4432 | ^4433 34| instanceName: instance:44344435 … from call site4436 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:4437 12|4438 13| inventory = clanConfig.inventory;4439 | ^4440 14| flakeInputs = clanConfig.self.inputs;44414442 … while calling anonymous lambda4443 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:4444 282| let4445 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4446 | ^4447 284| in44484449 … while evaluating the attribute 'value'4450 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:4451 1180| // {4452 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4453 | ^4454 1182| # Apply the 'apply' function to the merged value. This allows options to44554456 … while evaluating the option `inventory':44574458 (12 duplicate frames omitted)44594460 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':44614462 … from call site4463 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:4464 1254| }4465 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4466 | ^4467 1256| ) defs;44684469 … while calling 'dischargeProperties'4470 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:4471 1410| dischargeProperties =4472 1411| def:4473 | ^4474 1412| if def ? _type then44754476 … while evaluating a branch condition4477 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:4478 1411| def:4479 1412| if def ? _type then4480 | ^4481 1413| if def._type == "if" then44824483 … while evaluating the attribute 'value'4484 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:4485 865| inherit (module) file;4486 866| inherit value;4487 | ^4488 867| }) module.config44894490 … from call site4491 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:4492 142| # Note: we use clanLib.fs here, so that we can override it in tests4493 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {4494 | ^4495 144| imports = lib.mapAttrsToList (name: _t: {44964497 … while calling 'optionalAttrs'4498 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:4499 1478| */4500 1479| optionalAttrs = cond: as: if cond then as else { };4501 | ^4502 1480|45034504 … while evaluating a branch condition4505 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:4506 1478| */4507 1479| optionalAttrs = cond: as: if cond then as else { };4508 | ^4509 1480|45104511 error: attribute 'clanLib' missing4512 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:4513 48|4514 49| inherit (clan-core) clanLib;4515 | ^4516 50|45174518☢️ settings.test_simple4519error:4520 … while calling the 'mapAttrs' builtin4521 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/settings.nix:60:17:4522 59|4523 60| mapSettings = lib.mapAttrs applySettings config.instances;4524 | ^4525 61| in45264527 … from call site4528 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/settings.nix:48:12:4529 47|4530 48| config = res.config._services.allServices.self-A;4531 | ^4532 49|45334534 … while calling anonymous lambda4535 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:4536 282| let4537 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4538 | ^4539 284| in45404541 … while evaluating the attribute 'value'4542 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:4543 1180| // {4544 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4545 | ^4546 1182| # Apply the 'apply' function to the merged value. This allows options to45474548 … while evaluating the option `_services.allServices':45494550 … while evaluating the attribute 'mergedValue'4551 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:4552 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.4553 1276| mergedValue =4554 | ^4555 1277| if isDefined then45564557 … while evaluating a branch condition4558 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:4559 1276| mergedValue =4560 1277| if isDefined then4561 | ^4562 1278| if type.merge ? v2 then45634564 … while evaluating the attribute 'values'4565 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:4566 1269| {4567 1270| values = defsSorted;4568 | ^4569 1271| inherit (defsFiltered) highestPrio;45704571 … while evaluating a branch condition4572 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:4573 1263| # Avoid sorting if we don't have to.4574 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4575 | ^4576 1265| sortProperties defsFiltered.values45774578 … while calling the 'any' builtin4579 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:4580 1263| # Avoid sorting if we don't have to.4581 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4582 | ^4583 1265| sortProperties defsFiltered.values45844585 … from call site4586 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:4587 1258| # Process mkOverride properties.4588 1259| defsFiltered = filterOverrides' defsNormalized;4589 | ^4590 1260|45914592 … while calling anonymous lambda4593 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:4594 1459| in4595 1460| defs:4596 | ^4597 1461| # Optimize for the singleton case, equivalent to the `else` clause.45984599 … while evaluating a branch condition4600 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:4601 1461| # Optimize for the singleton case, equivalent to the `else` clause.4602 1462| if length defs == 1 then4603 | ^4604 1463| {46054606 … while calling the 'length' builtin4607 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:4608 1461| # Optimize for the singleton case, equivalent to the `else` clause.4609 1462| if length defs == 1 then4610 | ^4611 1463| {46124613 … while calling the 'concatMap' builtin4614 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:4615 1243| # Process mkMerge and mkIf properties.4616 1244| defsNormalized = concatMap (4617 | ^4618 1245| m:46194620 … while calling anonymous lambda4621 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:4622 1244| defsNormalized = concatMap (4623 1245| m:4624 | ^4625 1246| map (46264627 … while calling the 'map' builtin4628 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:4629 1245| m:4630 1246| map (4631 | ^4632 1247| value:46334634 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':46354636 … from call site4637 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:4638 1254| }4639 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4640 | ^4641 1256| ) defs;46424643 … while calling 'dischargeProperties'4644 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:4645 1410| dischargeProperties =4646 1411| def:4647 | ^4648 1412| if def ? _type then46494650 … while evaluating a branch condition4651 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:4652 1411| def:4653 1412| if def ? _type then4654 | ^4655 1413| if def._type == "if" then46564657 … while evaluating the attribute 'value'4658 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:4659 865| inherit (module) file;4660 866| inherit value;4661 | ^4662 867| }) module.config46634664 … while calling the 'mapAttrs' builtin4665 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:4666 127| # All services4667 128| allServices = lib.mapAttrs (_module_ident: instances: {4668 | ^4669 129| imports = [46704671 … from call site4672 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:4673 16|4674 17| grouped = lib.foldlAttrs (4675 | ^4676 18| acc: instanceName: instance:46774678 … while calling 'foldlAttrs'4679 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:4680 782| foldlAttrs =4681 783| f: init: set:4682 | ^4683 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);46844685 … while calling the 'foldl'' builtin4686 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:4687 783| f: init: set:4688 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4689 | ^4690 785|46914692 … while calling the 'attrNames' builtin4693 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:4694 783| f: init: set:4695 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4696 | ^4697 785|46984699 … while calling the 'mapAttrs' builtin4700 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:4701 32|4702 33| importedModuleWithInstances = lib.mapAttrs (4703 | ^4704 34| instanceName: instance:47054706 … from call site4707 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:4708 12|4709 13| inventory = clanConfig.inventory;4710 | ^4711 14| flakeInputs = clanConfig.self.inputs;47124713 … while calling anonymous lambda4714 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:4715 282| let4716 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4717 | ^4718 284| in47194720 … while evaluating the attribute 'value'4721 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:4722 1180| // {4723 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4724 | ^4725 1182| # Apply the 'apply' function to the merged value. This allows options to47264727 … while evaluating the option `inventory':47284729 (12 duplicate frames omitted)47304731 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':47324733 … from call site4734 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:4735 1254| }4736 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4737 | ^4738 1256| ) defs;47394740 … while calling 'dischargeProperties'4741 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:4742 1410| dischargeProperties =4743 1411| def:4744 | ^4745 1412| if def ? _type then47464747 … while evaluating a branch condition4748 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:4749 1411| def:4750 1412| if def ? _type then4751 | ^4752 1413| if def._type == "if" then47534754 … while evaluating the attribute 'value'4755 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:4756 865| inherit (module) file;4757 866| inherit value;4758 | ^4759 867| }) module.config47604761 … from call site4762 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:4763 142| # Note: we use clanLib.fs here, so that we can override it in tests4764 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {4765 | ^4766 144| imports = lib.mapAttrsToList (name: _t: {47674768 … while calling 'optionalAttrs'4769 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:4770 1478| */4771 1479| optionalAttrs = cond: as: if cond then as else { };4772 | ^4773 1480|47744775 … while evaluating a branch condition4776 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:4777 1478| */4778 1479| optionalAttrs = cond: as: if cond then as else { };4779 | ^4780 1480|47814782 error: attribute 'clanLib' missing4783 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:4784 48|4785 49| inherit (clan-core) clanLib;4786 | ^4787 50|47884789☢️ settings.test_tag_settings4790error:4791 … while calling the 'mapAttrs' builtin4792 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/settings.nix:120:14:4793 119| };4794 120| map2 = lib.mapAttrs (4795 | ^4796 121| instanceName: instance:47974798 … from call site4799 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/settings.nix:129:16:4800 128| ) config.instances;4801 129| config = res2.config._services.allServices."self-B";4802 | ^4803 130| in48044805 … while calling anonymous lambda4806 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:4807 282| let4808 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4809 | ^4810 284| in48114812 … while evaluating the attribute 'value'4813 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:4814 1180| // {4815 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4816 | ^4817 1182| # Apply the 'apply' function to the merged value. This allows options to48184819 … while evaluating the option `_services.allServices':48204821 … while evaluating the attribute 'mergedValue'4822 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:4823 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.4824 1276| mergedValue =4825 | ^4826 1277| if isDefined then48274828 … while evaluating a branch condition4829 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:4830 1276| mergedValue =4831 1277| if isDefined then4832 | ^4833 1278| if type.merge ? v2 then48344835 … while evaluating the attribute 'values'4836 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:4837 1269| {4838 1270| values = defsSorted;4839 | ^4840 1271| inherit (defsFiltered) highestPrio;48414842 … while evaluating a branch condition4843 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:4844 1263| # Avoid sorting if we don't have to.4845 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4846 | ^4847 1265| sortProperties defsFiltered.values48484849 … while calling the 'any' builtin4850 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:4851 1263| # Avoid sorting if we don't have to.4852 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then4853 | ^4854 1265| sortProperties defsFiltered.values48554856 … from call site4857 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:4858 1258| # Process mkOverride properties.4859 1259| defsFiltered = filterOverrides' defsNormalized;4860 | ^4861 1260|48624863 … while calling anonymous lambda4864 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:4865 1459| in4866 1460| defs:4867 | ^4868 1461| # Optimize for the singleton case, equivalent to the `else` clause.48694870 … while evaluating a branch condition4871 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:4872 1461| # Optimize for the singleton case, equivalent to the `else` clause.4873 1462| if length defs == 1 then4874 | ^4875 1463| {48764877 … while calling the 'length' builtin4878 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:4879 1461| # Optimize for the singleton case, equivalent to the `else` clause.4880 1462| if length defs == 1 then4881 | ^4882 1463| {48834884 … while calling the 'concatMap' builtin4885 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:4886 1243| # Process mkMerge and mkIf properties.4887 1244| defsNormalized = concatMap (4888 | ^4889 1245| m:48904891 … while calling anonymous lambda4892 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:4893 1244| defsNormalized = concatMap (4894 1245| m:4895 | ^4896 1246| map (48974898 … while calling the 'map' builtin4899 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:4900 1245| m:4901 1246| map (4902 | ^4903 1247| value:49044905 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':49064907 … from call site4908 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:4909 1254| }4910 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))4911 | ^4912 1256| ) defs;49134914 … while calling 'dischargeProperties'4915 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:4916 1410| dischargeProperties =4917 1411| def:4918 | ^4919 1412| if def ? _type then49204921 … while evaluating a branch condition4922 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:4923 1411| def:4924 1412| if def ? _type then4925 | ^4926 1413| if def._type == "if" then49274928 … while evaluating the attribute 'value'4929 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:4930 865| inherit (module) file;4931 866| inherit value;4932 | ^4933 867| }) module.config49344935 … while calling the 'mapAttrs' builtin4936 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:4937 127| # All services4938 128| allServices = lib.mapAttrs (_module_ident: instances: {4939 | ^4940 129| imports = [49414942 … from call site4943 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:4944 16|4945 17| grouped = lib.foldlAttrs (4946 | ^4947 18| acc: instanceName: instance:49484949 … while calling 'foldlAttrs'4950 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:4951 782| foldlAttrs =4952 783| f: init: set:4953 | ^4954 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);49554956 … while calling the 'foldl'' builtin4957 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:4958 783| f: init: set:4959 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4960 | ^4961 785|49624963 … while calling the 'attrNames' builtin4964 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:4965 783| f: init: set:4966 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);4967 | ^4968 785|49694970 … while calling the 'mapAttrs' builtin4971 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:4972 32|4973 33| importedModuleWithInstances = lib.mapAttrs (4974 | ^4975 34| instanceName: instance:49764977 … from call site4978 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:4979 12|4980 13| inventory = clanConfig.inventory;4981 | ^4982 14| flakeInputs = clanConfig.self.inputs;49834984 … while calling anonymous lambda4985 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:4986 282| let4987 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);4988 | ^4989 284| in49904991 … while evaluating the attribute 'value'4992 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:4993 1180| // {4994 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (4995 | ^4996 1182| # Apply the 'apply' function to the merged value. This allows options to49974998 … while evaluating the option `inventory':49995000 (12 duplicate frames omitted)50015002 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':50035004 … from call site5005 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:5006 1254| }5007 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5008 | ^5009 1256| ) defs;50105011 … while calling 'dischargeProperties'5012 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:5013 1410| dischargeProperties =5014 1411| def:5015 | ^5016 1412| if def ? _type then50175018 … while evaluating a branch condition5019 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:5020 1411| def:5021 1412| if def ? _type then5022 | ^5023 1413| if def._type == "if" then50245025 … while evaluating the attribute 'value'5026 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:5027 865| inherit (module) file;5028 866| inherit value;5029 | ^5030 867| }) module.config50315032 … from call site5033 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:5034 142| # Note: we use clanLib.fs here, so that we can override it in tests5035 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {5036 | ^5037 144| imports = lib.mapAttrsToList (name: _t: {50385039 … while calling 'optionalAttrs'5040 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:5041 1478| */5042 1479| optionalAttrs = cond: as: if cond then as else { };5043 | ^5044 1480|50455046 … while evaluating a branch condition5047 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:5048 1478| */5049 1479| optionalAttrs = cond: as: if cond then as else { };5050 | ^5051 1480|50525053 error: attribute 'clanLib' missing5054 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:5055 48|5056 49| inherit (clan-core) clanLib;5057 | ^5058 50|50595060☢️ specialArgs.test_simple5061error:5062 … while calling the 'attrNames' builtin5063 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/specialArgs.nix:31:17:5064 30|5065 31| specialArgs = lib.attrNames res.config._services.allServices.self-A.test.specialArgs;5066 | ^5067 32| in50685069 … from call site5070 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/specialArgs.nix:31:31:5071 30|5072 31| specialArgs = lib.attrNames res.config._services.allServices.self-A.test.specialArgs;5073 | ^5074 32| in50755076 … while calling anonymous lambda5077 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:5078 282| let5079 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);5080 | ^5081 284| in50825083 … while evaluating the attribute 'value'5084 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:5085 1180| // {5086 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (5087 | ^5088 1182| # Apply the 'apply' function to the merged value. This allows options to50895090 … while evaluating the option `_services.allServices':50915092 … while evaluating the attribute 'mergedValue'5093 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:5094 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.5095 1276| mergedValue =5096 | ^5097 1277| if isDefined then50985099 … while evaluating a branch condition5100 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:5101 1276| mergedValue =5102 1277| if isDefined then5103 | ^5104 1278| if type.merge ? v2 then51055106 … while evaluating the attribute 'values'5107 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:5108 1269| {5109 1270| values = defsSorted;5110 | ^5111 1271| inherit (defsFiltered) highestPrio;51125113 … while evaluating a branch condition5114 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:5115 1263| # Avoid sorting if we don't have to.5116 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5117 | ^5118 1265| sortProperties defsFiltered.values51195120 … while calling the 'any' builtin5121 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:5122 1263| # Avoid sorting if we don't have to.5123 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5124 | ^5125 1265| sortProperties defsFiltered.values51265127 … from call site5128 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:5129 1258| # Process mkOverride properties.5130 1259| defsFiltered = filterOverrides' defsNormalized;5131 | ^5132 1260|51335134 … while calling anonymous lambda5135 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:5136 1459| in5137 1460| defs:5138 | ^5139 1461| # Optimize for the singleton case, equivalent to the `else` clause.51405141 … while evaluating a branch condition5142 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:5143 1461| # Optimize for the singleton case, equivalent to the `else` clause.5144 1462| if length defs == 1 then5145 | ^5146 1463| {51475148 … while calling the 'length' builtin5149 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:5150 1461| # Optimize for the singleton case, equivalent to the `else` clause.5151 1462| if length defs == 1 then5152 | ^5153 1463| {51545155 … while calling the 'concatMap' builtin5156 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:5157 1243| # Process mkMerge and mkIf properties.5158 1244| defsNormalized = concatMap (5159 | ^5160 1245| m:51615162 … while calling anonymous lambda5163 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:5164 1244| defsNormalized = concatMap (5165 1245| m:5166 | ^5167 1246| map (51685169 … while calling the 'map' builtin5170 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:5171 1245| m:5172 1246| map (5173 | ^5174 1247| value:51755176 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':51775178 … from call site5179 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:5180 1254| }5181 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5182 | ^5183 1256| ) defs;51845185 … while calling 'dischargeProperties'5186 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:5187 1410| dischargeProperties =5188 1411| def:5189 | ^5190 1412| if def ? _type then51915192 … while evaluating a branch condition5193 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:5194 1411| def:5195 1412| if def ? _type then5196 | ^5197 1413| if def._type == "if" then51985199 … while evaluating the attribute 'value'5200 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:5201 865| inherit (module) file;5202 866| inherit value;5203 | ^5204 867| }) module.config52055206 … while calling the 'mapAttrs' builtin5207 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:5208 127| # All services5209 128| allServices = lib.mapAttrs (_module_ident: instances: {5210 | ^5211 129| imports = [52125213 … from call site5214 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:5215 16|5216 17| grouped = lib.foldlAttrs (5217 | ^5218 18| acc: instanceName: instance:52195220 … while calling 'foldlAttrs'5221 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:5222 782| foldlAttrs =5223 783| f: init: set:5224 | ^5225 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);52265227 … while calling the 'foldl'' builtin5228 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:5229 783| f: init: set:5230 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5231 | ^5232 785|52335234 … while calling the 'attrNames' builtin5235 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:5236 783| f: init: set:5237 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5238 | ^5239 785|52405241 … while calling the 'mapAttrs' builtin5242 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:5243 32|5244 33| importedModuleWithInstances = lib.mapAttrs (5245 | ^5246 34| instanceName: instance:52475248 … from call site5249 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:5250 12|5251 13| inventory = clanConfig.inventory;5252 | ^5253 14| flakeInputs = clanConfig.self.inputs;52545255 … while calling anonymous lambda5256 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:5257 282| let5258 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);5259 | ^5260 284| in52615262 … while evaluating the attribute 'value'5263 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:5264 1180| // {5265 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (5266 | ^5267 1182| # Apply the 'apply' function to the merged value. This allows options to52685269 … while evaluating the option `inventory':52705271 (12 duplicate frames omitted)52725273 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':52745275 … from call site5276 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:5277 1254| }5278 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5279 | ^5280 1256| ) defs;52815282 … while calling 'dischargeProperties'5283 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:5284 1410| dischargeProperties =5285 1411| def:5286 | ^5287 1412| if def ? _type then52885289 … while evaluating a branch condition5290 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:5291 1411| def:5292 1412| if def ? _type then5293 | ^5294 1413| if def._type == "if" then52955296 … while evaluating the attribute 'value'5297 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:5298 865| inherit (module) file;5299 866| inherit value;5300 | ^5301 867| }) module.config53025303 … from call site5304 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:5305 142| # Note: we use clanLib.fs here, so that we can override it in tests5306 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {5307 | ^5308 144| imports = lib.mapAttrsToList (name: _t: {53095310 … while calling 'optionalAttrs'5311 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:5312 1478| */5313 1479| optionalAttrs = cond: as: if cond then as else { };5314 | ^5315 1480|53165317 … while evaluating a branch condition5318 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:5319 1478| */5320 1479| optionalAttrs = cond: as: if cond then as else { };5321 | ^5322 1480|53235324 error: attribute 'clanLib' missing5325 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:5326 48|5327 49| inherit (clan-core) clanLib;5328 | ^5329 50|53305331☢️ test_add_machines_directly5332error:5333 … while calling the 'attrNames' builtin5334 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/default.nix:275:14:5335 274| # We might change the attribute name in the future5336 275| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines;5337 | ^5338 276| expected = [53395340 … from call site5341 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/default.nix:275:28:5342 274| # We might change the attribute name in the future5343 275| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines;5344 | ^5345 276| expected = [53465347 … while calling anonymous lambda5348 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:5349 282| let5350 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);5351 | ^5352 284| in53535354 … while evaluating the attribute 'value'5355 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:5356 1180| // {5357 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (5358 | ^5359 1182| # Apply the 'apply' function to the merged value. This allows options to53605361 … while evaluating the option `_services.allServices':53625363 … while evaluating the attribute 'mergedValue'5364 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:5365 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.5366 1276| mergedValue =5367 | ^5368 1277| if isDefined then53695370 … while evaluating a branch condition5371 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:5372 1276| mergedValue =5373 1277| if isDefined then5374 | ^5375 1278| if type.merge ? v2 then53765377 … while evaluating the attribute 'values'5378 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:5379 1269| {5380 1270| values = defsSorted;5381 | ^5382 1271| inherit (defsFiltered) highestPrio;53835384 … while evaluating a branch condition5385 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:5386 1263| # Avoid sorting if we don't have to.5387 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5388 | ^5389 1265| sortProperties defsFiltered.values53905391 … while calling the 'any' builtin5392 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:5393 1263| # Avoid sorting if we don't have to.5394 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5395 | ^5396 1265| sortProperties defsFiltered.values53975398 … from call site5399 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:5400 1258| # Process mkOverride properties.5401 1259| defsFiltered = filterOverrides' defsNormalized;5402 | ^5403 1260|54045405 … while calling anonymous lambda5406 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:5407 1459| in5408 1460| defs:5409 | ^5410 1461| # Optimize for the singleton case, equivalent to the `else` clause.54115412 … while evaluating a branch condition5413 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:5414 1461| # Optimize for the singleton case, equivalent to the `else` clause.5415 1462| if length defs == 1 then5416 | ^5417 1463| {54185419 … while calling the 'length' builtin5420 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:5421 1461| # Optimize for the singleton case, equivalent to the `else` clause.5422 1462| if length defs == 1 then5423 | ^5424 1463| {54255426 … while calling the 'concatMap' builtin5427 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:5428 1243| # Process mkMerge and mkIf properties.5429 1244| defsNormalized = concatMap (5430 | ^5431 1245| m:54325433 … while calling anonymous lambda5434 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:5435 1244| defsNormalized = concatMap (5436 1245| m:5437 | ^5438 1246| map (54395440 … while calling the 'map' builtin5441 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:5442 1245| m:5443 1246| map (5444 | ^5445 1247| value:54465447 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':54485449 … from call site5450 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:5451 1254| }5452 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5453 | ^5454 1256| ) defs;54555456 … while calling 'dischargeProperties'5457 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:5458 1410| dischargeProperties =5459 1411| def:5460 | ^5461 1412| if def ? _type then54625463 … while evaluating a branch condition5464 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:5465 1411| def:5466 1412| if def ? _type then5467 | ^5468 1413| if def._type == "if" then54695470 … while evaluating the attribute 'value'5471 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:5472 865| inherit (module) file;5473 866| inherit value;5474 | ^5475 867| }) module.config54765477 … while calling the 'mapAttrs' builtin5478 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:5479 127| # All services5480 128| allServices = lib.mapAttrs (_module_ident: instances: {5481 | ^5482 129| imports = [54835484 … from call site5485 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:5486 16|5487 17| grouped = lib.foldlAttrs (5488 | ^5489 18| acc: instanceName: instance:54905491 … while calling 'foldlAttrs'5492 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:5493 782| foldlAttrs =5494 783| f: init: set:5495 | ^5496 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);54975498 … while calling the 'foldl'' builtin5499 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:5500 783| f: init: set:5501 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5502 | ^5503 785|55045505 … while calling the 'attrNames' builtin5506 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:5507 783| f: init: set:5508 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5509 | ^5510 785|55115512 … while calling the 'mapAttrs' builtin5513 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:5514 32|5515 33| importedModuleWithInstances = lib.mapAttrs (5516 | ^5517 34| instanceName: instance:55185519 … from call site5520 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:5521 12|5522 13| inventory = clanConfig.inventory;5523 | ^5524 14| flakeInputs = clanConfig.self.inputs;55255526 … while calling anonymous lambda5527 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:5528 282| let5529 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);5530 | ^5531 284| in55325533 … while evaluating the attribute 'value'5534 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:5535 1180| // {5536 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (5537 | ^5538 1182| # Apply the 'apply' function to the merged value. This allows options to55395540 … while evaluating the option `inventory':55415542 (12 duplicate frames omitted)55435544 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':55455546 … from call site5547 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:5548 1254| }5549 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5550 | ^5551 1256| ) defs;55525553 … while calling 'dischargeProperties'5554 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:5555 1410| dischargeProperties =5556 1411| def:5557 | ^5558 1412| if def ? _type then55595560 … while evaluating a branch condition5561 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:5562 1411| def:5563 1412| if def ? _type then5564 | ^5565 1413| if def._type == "if" then55665567 … while evaluating the attribute 'value'5568 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:5569 865| inherit (module) file;5570 866| inherit value;5571 | ^5572 867| }) module.config55735574 … from call site5575 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:5576 142| # Note: we use clanLib.fs here, so that we can override it in tests5577 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {5578 | ^5579 144| imports = lib.mapAttrsToList (name: _t: {55805581 … while calling 'optionalAttrs'5582 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:5583 1478| */5584 1479| optionalAttrs = cond: as: if cond then as else { };5585 | ^5586 1480|55875588 … while evaluating a branch condition5589 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:5590 1478| */5591 1479| optionalAttrs = cond: as: if cond then as else { };5592 | ^5593 1480|55945595 error: attribute 'clanLib' missing5596 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:5597 48|5598 49| inherit (clan-core) clanLib;5599 | ^5600 50|56015602☢️ test_add_machines_via_tags5603error:5604 … while calling the 'attrNames' builtin5605 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/default.nix:329:14:5606 328| # We might change the attribute name in the future5607 329| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines;5608 | ^5609 330| expected = [56105611 … from call site5612 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/default.nix:329:28:5613 328| # We might change the attribute name in the future5614 329| expr = lib.attrNames res.config._services.allServices.self-A.result.allMachines;5615 | ^5616 330| expected = [56175618 … while calling anonymous lambda5619 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:5620 282| let5621 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);5622 | ^5623 284| in56245625 … while evaluating the attribute 'value'5626 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:5627 1180| // {5628 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (5629 | ^5630 1182| # Apply the 'apply' function to the merged value. This allows options to56315632 … while evaluating the option `_services.allServices':56335634 … while evaluating the attribute 'mergedValue'5635 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:5636 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.5637 1276| mergedValue =5638 | ^5639 1277| if isDefined then56405641 … while evaluating a branch condition5642 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:5643 1276| mergedValue =5644 1277| if isDefined then5645 | ^5646 1278| if type.merge ? v2 then56475648 … while evaluating the attribute 'values'5649 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:5650 1269| {5651 1270| values = defsSorted;5652 | ^5653 1271| inherit (defsFiltered) highestPrio;56545655 … while evaluating a branch condition5656 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:5657 1263| # Avoid sorting if we don't have to.5658 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5659 | ^5660 1265| sortProperties defsFiltered.values56615662 … while calling the 'any' builtin5663 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:5664 1263| # Avoid sorting if we don't have to.5665 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5666 | ^5667 1265| sortProperties defsFiltered.values56685669 … from call site5670 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:5671 1258| # Process mkOverride properties.5672 1259| defsFiltered = filterOverrides' defsNormalized;5673 | ^5674 1260|56755676 … while calling anonymous lambda5677 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:5678 1459| in5679 1460| defs:5680 | ^5681 1461| # Optimize for the singleton case, equivalent to the `else` clause.56825683 … while evaluating a branch condition5684 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:5685 1461| # Optimize for the singleton case, equivalent to the `else` clause.5686 1462| if length defs == 1 then5687 | ^5688 1463| {56895690 … while calling the 'length' builtin5691 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:5692 1461| # Optimize for the singleton case, equivalent to the `else` clause.5693 1462| if length defs == 1 then5694 | ^5695 1463| {56965697 … while calling the 'concatMap' builtin5698 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:5699 1243| # Process mkMerge and mkIf properties.5700 1244| defsNormalized = concatMap (5701 | ^5702 1245| m:57035704 … while calling anonymous lambda5705 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:5706 1244| defsNormalized = concatMap (5707 1245| m:5708 | ^5709 1246| map (57105711 … while calling the 'map' builtin5712 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:5713 1245| m:5714 1246| map (5715 | ^5716 1247| value:57175718 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':57195720 … from call site5721 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:5722 1254| }5723 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5724 | ^5725 1256| ) defs;57265727 … while calling 'dischargeProperties'5728 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:5729 1410| dischargeProperties =5730 1411| def:5731 | ^5732 1412| if def ? _type then57335734 … while evaluating a branch condition5735 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:5736 1411| def:5737 1412| if def ? _type then5738 | ^5739 1413| if def._type == "if" then57405741 … while evaluating the attribute 'value'5742 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:5743 865| inherit (module) file;5744 866| inherit value;5745 | ^5746 867| }) module.config57475748 … while calling the 'mapAttrs' builtin5749 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:5750 127| # All services5751 128| allServices = lib.mapAttrs (_module_ident: instances: {5752 | ^5753 129| imports = [57545755 … from call site5756 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:5757 16|5758 17| grouped = lib.foldlAttrs (5759 | ^5760 18| acc: instanceName: instance:57615762 … while calling 'foldlAttrs'5763 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:5764 782| foldlAttrs =5765 783| f: init: set:5766 | ^5767 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);57685769 … while calling the 'foldl'' builtin5770 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:5771 783| f: init: set:5772 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5773 | ^5774 785|57755776 … while calling the 'attrNames' builtin5777 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:5778 783| f: init: set:5779 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);5780 | ^5781 785|57825783 … while calling the 'mapAttrs' builtin5784 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:5785 32|5786 33| importedModuleWithInstances = lib.mapAttrs (5787 | ^5788 34| instanceName: instance:57895790 … from call site5791 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:5792 12|5793 13| inventory = clanConfig.inventory;5794 | ^5795 14| flakeInputs = clanConfig.self.inputs;57965797 … while calling anonymous lambda5798 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:5799 282| let5800 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);5801 | ^5802 284| in58035804 … while evaluating the attribute 'value'5805 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:5806 1180| // {5807 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (5808 | ^5809 1182| # Apply the 'apply' function to the merged value. This allows options to58105811 … while evaluating the option `inventory':58125813 (12 duplicate frames omitted)58145815 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':58165817 … from call site5818 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:5819 1254| }5820 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5821 | ^5822 1256| ) defs;58235824 … while calling 'dischargeProperties'5825 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:5826 1410| dischargeProperties =5827 1411| def:5828 | ^5829 1412| if def ? _type then58305831 … while evaluating a branch condition5832 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:5833 1411| def:5834 1412| if def ? _type then5835 | ^5836 1413| if def._type == "if" then58375838 … while evaluating the attribute 'value'5839 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:5840 865| inherit (module) file;5841 866| inherit value;5842 | ^5843 867| }) module.config58445845 … from call site5846 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:5847 142| # Note: we use clanLib.fs here, so that we can override it in tests5848 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {5849 | ^5850 144| imports = lib.mapAttrsToList (name: _t: {58515852 … while calling 'optionalAttrs'5853 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:5854 1478| */5855 1479| optionalAttrs = cond: as: if cond then as else { };5856 | ^5857 1480|58585859 … while evaluating a branch condition5860 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:5861 1478| */5862 1479| optionalAttrs = cond: as: if cond then as else { };5863 | ^5864 1480|58655866 error: attribute 'clanLib' missing5867 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:5868 48|5869 49| inherit (clan-core) clanLib;5870 | ^5871 50|58725873☢️ test_creates_all_instances5874error:5875 … while calling the 'attrNames' builtin5876 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/default.nix:217:14:5877 216| # We might change the attribute name in the future5878 217| expr = lib.attrNames res.config._services.allServices.self-A.instances;5879 | ^5880 218| expected = [58815882 … from call site5883 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/default.nix:217:28:5884 216| # We might change the attribute name in the future5885 217| expr = lib.attrNames res.config._services.allServices.self-A.instances;5886 | ^5887 218| expected = [58885889 … while calling anonymous lambda5890 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:5891 282| let5892 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);5893 | ^5894 284| in58955896 … while evaluating the attribute 'value'5897 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:5898 1180| // {5899 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (5900 | ^5901 1182| # Apply the 'apply' function to the merged value. This allows options to59025903 … while evaluating the option `_services.allServices':59045905 … while evaluating the attribute 'mergedValue'5906 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:5907 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.5908 1276| mergedValue =5909 | ^5910 1277| if isDefined then59115912 … while evaluating a branch condition5913 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:5914 1276| mergedValue =5915 1277| if isDefined then5916 | ^5917 1278| if type.merge ? v2 then59185919 … while evaluating the attribute 'values'5920 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:5921 1269| {5922 1270| values = defsSorted;5923 | ^5924 1271| inherit (defsFiltered) highestPrio;59255926 … while evaluating a branch condition5927 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:5928 1263| # Avoid sorting if we don't have to.5929 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5930 | ^5931 1265| sortProperties defsFiltered.values59325933 … while calling the 'any' builtin5934 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:5935 1263| # Avoid sorting if we don't have to.5936 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then5937 | ^5938 1265| sortProperties defsFiltered.values59395940 … from call site5941 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:5942 1258| # Process mkOverride properties.5943 1259| defsFiltered = filterOverrides' defsNormalized;5944 | ^5945 1260|59465947 … while calling anonymous lambda5948 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:5949 1459| in5950 1460| defs:5951 | ^5952 1461| # Optimize for the singleton case, equivalent to the `else` clause.59535954 … while evaluating a branch condition5955 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:5956 1461| # Optimize for the singleton case, equivalent to the `else` clause.5957 1462| if length defs == 1 then5958 | ^5959 1463| {59605961 … while calling the 'length' builtin5962 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:5963 1461| # Optimize for the singleton case, equivalent to the `else` clause.5964 1462| if length defs == 1 then5965 | ^5966 1463| {59675968 … while calling the 'concatMap' builtin5969 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:5970 1243| # Process mkMerge and mkIf properties.5971 1244| defsNormalized = concatMap (5972 | ^5973 1245| m:59745975 … while calling anonymous lambda5976 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:5977 1244| defsNormalized = concatMap (5978 1245| m:5979 | ^5980 1246| map (59815982 … while calling the 'map' builtin5983 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:5984 1245| m:5985 1246| map (5986 | ^5987 1247| value:59885989 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':59905991 … from call site5992 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:5993 1254| }5994 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))5995 | ^5996 1256| ) defs;59975998 … while calling 'dischargeProperties'5999 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:6000 1410| dischargeProperties =6001 1411| def:6002 | ^6003 1412| if def ? _type then60046005 … while evaluating a branch condition6006 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:6007 1411| def:6008 1412| if def ? _type then6009 | ^6010 1413| if def._type == "if" then60116012 … while evaluating the attribute 'value'6013 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:6014 865| inherit (module) file;6015 866| inherit value;6016 | ^6017 867| }) module.config60186019 … while calling the 'mapAttrs' builtin6020 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:6021 127| # All services6022 128| allServices = lib.mapAttrs (_module_ident: instances: {6023 | ^6024 129| imports = [60256026 … from call site6027 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:6028 16|6029 17| grouped = lib.foldlAttrs (6030 | ^6031 18| acc: instanceName: instance:60326033 … while calling 'foldlAttrs'6034 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:6035 782| foldlAttrs =6036 783| f: init: set:6037 | ^6038 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);60396040 … while calling the 'foldl'' builtin6041 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:6042 783| f: init: set:6043 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6044 | ^6045 785|60466047 … while calling the 'attrNames' builtin6048 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:6049 783| f: init: set:6050 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6051 | ^6052 785|60536054 … while calling the 'mapAttrs' builtin6055 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:6056 32|6057 33| importedModuleWithInstances = lib.mapAttrs (6058 | ^6059 34| instanceName: instance:60606061 … from call site6062 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:6063 12|6064 13| inventory = clanConfig.inventory;6065 | ^6066 14| flakeInputs = clanConfig.self.inputs;60676068 … while calling anonymous lambda6069 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:6070 282| let6071 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);6072 | ^6073 284| in60746075 … while evaluating the attribute 'value'6076 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:6077 1180| // {6078 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (6079 | ^6080 1182| # Apply the 'apply' function to the merged value. This allows options to60816082 … while evaluating the option `inventory':60836084 (12 duplicate frames omitted)60856086 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':60876088 … from call site6089 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:6090 1254| }6091 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6092 | ^6093 1256| ) defs;60946095 … while calling 'dischargeProperties'6096 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:6097 1410| dischargeProperties =6098 1411| def:6099 | ^6100 1412| if def ? _type then61016102 … while evaluating a branch condition6103 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:6104 1411| def:6105 1412| if def ? _type then6106 | ^6107 1413| if def._type == "if" then61086109 … while evaluating the attribute 'value'6110 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:6111 865| inherit (module) file;6112 866| inherit value;6113 | ^6114 867| }) module.config61156116 … from call site6117 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:6118 142| # Note: we use clanLib.fs here, so that we can override it in tests6119 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {6120 | ^6121 144| imports = lib.mapAttrsToList (name: _t: {61226123 … while calling 'optionalAttrs'6124 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:6125 1478| */6126 1479| optionalAttrs = cond: as: if cond then as else { };6127 | ^6128 1480|61296130 … while evaluating a branch condition6131 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:6132 1478| */6133 1479| optionalAttrs = cond: as: if cond then as else { };6134 | ^6135 1480|61366137 error: attribute 'clanLib' missing6138 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:6139 48|6140 49| inherit (clan-core) clanLib;6141 | ^6142 50|61436144☢️ test_manifest_maintainers6145error:6146 … from call site6147 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/default.nix:106:14:6148 105| {6149 106| expr = res.config._services.allServices.self-maintained-module.manifest.maintainers;6150 | ^6151 107| expected = [61526153 … while calling anonymous lambda6154 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:6155 282| let6156 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);6157 | ^6158 284| in61596160 … while evaluating the attribute 'value'6161 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:6162 1180| // {6163 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (6164 | ^6165 1182| # Apply the 'apply' function to the merged value. This allows options to61666167 … while evaluating the option `_services.allServices':61686169 … while evaluating the attribute 'mergedValue'6170 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:6171 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.6172 1276| mergedValue =6173 | ^6174 1277| if isDefined then61756176 … while evaluating a branch condition6177 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:6178 1276| mergedValue =6179 1277| if isDefined then6180 | ^6181 1278| if type.merge ? v2 then61826183 … while evaluating the attribute 'values'6184 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:6185 1269| {6186 1270| values = defsSorted;6187 | ^6188 1271| inherit (defsFiltered) highestPrio;61896190 … while evaluating a branch condition6191 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:6192 1263| # Avoid sorting if we don't have to.6193 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then6194 | ^6195 1265| sortProperties defsFiltered.values61966197 … while calling the 'any' builtin6198 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:6199 1263| # Avoid sorting if we don't have to.6200 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then6201 | ^6202 1265| sortProperties defsFiltered.values62036204 … from call site6205 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:6206 1258| # Process mkOverride properties.6207 1259| defsFiltered = filterOverrides' defsNormalized;6208 | ^6209 1260|62106211 … while calling anonymous lambda6212 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:6213 1459| in6214 1460| defs:6215 | ^6216 1461| # Optimize for the singleton case, equivalent to the `else` clause.62176218 … while evaluating a branch condition6219 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:6220 1461| # Optimize for the singleton case, equivalent to the `else` clause.6221 1462| if length defs == 1 then6222 | ^6223 1463| {62246225 … while calling the 'length' builtin6226 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:6227 1461| # Optimize for the singleton case, equivalent to the `else` clause.6228 1462| if length defs == 1 then6229 | ^6230 1463| {62316232 … while calling the 'concatMap' builtin6233 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:6234 1243| # Process mkMerge and mkIf properties.6235 1244| defsNormalized = concatMap (6236 | ^6237 1245| m:62386239 … while calling anonymous lambda6240 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:6241 1244| defsNormalized = concatMap (6242 1245| m:6243 | ^6244 1246| map (62456246 … while calling the 'map' builtin6247 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:6248 1245| m:6249 1246| map (6250 | ^6251 1247| value:62526253 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':62546255 … from call site6256 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:6257 1254| }6258 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6259 | ^6260 1256| ) defs;62616262 … while calling 'dischargeProperties'6263 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:6264 1410| dischargeProperties =6265 1411| def:6266 | ^6267 1412| if def ? _type then62686269 … while evaluating a branch condition6270 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:6271 1411| def:6272 1412| if def ? _type then6273 | ^6274 1413| if def._type == "if" then62756276 … while evaluating the attribute 'value'6277 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:6278 865| inherit (module) file;6279 866| inherit value;6280 | ^6281 867| }) module.config62826283 … while calling the 'mapAttrs' builtin6284 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:6285 127| # All services6286 128| allServices = lib.mapAttrs (_module_ident: instances: {6287 | ^6288 129| imports = [62896290 … from call site6291 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:6292 16|6293 17| grouped = lib.foldlAttrs (6294 | ^6295 18| acc: instanceName: instance:62966297 … while calling 'foldlAttrs'6298 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:6299 782| foldlAttrs =6300 783| f: init: set:6301 | ^6302 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);63036304 … while calling the 'foldl'' builtin6305 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:6306 783| f: init: set:6307 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6308 | ^6309 785|63106311 … while calling the 'attrNames' builtin6312 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:6313 783| f: init: set:6314 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6315 | ^6316 785|63176318 … while calling the 'mapAttrs' builtin6319 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:6320 32|6321 33| importedModuleWithInstances = lib.mapAttrs (6322 | ^6323 34| instanceName: instance:63246325 … from call site6326 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:6327 12|6328 13| inventory = clanConfig.inventory;6329 | ^6330 14| flakeInputs = clanConfig.self.inputs;63316332 … while calling anonymous lambda6333 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:6334 282| let6335 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);6336 | ^6337 284| in63386339 … while evaluating the attribute 'value'6340 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:6341 1180| // {6342 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (6343 | ^6344 1182| # Apply the 'apply' function to the merged value. This allows options to63456346 … while evaluating the option `inventory':63476348 (12 duplicate frames omitted)63496350 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':63516352 … from call site6353 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:6354 1254| }6355 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6356 | ^6357 1256| ) defs;63586359 … while calling 'dischargeProperties'6360 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:6361 1410| dischargeProperties =6362 1411| def:6363 | ^6364 1412| if def ? _type then63656366 … while evaluating a branch condition6367 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:6368 1411| def:6369 1412| if def ? _type then6370 | ^6371 1413| if def._type == "if" then63726373 … while evaluating the attribute 'value'6374 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:6375 865| inherit (module) file;6376 866| inherit value;6377 | ^6378 867| }) module.config63796380 … from call site6381 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:6382 142| # Note: we use clanLib.fs here, so that we can override it in tests6383 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {6384 | ^6385 144| imports = lib.mapAttrsToList (name: _t: {63866387 … while calling 'optionalAttrs'6388 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:6389 1478| */6390 1479| optionalAttrs = cond: as: if cond then as else { };6391 | ^6392 1480|63936394 … while evaluating a branch condition6395 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:6396 1478| */6397 1479| optionalAttrs = cond: as: if cond then as else { };6398 | ^6399 1480|64006401 error: attribute 'clanLib' missing6402 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:6403 48|6404 49| inherit (clan-core) clanLib;6405 | ^6406 50|64076408☢️ test_module_grouping6409error:6410 … while calling the 'attrNames' builtin6411 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/default.nix:171:14:6412 170| # We might change the attribute name in the future6413 171| expr = lib.attrNames res.config._services.allServices;6414 | ^6415 172| expected = [64166417 … from call site6418 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/default.nix:171:28:6419 170| # We might change the attribute name in the future6420 171| expr = lib.attrNames res.config._services.allServices;6421 | ^6422 172| expected = [64236424 … while calling anonymous lambda6425 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:6426 282| let6427 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);6428 | ^6429 284| in64306431 … while evaluating the attribute 'value'6432 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:6433 1180| // {6434 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (6435 | ^6436 1182| # Apply the 'apply' function to the merged value. This allows options to64376438 … while evaluating the option `_services.allServices':64396440 … while evaluating the attribute 'mergedValue'6441 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:6442 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.6443 1276| mergedValue =6444 | ^6445 1277| if isDefined then64466447 … while evaluating a branch condition6448 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:6449 1276| mergedValue =6450 1277| if isDefined then6451 | ^6452 1278| if type.merge ? v2 then64536454 … while evaluating the attribute 'values'6455 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:6456 1269| {6457 1270| values = defsSorted;6458 | ^6459 1271| inherit (defsFiltered) highestPrio;64606461 … while evaluating a branch condition6462 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:6463 1263| # Avoid sorting if we don't have to.6464 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then6465 | ^6466 1265| sortProperties defsFiltered.values64676468 … while calling the 'any' builtin6469 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:6470 1263| # Avoid sorting if we don't have to.6471 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then6472 | ^6473 1265| sortProperties defsFiltered.values64746475 … from call site6476 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:6477 1258| # Process mkOverride properties.6478 1259| defsFiltered = filterOverrides' defsNormalized;6479 | ^6480 1260|64816482 … while calling anonymous lambda6483 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:6484 1459| in6485 1460| defs:6486 | ^6487 1461| # Optimize for the singleton case, equivalent to the `else` clause.64886489 … while evaluating a branch condition6490 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:6491 1461| # Optimize for the singleton case, equivalent to the `else` clause.6492 1462| if length defs == 1 then6493 | ^6494 1463| {64956496 … while calling the 'length' builtin6497 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:6498 1461| # Optimize for the singleton case, equivalent to the `else` clause.6499 1462| if length defs == 1 then6500 | ^6501 1463| {65026503 … while calling the 'concatMap' builtin6504 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:6505 1243| # Process mkMerge and mkIf properties.6506 1244| defsNormalized = concatMap (6507 | ^6508 1245| m:65096510 … while calling anonymous lambda6511 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:6512 1244| defsNormalized = concatMap (6513 1245| m:6514 | ^6515 1246| map (65166517 … while calling the 'map' builtin6518 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:6519 1245| m:6520 1246| map (6521 | ^6522 1247| value:65236524 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':65256526 … from call site6527 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:6528 1254| }6529 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6530 | ^6531 1256| ) defs;65326533 … while calling 'dischargeProperties'6534 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:6535 1410| dischargeProperties =6536 1411| def:6537 | ^6538 1412| if def ? _type then65396540 … while evaluating a branch condition6541 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:6542 1411| def:6543 1412| if def ? _type then6544 | ^6545 1413| if def._type == "if" then65466547 … while evaluating the attribute 'value'6548 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:6549 865| inherit (module) file;6550 866| inherit value;6551 | ^6552 867| }) module.config65536554 … while calling the 'mapAttrs' builtin6555 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:6556 127| # All services6557 128| allServices = lib.mapAttrs (_module_ident: instances: {6558 | ^6559 129| imports = [65606561 … from call site6562 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:6563 16|6564 17| grouped = lib.foldlAttrs (6565 | ^6566 18| acc: instanceName: instance:65676568 … while calling 'foldlAttrs'6569 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:6570 782| foldlAttrs =6571 783| f: init: set:6572 | ^6573 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);65746575 … while calling the 'foldl'' builtin6576 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:6577 783| f: init: set:6578 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6579 | ^6580 785|65816582 … while calling the 'attrNames' builtin6583 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:6584 783| f: init: set:6585 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6586 | ^6587 785|65886589 … while calling the 'mapAttrs' builtin6590 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:6591 32|6592 33| importedModuleWithInstances = lib.mapAttrs (6593 | ^6594 34| instanceName: instance:65956596 … from call site6597 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:6598 12|6599 13| inventory = clanConfig.inventory;6600 | ^6601 14| flakeInputs = clanConfig.self.inputs;66026603 … while calling anonymous lambda6604 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:6605 282| let6606 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);6607 | ^6608 284| in66096610 … while evaluating the attribute 'value'6611 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:6612 1180| // {6613 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (6614 | ^6615 1182| # Apply the 'apply' function to the merged value. This allows options to66166617 … while evaluating the option `inventory':66186619 (12 duplicate frames omitted)66206621 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':66226623 … from call site6624 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:6625 1254| }6626 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6627 | ^6628 1256| ) defs;66296630 … while calling 'dischargeProperties'6631 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:6632 1410| dischargeProperties =6633 1411| def:6634 | ^6635 1412| if def ? _type then66366637 … while evaluating a branch condition6638 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:6639 1411| def:6640 1412| if def ? _type then6641 | ^6642 1413| if def._type == "if" then66436644 … while evaluating the attribute 'value'6645 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:6646 865| inherit (module) file;6647 866| inherit value;6648 | ^6649 867| }) module.config66506651 … from call site6652 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:6653 142| # Note: we use clanLib.fs here, so that we can override it in tests6654 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {6655 | ^6656 144| imports = lib.mapAttrsToList (name: _t: {66576658 … while calling 'optionalAttrs'6659 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:6660 1478| */6661 1479| optionalAttrs = cond: as: if cond then as else { };6662 | ^6663 1480|66646665 … while evaluating a branch condition6666 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:6667 1478| */6668 1479| optionalAttrs = cond: as: if cond then as else { };6669 | ^6670 1480|66716672 error: attribute 'clanLib' missing6673 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:6674 48|6675 49| inherit (clan-core) clanLib;6676 | ^6677 50|66786679☢️ test_simple6680error:6681 … from call site6682 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/lib/inventory/distributed-service/tests/default.nix:74:14:6683 73| # We might change the attribute name in the future6684 74| expr = res.config._services.allServices ? "<clan-core>-simple-module";6685 | ^6686 75| expected = true;66876688 … while calling anonymous lambda6689 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:6690 282| let6691 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);6692 | ^6693 284| in66946695 … while evaluating the attribute 'value'6696 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:6697 1180| // {6698 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (6699 | ^6700 1182| # Apply the 'apply' function to the merged value. This allows options to67016702 … while evaluating the option `_services.allServices':67036704 … while evaluating the attribute 'mergedValue'6705 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1276:5:6706 1275| # Type-check the remaining definitions, and merge them. Or throw if no definitions.6707 1276| mergedValue =6708 | ^6709 1277| if isDefined then67106711 … while evaluating a branch condition6712 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1277:7:6713 1276| mergedValue =6714 1277| if isDefined then6715 | ^6716 1278| if type.merge ? v2 then67176718 … while evaluating the attribute 'values'6719 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1270:11:6720 1269| {6721 1270| values = defsSorted;6722 | ^6723 1271| inherit (defsFiltered) highestPrio;67246725 … while evaluating a branch condition6726 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:13:6727 1263| # Avoid sorting if we don't have to.6728 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then6729 | ^6730 1265| sortProperties defsFiltered.values67316732 … while calling the 'any' builtin6733 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1264:16:6734 1263| # Avoid sorting if we don't have to.6735 1264| if any (def: def.value._type or "" == "order") defsFiltered.values then6736 | ^6737 1265| sortProperties defsFiltered.values67386739 … from call site6740 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1259:26:6741 1258| # Process mkOverride properties.6742 1259| defsFiltered = filterOverrides' defsNormalized;6743 | ^6744 1260|67456746 … while calling anonymous lambda6747 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1460:5:6748 1459| in6749 1460| defs:6750 | ^6751 1461| # Optimize for the singleton case, equivalent to the `else` clause.67526753 … while evaluating a branch condition6754 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:5:6755 1461| # Optimize for the singleton case, equivalent to the `else` clause.6756 1462| if length defs == 1 then6757 | ^6758 1463| {67596760 … while calling the 'length' builtin6761 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1462:8:6762 1461| # Optimize for the singleton case, equivalent to the `else` clause.6763 1462| if length defs == 1 then6764 | ^6765 1463| {67666767 … while calling the 'concatMap' builtin6768 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1244:28:6769 1243| # Process mkMerge and mkIf properties.6770 1244| defsNormalized = concatMap (6771 | ^6772 1245| m:67736774 … while calling anonymous lambda6775 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1245:13:6776 1244| defsNormalized = concatMap (6777 1245| m:6778 | ^6779 1246| map (67806781 … while calling the 'map' builtin6782 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1246:13:6783 1245| m:6784 1246| map (6785 | ^6786 1247| value:67876788 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix':67896790 … from call site6791 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:6792 1254| }6793 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6794 | ^6795 1256| ) defs;67966797 … while calling 'dischargeProperties'6798 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:6799 1410| dischargeProperties =6800 1411| def:6801 | ^6802 1412| if def ? _type then68036804 … while evaluating a branch condition6805 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:6806 1411| def:6807 1412| if def ? _type then6808 | ^6809 1413| if def._type == "if" then68106811 … while evaluating the attribute 'value'6812 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:6813 865| inherit (module) file;6814 866| inherit value;6815 | ^6816 867| }) module.config68176818 … while calling the 'mapAttrs' builtin6819 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:128:25:6820 127| # All services6821 128| allServices = lib.mapAttrs (_module_ident: instances: {6822 | ^6823 129| imports = [68246825 … from call site6826 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:17:13:6827 16|6828 17| grouped = lib.foldlAttrs (6829 | ^6830 18| acc: instanceName: instance:68316832 … while calling 'foldlAttrs'6833 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:783:14:6834 782| foldlAttrs =6835 783| f: init: set:6836 | ^6837 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);68386839 … while calling the 'foldl'' builtin6840 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:5:6841 783| f: init: set:6842 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6843 | ^6844 785|68456846 … while calling the 'attrNames' builtin6847 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:784:54:6848 783| f: init: set:6849 784| foldl' (acc: name: f acc name set.${name}) init (attrNames set);6850 | ^6851 785|68526853 … while calling the 'mapAttrs' builtin6854 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:33:33:6855 32|6856 33| importedModuleWithInstances = lib.mapAttrs (6857 | ^6858 34| instanceName: instance:68596860 … from call site6861 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/distributed-services.nix:13:15:6862 12|6863 13| inventory = clanConfig.inventory;6864 | ^6865 14| flakeInputs = clanConfig.self.inputs;68666867 … while calling anonymous lambda6868 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:283:38:6869 282| let6870 283| recurse = mapAttrs (n: v: if isOption v then v.value else recurse v);6871 | ^6872 284| in68736874 … while evaluating the attribute 'value'6875 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1181:7:6876 1180| // {6877 1181| value = addErrorContext "while evaluating the option `${showOption loc}':" (6878 | ^6879 1182| # Apply the 'apply' function to the merged value. This allows options to68806881 … while evaluating the option `inventory':68826883 (12 duplicate frames omitted)68846885 … while evaluating definitions from `/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix':68866887 … from call site6888 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1255:82:6889 1254| }6890 1255| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))6891 | ^6892 1256| ) defs;68936894 … while calling 'dischargeProperties'6895 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1411:5:6896 1410| dischargeProperties =6897 1411| def:6898 | ^6899 1412| if def ? _type then69006901 … while evaluating a branch condition6902 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:1412:5:6903 1411| def:6904 1412| if def ? _type then6905 | ^6906 1413| if def._type == "if" then69076908 … while evaluating the attribute 'value'6909 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/modules.nix:866:21:6910 865| inherit (module) file;6911 866| inherit value;6912 | ^6913 867| }) module.config69146915 … from call site6916 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:143:19:6917 142| # Note: we use clanLib.fs here, so that we can override it in tests6918 143| inventory = lib.optionalAttrs (clanLib.fs.pathExists "${directory}/machines") {6919 | ^6920 144| imports = lib.mapAttrsToList (name: _t: {69216922 … while calling 'optionalAttrs'6923 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:25:6924 1478| */6925 1479| optionalAttrs = cond: as: if cond then as else { };6926 | ^6927 1480|69286929 … while evaluating a branch condition6930 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/vlhb7haagkjabf20g1vg9kxi53fcpi17-source/lib/attrsets.nix:1479:29:6931 1478| */6932 1479| optionalAttrs = cond: as: if cond then as else { };6933 | ^6934 1480|69356936 error: attribute 'clanLib' missing6937 at /nix/var/nix/builds/nix-72026-1379694830/nix/store/j0zfxpxxf8smni4zq77xiqlyzaqnxz7j-source/modules/clan/module.nix:49:23:6938 48|6939 49| inherit (clan-core) clanLib;6940 | ^6941 50|694269436944😢 2/27 successful6945error: Tests failed69466947Eval check failed. To re-run this test:6948 nix build .#legacyPackages.aarch64-darwin.evalCheck-eval-lib-distributedServices6949