!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

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

Load older messages


SenderMessageTime
21 Jul 2022
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.nameI'm not sure why20:44:33
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.nameis there a way I can have colmena use --show-trace?20:44:43
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.nameor in general if I"m trying to deploy something with colmena, is there a way I can get better debug information?20:44:58
@zhaofeng:zhaofeng.liZhaofeng Li Just --show-trace should do it 20:45:22
@zhaofeng:zhaofeng.liZhaofeng Li And also use -v to get the full output instead of the spinners 20:45:40
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.nameoh I need to wrap my function call in parens, then it works20:48:20
22 Jul 2022
@chrisportela:matrix.orgChris Portela joined the room.20:51:59
24 Jul 2022
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.nameif I deploy with colmena, and a derivation fails, I see an error message saying that a log should appear at /tmp/nix-build<pkgname>06:45:57
@rendakuenthusiast:imperishable.name@rendakuenthusiast:imperishable.nameand I don't see this file existing, either on my local system or the system colmena should be deploying to06:46:11
@winterqt:nixos.devWinter (she/her)
In reply to @rendakuenthusiast:imperishable.name
if I deploy with colmena, and a derivation fails, I see an error message saying that a log should appear at /tmp/nix-build
you'll want to run nix log /nix/store/the.drv, that'll provide build logs
17:41:16
25 Jul 2022
@grahamc:nixos.org@grahamc:nixos.orgcan colmena handle a network of mixed architectures?15:38:52
@linus:schreibt.jetztLinux Hackermanyes, using it for that myself :)15:39:05
@grahamc:nixos.org@grahamc:nixos.orgoh sorry, half-asked question15:41:05
@grahamc:nixos.org@grahamc:nixos.orgwhere I'm also using its flake.nix support15:41:12
@linus:schreibt.jetztLinux Hackerman
In reply to @linus:schreibt.jetzt
yes, using it for that myself :)
still :D
15:41:24
@grahamc:nixos.org@grahamc:nixos.orgyay! can you show an example? I'm a bit confused15:41:34
@linus:schreibt.jetztLinux Hackermanthere's not much to it besides setting nixpkgs.system in the node's configuration15:42:22
@grahamc:nixos.org@grahamc:nixos.orgoh! of course!15:42:34
@grahamc:nixos.org@grahamc:nixos.orgthanks15:42:35
@grahamc:nixos.org@grahamc:nixos.orgI was thrown off by the meta.nixpkgs being set15:42:43
@linus:schreibt.jetztLinux HackermanYeah, that's only the nixpkgs used to evaluate it though15:43:39
@grahamc:nixos.org@grahamc:nixos.orgmakes sense15:44:30
@linus:schreibt.jetztLinux Hackermansomething to note is that Colmena's flake support is incomplete, the biggest issue being that it requires impure evaluation.15:44:41
@linus:schreibt.jetztLinux HackermanThat's bitten me before, with it picking up ~/.config/nixpkgs/config.nix15:45:00
@grahamc:nixos.org@grahamc:nixos.orggotcha15:45:16
@grahamc:nixos.org@grahamc:nixos.orgit also seems to get a bit weird with some secrets support15:45:28
@grahamc:nixos.org@grahamc:nixos.org and the reboot behavior is not to my taste at the moment :) 15:45:54
@grahamc:nixos.org@grahamc:nixos.orgbut switching from nixops was almost entirely pain-free15:48:11
@linus:schreibt.jetztLinux Hackerman grahamc (he/him): oh also keep in mind if you haven't encrypted your secrets and you're using flakes with colmena, the secrets are now world-readable in your nix store. 15:55:41
@grahamc:nixos.org@grahamc:nixos.orgyeah, luckily they're barely secret15:57:29

Show newer messages


Back to Room ListRoom Version: 6