!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
24 Feb 2023
@dminuoso:matrix.orgdminuosoI am a bit at a loss how to even debug this09:37:17
@dminuoso:matrix.orgdminuosoWhat makes matters worse, the segfault occurs relatively rarely09:37:33
25 Feb 2023
@winterqt:nixos.devWinter (she/her)I bumped my Nixpkgs input and deployed using deploy-on-target, and Nix copied a patch file that's only used when building a derivation. However, this build was substituted from the cache -- why would Nix download/copy it, then? It definitely wasn't built on the server.20:21:53
@winterqt:nixos.devWinter (she/her)I presume there's no way I can actually figure out why, though 🙃20:23:00
@winterqt:nixos.devWinter (she/her)Just seems very weird.20:24:28
26 Feb 2023
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @dminuoso:matrix.org
Evaluation failed: Child process was killed by signal 11
Interesting. You can try evaluating the config with the lib.makeHive function in the flake (for non-flake, you can see how it calls the underlying evaluator) and see if you can reproduce the segfault
03:23:19
@winterqt:nixos.devWinter (she/her)
In reply to@winterqt:nixos.dev
I presume there's no way I can actually figure out why, though 🙃

@Zhaofeng Li: happen to have any clue if/how I can debug this? i saw your reaction so i doubt it but figured I'd ask directly.

as far as I can tell, the given derivation (and a bunch of others of course) were substituted... but the patch file is in my store, somehow. if I rollback, GC, and then try to build it again, I might be able to repro... but how could I actually tell why it's copying that file?

03:54:47
@zhaofeng:zhaofeng.liZhaofeng Li I guess it was because of --include-outputs which makes the recursive derivation copying also include existing outputs (e.g., the final patch from the patch derivation). 03:59:43
@zhaofeng:zhaofeng.liZhaofeng LiMaybe such copying still occurs even when the "final" derivation can be substituted directly04:00:14
@winterqt:nixos.devWinter (she/her)Hmm, that's a good theory, but wouldn't that mean e.g. copying all source derivations for every installed package?04:00:38
@zhaofeng:zhaofeng.liZhaofeng Li Not sure, we could rig up a small test to try. It can be something like: a.drv -> b.drv -> c.drv, where everything can be substituted via some cache 04:02:40
1 Mar 2023
@fabianhjr:matrix.orgFabián Heredia changed their display name from fabianhjr to Fabián Heredia.06:05:18
@whentze:matrix.orgWanja Hentze damn, can we talk about how cool colmena repl is? 16:53:48
@whentze:matrix.orgWanja Hentze I just did builtins.mapAttrs (_: c: c.config.system.stateVersion) nodes to get an overview over state versions, very nice 16:57:21
@whentze:matrix.orgWanja Hentze * I just did builtins.mapAttrs (_: c: c.config.system.stateVersion) nodes on the repl to get an overview over state versions, very nice 16:57:28
@whentze:matrix.orgWanja Hentzethe best part is that during a repl's lifetime, you get eval caching, so if you query a bunch of different things you don't need to keep suffering from slow eval17:22:20
11 Mar 2023
@mrene:matrix.org@mrene:matrix.org joined the room.13:40:29
@mrene:matrix.org@mrene:matrix.org is there an example that re-uses the output of lib.nixosSystem as a colmena host? 13:49:55
@janik0:matrix.orgJanik (they/them) joined the room.14:23:13
@plg:matrix.orgmel (they/them) See this comment: https://github.com/zhaofengli/colmena/issues/60#issuecomment-1047199551
Probably should be in the README TBH, had trouble finding it myself a while back :)
15:28:38
13 Mar 2023
@shyim:matrix.orgShyimHave someone an example for nodeSpecialArgs? I can't get it running it says that this option does not exists08:17:34
@shyim:matrix.orgShyim

The option `nodeSpecialArgs' does not exist

08:17:58
14 Mar 2023
@jeff:ocjtech.usJeff
In reply to @shyim:matrix.org
Have someone an example for nodeSpecialArgs? I can't get it running it says that this option does not exists
What version of Colmena are you running? I think that nodeSpecialArgs is new for v4.0 (although I'm not the expert here).
04:27:09
15 Mar 2023
@agathasorceress:finallycoffee.eu@agathasorceress:finallycoffee.eu joined the room.15:38:03
18 Mar 2023
@lord-valen:matrix.orglord-valen joined the room.03:42:21
20 Mar 2023
@oddlama:matrix.orgoddlama joined the room.18:52:44
21 Mar 2023
@nazarewk:matrix.orgkdn joined the room.12:51:38
@sef:exotic.shsefidel changed their profile picture.14:07:55
22 Mar 2023
@segfau1t:matrix.orgsegfault joined the room.09:45:23
25 Mar 2023
@amardeeps:matrix.orgamardeeps joined the room.04:45:37

Show newer messages


Back to Room ListRoom Version: 6