| 9 Feb 2024 |
treed | Plus the weird YAML-not-a-programming-language aspect | 23:38:27 |
| 10 Feb 2024 |
| @aktaboot:tchncs.de changed their profile picture. | 22:06:29 |
| 11 Feb 2024 |
| @ibtalot:matrix.org joined the room. | 19:53:12 |
| 16 Feb 2024 |
hexa | ok, so raitobezarius eta l | 13:50:23 |
hexa | * ok, so raitobezarius et al | 13:50:25 |
raitobezarius | (i read eta first) | 13:50:42 |
hexa | In reply to @hexa:lossy.network
❯ colmena build -v --show-trace
[INFO ] Using configuration: /home/hexa/git/chaos/infra-nix/hive.nix
[INFO ] Enumerating nodes...
error:
… while evaluating attribute 'archive.darmstadt.ccc.de'
at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/attrsets.nix:560:14:
559| value:
560| { inherit name value; };
| ^
561|
… while calling anonymous lambda
at /run/user/1000/colmena-assets-LXWf6W/eval.nix:188:39:
187| toplevel = lib.mapAttrs (_: v: v.config.system.build.toplevel) nodes;
188| deploymentConfig = lib.mapAttrs (_: v: v.config.deployment) nodes;
| ^
189| deploymentConfigSelected = names: lib.filterAttrs (name: _: elem name names) deploymentConfig;
… while calling 'g'
at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/attrsets.nix:701:19:
700| g =
701| name: value:
| ^
702| if isAttrs value && cond value
… from call site
at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/attrsets.nix:704:20:
703| then recurse (path ++ [name]) value
704| else f (path ++ [name]) value;
| ^
705| in mapAttrs g;
… while calling anonymous lambda
at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/modules.nix:242:72:
241| # For definitions that have an associated option
242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
243|
… while evaluating the option `_module.freeformType':
… while calling anonymous lambda
at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/modules.nix:538:19:
537| mergeModules' prefix modules
538| (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
| ^
539|
… from call site
at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/modules.nix:538:73:
537| mergeModules' prefix modules
538| (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
| ^
539|
… while calling 'pushDownProperties'
at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/modules.nix:874:24:
873| */
874| pushDownProperties = cfg:
| ^
875| if cfg._type or "" == "merge" then
… from call site
at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/nixos/lib/eval-config.nix:50:8:
49| config = lib.mkMerge (
50| (optional (system != null) {
| ^
51| # Explicit `nixpkgs.system` or `nixpkgs.localSystem` should override
… while calling 'optional'
at /nix/store/fgdyf58bmkl0y2ykl06fmzqjrjv9kqf3-nixos-23.11-src/lib/lists.nix:359:20:
358| */
359| optional = cond: elem: if cond then [elem] else [];
| ^
360|
error: attribute 'system' missing
at /run/user/1000/colmena-assets-LXWf6W/eval.nix:143:18:
142| };
143| in evalConfig {
| ^
144| inherit (npkgs) system;
Did you mean one of mystem, systemc, systemd, syntex or systemfd?
[ERROR] -----
[ERROR] Operation failed with error: Child process exited with error code: 1
Hint: Backtrace available - Use `RUST_BACKTRACE=1` environment variable to display a backtrace
do you remember this? | 13:50:45 |
raitobezarius | (and i was like what feature do i need to shit again) | 13:50:47 |
raitobezarius | In reply to @hexa:lossy.network do you remember this? yes | 13:50:57 |
hexa | I still have it | 13:51:02 |
hexa | when building on the same machine as another user … works | 13:51:20 |
hexa | so what state do I have to nuke>? | 13:51:33 |
hexa | * so what state do I have to nuke? | 13:51:35 |
raitobezarius | store verification first? | 13:51:51 |
hexa | wat | 13:52:00 |
hexa | the store is not corrupt | 13:52:08 |
raitobezarius | ok | 13:52:13 |
hexa | I can build it as another user | 13:52:13 |
hexa | on the same machine | 13:52:18 |
raitobezarius | ah as another user | 13:52:18 |
raitobezarius | ok | 13:52:18 |
ajs124 | did you nuke ~/.cache/nix? | 13:52:23 |
raitobezarius | rm -rf ~/.cache/nix I'd say | 13:52:31 |
hexa | yes | 13:52:37 |
ajs124 | did you… restart your nix-daemon? reboot the machine? turn the universe simulation off and back on again? | 13:53:01 |
raitobezarius | ~/.config/nix contains weird stuff? | 13:53:06 |
hexa | no | 13:53:24 |
hexa | just a nix.conf, and nuking it doesn't change anything | 13:53:32 |
hexa | In reply to @ajs124:ajs124.de did you… restart your nix-daemon? reboot the machine? turn the universe simulation off and back on again? survived multiple reboots, multiple daemon restarts, I am still in the same simulation, I believe | 13:55:14 |
hexa | but I think this evaluation has nix, not sure about the next, so? | 13:55:22 |