!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

You have reached the beginning of time (for this room).


SenderMessageTime
23 Oct 2022
@blaggacao:matrix.org@blaggacao:matrix.org (modules/installer/cd-dvd/installation-cd-base.nix) 16:17:37
@blaggacao:matrix.org@blaggacao:matrix.org I think I found it, regular modules accessing config.system is recursive... 16:40:04
@blaggacao:matrix.org@blaggacao:matrix.orgimage.png
Download image.png
17:23:55
@blaggacao:matrix.org@blaggacao:matrix.org Zhaofeng Li: the streaming evaluator shows this warning (--gc-roots-dir) (fysa) 17:24:05
@blaggacao:matrix.org@blaggacao:matrix.orgAnd this fixed my above problem 😄 https://github.com/divnix/hive/commit/e1baaaec17524abb5cc00377082cebe8d738a23817:24:53
@blaggacao:matrix.org@blaggacao:matrix.org * And this fixed my above problem 😄 https://github.com/divnix/hive/commit/f532568755835426047a60ca215b764480b10e5717:25:56
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @blaggacao:matrix.org

Hi Zhaofeng Li !

I beleive colmena eval was only ever made to be impure (so the --impure option might be a mistake), see builtins.currentSystem in:

    introspect = f:
      f {
        lib = nixpkgs.lib // builtins;
        pkgs = nixpkgs.legacyPackages.${builtins.currentSystem};
        nodes = l.mapAttrs (evalNode {_module.check = false;}) comb;
      };

Hmm, could you link the code? The current implementation is: https://github.com/zhaofengli/colmena/blob/956c3363b875695fba30a5a8033dc543c2cd4326/src/nix/hive/eval.nix#L193
20:08:18

Show newer messages


Back to Room ListRoom Version: 6