!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

303 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena104 Servers

Load older messages


SenderMessageTime
16 Feb 2024
@hexa:lossy.networkhexa * ok, so raitobezarius et al 13:50:25
@raitobezarius:matrix.orgraitobezarius(i read eta first)13:50:42
@hexa:lossy.networkhexa
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:matrix.orgraitobezarius(and i was like what feature do i need to shit again)13:50:47
@raitobezarius:matrix.orgraitobezarius
In reply to @hexa:lossy.network
do you remember this?
yes
13:50:57
@hexa:lossy.networkhexaI still have it13:51:02
@hexa:lossy.networkhexawhen building on the same machine as another user … works13:51:20
@hexa:lossy.networkhexaso what state do I have to nuke>?13:51:33
@hexa:lossy.networkhexa * so what state do I have to nuke?13:51:35
@raitobezarius:matrix.orgraitobezariusstore verification first?13:51:51
@hexa:lossy.networkhexawat13:52:00
@hexa:lossy.networkhexathe store is not corrupt13:52:08
@raitobezarius:matrix.orgraitobezariusok13:52:13
@hexa:lossy.networkhexaI can build it as another user13:52:13
@hexa:lossy.networkhexaon the same machine13:52:18
@raitobezarius:matrix.orgraitobezarius ah as another user 13:52:18
@raitobezarius:matrix.orgraitobezariusok13:52:18
@ajs124:ajs124.deajs124did you nuke ~/.cache/nix?13:52:23
@raitobezarius:matrix.orgraitobezarius rm -rf ~/.cache/nix I'd say 13:52:31
@hexa:lossy.networkhexayes13:52:37
@ajs124:ajs124.deajs124did you… restart your nix-daemon? reboot the machine? turn the universe simulation off and back on again?13:53:01
@raitobezarius:matrix.orgraitobezarius ~/.config/nix contains weird stuff? 13:53:06
@hexa:lossy.networkhexano13:53:24
@hexa:lossy.networkhexajust a nix.conf, and nuking it doesn't change anything13:53:32
@hexa:lossy.networkhexa
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:lossy.networkhexabut I think this evaluation has nix, not sure about the next, so?13:55:22
@ajs124:ajs124.deajs124are you using channels? where are your inputs coming from?13:55:39
@hexa:lossy.networkhexaniv13:55:46
@raitobezarius:matrix.orgraitobezarius ls -lah ~/.nix* 13:55:53
@hexa:lossy.networkhexano user channels13:55:54

Show newer messages


Back to Room ListRoom Version: 6