evalCheck-eval-lib-build-clan
checks.aarch64-darwin.eval-tests
· build #498
· raw
1warning: not writing modified lock file of flake 'path:/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source':2• Added input 'data-mesher':3 'path:/nix/store/p9gq9k97rzqwpmd650cbkw656ipicd29-source?lastModified=1&narHash=sha256-H3RXKAi9vd3WVoMUuq2Qb0Ig8dPgLlknW1A%2BRAP4CnQ%3D' (1970-01-01)4• Added input 'data-mesher/flake-parts':5 follows 'flake-parts'6• Added input 'data-mesher/nixpkgs':7 follows 'nixpkgs'8• Added input 'data-mesher/treefmt-nix':9 follows 'treefmt-nix'10• Added input 'disko':11 'path:/nix/store/w2c23ykc12mswlg8hrrjzb5gv9gvkzwq-source?lastModified=1&narHash=sha256-RxWs5ND31KzTG7wvMM%2BPMfUjyNpmIEr999lqNARaM5o%3D' (1970-01-01)12• Added input 'disko/nixpkgs':13 follows 'nixpkgs'14• Added input 'flake-parts':15 'path:/nix/store/s0fpxz3rvfip9bc50wfmwpigxiyl6nkg-source?lastModified=1&narHash=sha256-onL0VLf9vPllmT0H/OlURIU5r5t5WIEl7t4tVNKT0Nw%3D' (1970-01-01)16• Added input 'flake-parts/nixpkgs-lib':17 follows 'nixpkgs'18• Added input 'nix-darwin':19 'path:/nix/store/8ggr67sci43hlp8ba6rhjrdhhj5490am-source?lastModified=1&narHash=sha256-oQFip%2Bv0luP8NIxJzmiW4Wu8bILsbFWom5l0zonl8hQ%3D' (1970-01-01)20• Added input 'nix-darwin/nixpkgs':21 follows 'nixpkgs'22• Added input 'nix-select':23 'path:/nix/store/cba1x9mxnwr8b36cw41bya7g6d5v1p7d-source?lastModified=1&narHash=sha256-yxcNOha7Cfv2nhVpz9ZXSNKk0R7wt4AiBklJ8D24rVg%3D' (1970-01-01)24• Added input 'nixpkgs':25 'path:/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source?lastModified=1&narHash=sha256-SpMiSe9OSfWseGAupsdcED3He9mTYTbGMtWb7EVt6pE%3D' (1970-01-01)26• Added input 'sops-nix':27 'path:/nix/store/s154mmk8ahvc71gq8xfkbzlk240yvniv-source?lastModified=1&narHash=sha256-gkig4nPi1CWc4Z50GBsjE4ygSE7hMpl/TwID2an2Cck%3D' (1970-01-01)28• Added input 'sops-nix/nixpkgs':29 follows 'nixpkgs'30• Added input 'systems':31 'path:/nix/store/9m1jsz5b9ggmjij2vkmafnhn26g96jjn-source?lastModified=1&narHash=sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w%3D' (1970-01-01)32• Added input 'treefmt-nix':33 'path:/nix/store/7sjy8935654h3220n5gbaclf5nfw4nzx-source?lastModified=1&narHash=sha256-WSFCsDSE5ffgD2MqzkM2CYjeFiKhRF/dJUN8uedb6YE%3D' (1970-01-01)34• Added input 'treefmt-nix/nixpkgs':35 follows 'nixpkgs'36trace: pathExists: 'machines' -> 'true'37trace: readDir: 'machines' -> '{38 bar-machine = "directory";39 foo-machine = "directory";40}'41✅ autoloading.test_autoload_directories42trace: pathExists: 'machines' -> 'true'43trace: readDir: 'machines' -> '{44 "bar.nix" = "file";45 "foo.nix" = "file";46}'47✅ autoloading.test_files_are_not_machines48☢️ clan.testMachineAccessToClanConfig49error:50 … from call site51 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/lib/lib-clan-tests.nix:21:14:52 20| # Attention: We need to access 'meta' via 'inventory' since clan.meta itself is a deferred module53 21| expr = eval.config.nixosConfigurations.testMachine.config.clanConfig.inventory.meta.name == "test";54 | ^55 22| expected = true;5657 … while calling anonymous lambda58 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/types.nix:1029:18:59 1028| value = mapAttrs (60 1029| n: v:61 | ^62 1030| if lazy then6364 … while evaluating the attribute 'optionalValue.value'65 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1312:5:66 1311|67 1312| optionalValue = if isDefined then { value = mergedValue; } else { };68 | ^69 1313| };7071 … while evaluating a branch condition72 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1312:21:73 1311|74 1312| optionalValue = if isDefined then { value = mergedValue; } else { };75 | ^76 1313| };7778 … while evaluating a branch condition79 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1223:7:80 1222| # above are lazy and thus never forced on this branch.81 1223| if82 | ^83 1224| length defs == 18485 … in the right operand of the AND (&&) operator86 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1225:9:87 1224| length defs == 188 1225| && (89 | ^90 1226| let9192 … while evaluating definitions from `/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/modules/clan/module.nix':9394 … in the argument of the not operator95 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1230:31:96 1229| addErrorContext "while evaluating definitions from `${d.file}':" (97 1230| !(isAttrs d.value && d.value ? _type)98 | ^99 1231| )100101 … in the left operand of the AND (&&) operator102 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1230:31:103 1229| addErrorContext "while evaluating definitions from `${d.file}':" (104 1230| !(isAttrs d.value && d.value ? _type)105 | ^106 1231| )107108 … while calling the 'isAttrs' builtin109 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1230:15:110 1229| addErrorContext "while evaluating definitions from `${d.file}':" (111 1230| !(isAttrs d.value && d.value ? _type)112 | ^113 1231| )114115 … while evaluating the attribute 'value'116 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/types.nix:969:11:117 968| inherit (def) file;118 969| value = v;119 | ^120 970| }) def.value121122 … from call site123 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/types.nix:969:11:124 968| inherit (def) file;125 969| value = v;126 | ^127 970| }) def.value128129 … while calling anonymous lambda130 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/modules/clan/module.nix:92:11:131 91| configurations = lib.mapAttrs (132 92| name: _:133 | ^134 93| let135136 … while evaluating the attribute 'default.nixpkgs'137 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/modules/clan/module.nix:57:15:138 56| {139 57| inherit nixpkgs spec;140 | ^141 58| # spec = spec;142143 … while evaluating the attribute 'self.inputs.nixpkgs'144 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/modules/clan/top-level-interface.nix:149:13:145 148| // {146 149| inputs = (s.inputs or { }) // {147 | ^148 150| self.clan = config;149150 … while calling the 'throw' builtin151 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/modules/clan/module.nix:54:46:152 53| nixpkgs =153 54| config.self.inputs.${spec.input} or (throw "Flake does not have 'input' named '${spec.input}'");154 | ^155 55| in156157 error: Flake does not have 'input' named 'nixpkgs'158159✅ test_all_simple160✅ test_clan_all_machines161✅ test_clan_all_machines_laziness162evaluation warning: Argument: 'self' must be set163✅ test_clan_check_simple_fail164evaluation warning: Argument: 'self' must be set165✅ test_clan_check_simple_pass166✅ test_clan_darwin_machines167☢️ test_clan_darwin_wireguard_service168error:169 … while evaluating the attribute 'nixosWgInterface'170 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/lib/tests.nix:357:9:171 356| # Check nixos wireguard interface is configured (option exists)172 357| nixosWgInterface = nixosConfig.networking.wireguard.interfaces ? wg-test;173 | ^174 358| };175176 … from call site177 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/lib/tests.nix:341:21:178 340| darwinConfig = eval.config.darwinConfigurations.darwin-peer.config;179 341| nixosConfig = eval.config.nixosConfigurations.nixos-peer.config;180 | ^181 342| in182183 … while calling anonymous lambda184 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/types.nix:1029:18:185 1028| value = mapAttrs (186 1029| n: v:187 | ^188 1030| if lazy then189190 … while evaluating the attribute 'optionalValue.value'191 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1312:5:192 1311|193 1312| optionalValue = if isDefined then { value = mergedValue; } else { };194 | ^195 1313| };196197 … while evaluating a branch condition198 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1312:21:199 1311|200 1312| optionalValue = if isDefined then { value = mergedValue; } else { };201 | ^202 1313| };203204 … while evaluating a branch condition205 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1223:7:206 1222| # above are lazy and thus never forced on this branch.207 1223| if208 | ^209 1224| length defs == 1210211 … in the right operand of the AND (&&) operator212 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1225:9:213 1224| length defs == 1214 1225| && (215 | ^216 1226| let217218 … while evaluating definitions from `/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/modules/clan/module.nix':219220 … in the argument of the not operator221 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1230:31:222 1229| addErrorContext "while evaluating definitions from `${d.file}':" (223 1230| !(isAttrs d.value && d.value ? _type)224 | ^225 1231| )226227 … in the left operand of the AND (&&) operator228 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1230:31:229 1229| addErrorContext "while evaluating definitions from `${d.file}':" (230 1230| !(isAttrs d.value && d.value ? _type)231 | ^232 1231| )233234 … while calling the 'isAttrs' builtin235 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1230:15:236 1229| addErrorContext "while evaluating definitions from `${d.file}':" (237 1230| !(isAttrs d.value && d.value ? _type)238 | ^239 1231| )240241 … while evaluating the attribute 'value'242 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/types.nix:969:11:243 968| inherit (def) file;244 969| value = v;245 | ^246 970| }) def.value247248 … from call site249 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/types.nix:969:11:250 968| inherit (def) file;251 969| value = v;252 | ^253 970| }) def.value254255 … while calling anonymous lambda256 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/modules/clan/module.nix:92:11:257 91| configurations = lib.mapAttrs (258 92| name: _:259 | ^260 93| let261262 … while evaluating the attribute 'default.nixpkgs'263 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/modules/clan/module.nix:57:15:264 56| {265 57| inherit nixpkgs spec;266 | ^267 58| # spec = spec;268269 … while evaluating the attribute 'self.inputs.nixpkgs'270 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/modules/clan/top-level-interface.nix:149:13:271 148| // {272 149| inputs = (s.inputs or { }) // {273 | ^274 150| self.clan = config;275276 … while calling the 'throw' builtin277 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/modules/clan/module.nix:54:46:278 53| nixpkgs =279 54| config.self.inputs.${spec.input} or (throw "Flake does not have 'input' named '${spec.input}'");280 | ^281 55| in282283 error: Flake does not have 'input' named 'nixpkgs'284285☢️ test_clan_specialArgs286error:287 … from call site288 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/lib/tests.nix:197:14:289 196| {290 197| expr = eval.config.nixosConfigurations.machine2.config.networking.hostName;291 | ^292 198| expected = "dream2nix";293294 … while calling anonymous lambda295 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/types.nix:1029:18:296 1028| value = mapAttrs (297 1029| n: v:298 | ^299 1030| if lazy then300301 … while evaluating the attribute 'optionalValue.value'302 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1312:5:303 1311|304 1312| optionalValue = if isDefined then { value = mergedValue; } else { };305 | ^306 1313| };307308 … while evaluating a branch condition309 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1312:21:310 1311|311 1312| optionalValue = if isDefined then { value = mergedValue; } else { };312 | ^313 1313| };314315 … while evaluating a branch condition316 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1223:7:317 1222| # above are lazy and thus never forced on this branch.318 1223| if319 | ^320 1224| length defs == 1321322 … in the right operand of the AND (&&) operator323 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1225:9:324 1224| length defs == 1325 1225| && (326 | ^327 1226| let328329 … while evaluating definitions from `/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/modules/clan/module.nix':330331 … in the argument of the not operator332 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1230:31:333 1229| addErrorContext "while evaluating definitions from `${d.file}':" (334 1230| !(isAttrs d.value && d.value ? _type)335 | ^336 1231| )337338 … in the left operand of the AND (&&) operator339 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1230:31:340 1229| addErrorContext "while evaluating definitions from `${d.file}':" (341 1230| !(isAttrs d.value && d.value ? _type)342 | ^343 1231| )344345 … while calling the 'isAttrs' builtin346 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1230:15:347 1229| addErrorContext "while evaluating definitions from `${d.file}':" (348 1230| !(isAttrs d.value && d.value ? _type)349 | ^350 1231| )351352 … while evaluating the attribute 'value'353 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/types.nix:969:11:354 968| inherit (def) file;355 969| value = v;356 | ^357 970| }) def.value358359 … from call site360 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/types.nix:969:11:361 968| inherit (def) file;362 969| value = v;363 | ^364 970| }) def.value365366 … while calling anonymous lambda367 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/modules/clan/module.nix:92:11:368 91| configurations = lib.mapAttrs (369 92| name: _:370 | ^371 93| let372373 … while evaluating the attribute 'default.nixpkgs'374 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/modules/clan/module.nix:57:15:375 56| {376 57| inherit nixpkgs spec;377 | ^378 58| # spec = spec;379380 … while evaluating the attribute 'self.inputs.nixpkgs'381 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/modules/clan/top-level-interface.nix:149:13:382 148| // {383 149| inputs = (s.inputs or { }) // {384 | ^385 150| self.clan = config;386387 … while calling the 'throw' builtin388 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/modules/clan/module.nix:54:46:389 53| nixpkgs =390 54| config.self.inputs.${spec.input} or (throw "Flake does not have 'input' named '${spec.input}'");391 | ^392 55| in393394 error: Flake does not have 'input' named 'nixpkgs'395396✅ test_fn_clan_core397✅ test_fn_simple398✅ test_get_var_default399✅ test_get_var_machine400✅ test_get_var_shared401✅ test_machines_are_modules402evaluation warning: Argument: 'self' must be set403☢️ test_missing_self404error:405 … from call site406 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/lib/tests.nix:25:14:407 24| {408 25| expr = shallowForceAllAttributes eval.config;409 | ^410 26| expected = true;411412 … while calling 'foldlAttrs'413 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/attrsets.nix:796:14:414 795| foldlAttrs =415 796| f: init: set:416 | ^417 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);418419 … while calling the 'foldl'' builtin420 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/attrsets.nix:797:5:421 796| f: init: set:422 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);423 | ^424 798|425426 … while calling anonymous lambda427 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/attrsets.nix:797:18:428 796| f: init: set:429 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);430 | ^431 798|432433 … from call site434 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/attrsets.nix:797:24:435 796| f: init: set:436 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);437 | ^438 798|439440 … while calling anonymous lambda441 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/lib/tests.nix:8:18:442 7| shallowForceAllAttributes = lib.foldlAttrs (443 8| _acc: _name: value:444 | ^445 9| lib.seq value true446447 … while calling the 'seq' builtin448 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/lib/tests.nix:9:5:449 8| _acc: _name: value:450 9| lib.seq value true451 | ^452 10| ) true;453454 … from call site455 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/attrsets.nix:797:35:456 796| f: init: set:457 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);458 | ^459 798|460461 … while calling anonymous lambda462 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/attrsets.nix:1195:17:463 1194| mapAttrs (464 1195| name: value:465 | ^466 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value467468 … from call site469 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/attrsets.nix:1196:85:470 1195| name: value:471 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value472 | ^473 1197| );474475 … while calling anonymous lambda476 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:282:71:477 281| # For definitions that have an associated option478 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;479 | ^480 283|481482 … while evaluating the attribute 'value'483 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1149:7:484 1148| // {485 1149| value = addErrorContext "while evaluating the option `${showOption loc}':" value;486 | ^487 1150| inherit (res.defsFinal') highestPrio;488489 … while evaluating the option `pkgsForSystem':490491 … from call site492 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1138:35:493 1137| # yield a value computed from the definitions494 1138| value = if opt ? apply then opt.apply res.mergedValue else res.mergedValue;495 | ^496 1139|497498 … while calling 'apply'499 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1697:11:500 1696| apply =501 1697| x:502 | ^503 1698| throw "The option `${showOption optionName}' can no longer be used since it's been removed. ${replacementInstructions}";504505 … while calling the 'throw' builtin506 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1698:11:507 1697| x:508 1698| throw "The option `${showOption optionName}' can no longer be used since it's been removed. ${replacementInstructions}";509 | ^510 1699| });511512 error: The option `pkgsForSystem' can no longer be used since it's been removed. Use 'inventory.nixpkgs' instead513514 Example migration:515516 clan = {517 pkgsForSystem =518 system:519 import nixpkgs {520 inherit system;521 config = {522 allowUnfree = true;523 };524 overlays = [ ];525 };526 };527528 becomes:529530 clan = {531 inventory.nixpkgs.default = {532 inputs = "nixpkgs";533 config = { allowUnfree = true; };534 overlays = [ ];535 };536 };537538☢️ test_only_required539error:540 … from call site541 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/lib/tests.nix:40:14:542 39| {543 40| expr = shallowForceAllAttributes eval.config;544 | ^545 41| expected = true;546547 … while calling 'foldlAttrs'548 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/attrsets.nix:796:14:549 795| foldlAttrs =550 796| f: init: set:551 | ^552 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);553554 … while calling the 'foldl'' builtin555 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/attrsets.nix:797:5:556 796| f: init: set:557 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);558 | ^559 798|560561 … while calling anonymous lambda562 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/attrsets.nix:797:18:563 796| f: init: set:564 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);565 | ^566 798|567568 … from call site569 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/attrsets.nix:797:24:570 796| f: init: set:571 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);572 | ^573 798|574575 … while calling anonymous lambda576 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/lib/tests.nix:8:18:577 7| shallowForceAllAttributes = lib.foldlAttrs (578 8| _acc: _name: value:579 | ^580 9| lib.seq value true581582 … while calling the 'seq' builtin583 at /nix/var/nix/builds/nix-60038-935895574/nix/store/s2qdmvmcvi6nj1aa54jqxpq2psqla3mc-source/lib/tests.nix:9:5:584 8| _acc: _name: value:585 9| lib.seq value true586 | ^587 10| ) true;588589 … from call site590 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/attrsets.nix:797:35:591 796| f: init: set:592 797| foldl' (acc: name: f acc name set.${name}) init (attrNames set);593 | ^594 798|595596 … while calling anonymous lambda597 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/attrsets.nix:1195:17:598 1194| mapAttrs (599 1195| name: value:600 | ^601 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value602603 … from call site604 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/attrsets.nix:1196:85:605 1195| name: value:606 1196| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value607 | ^608 1197| );609610 … while calling anonymous lambda611 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:282:71:612 281| # For definitions that have an associated option613 282| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;614 | ^615 283|616617 … while evaluating the attribute 'value'618 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1149:7:619 1148| // {620 1149| value = addErrorContext "while evaluating the option `${showOption loc}':" value;621 | ^622 1150| inherit (res.defsFinal') highestPrio;623624 … while evaluating the option `pkgsForSystem':625626 … from call site627 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1138:35:628 1137| # yield a value computed from the definitions629 1138| value = if opt ? apply then opt.apply res.mergedValue else res.mergedValue;630 | ^631 1139|632633 … while calling 'apply'634 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1697:11:635 1696| apply =636 1697| x:637 | ^638 1698| throw "The option `${showOption optionName}' can no longer be used since it's been removed. ${replacementInstructions}";639640 … while calling the 'throw' builtin641 at /nix/var/nix/builds/nix-60038-935895574/nix/store/7j2q0l0mrczrm6fiqyx152xdr0hw4s72-source/lib/modules.nix:1698:11:642 1697| x:643 1698| throw "The option `${showOption optionName}' can no longer be used since it's been removed. ${replacementInstructions}";644 | ^645 1699| });646647 error: The option `pkgsForSystem' can no longer be used since it's been removed. Use 'inventory.nixpkgs' instead648649 Example migration:650651 clan = {652 pkgsForSystem =653 system:654 import nixpkgs {655 inherit system;656 config = {657 allowUnfree = true;658 };659 overlays = [ ];660 };661 };662663 becomes:664665 clan = {666 inventory.nixpkgs.default = {667 inputs = "nixpkgs";668 config = { allowUnfree = true; };669 overlays = [ ];670 };671 };672673✅ test_outputs_clanInternals674✅ test_single_letter_domain675676😢 16/21 successful677error: Tests failed678679Eval check failed. To re-run this test:680 nix build .#legacyPackages.aarch64-darwin.evalCheck-eval-lib-build-clan681