| 19 Oct 2022 |
Wanja Hentze | Hey, I'm facing an issue with the (experimental) streaming evaluator:
when evaluation fails, it loudly and redly prints an error message, but returns with exit code 0 | 14:53:44 |
Wanja Hentze | Is this a known issue? I tried the github search but didn't find anything. | 14:54:29 |
Wanja Hentze | non-streaming evaluation returns a nonzero exit status as expected | 14:57:38 |
Wanja Hentze | I have opened https://github.com/zhaofengli/colmena/issues/122 to track this | 15:32:49 |
| 20 Oct 2022 |
Wanja Hentze | amazing turnaround time as usual ❤️ thanks so much Zhaofeng Li ! | 08:40:47 |
garionion | hey, this might be the wrong channe (please tell me if so). i want to switch another of my server configs over to colmena (instead of nixops), but i need to have an overlay, which as of now lives in a git submodule. however, the flake (->colmena) does not like this and does not find the files placed in this submodule. and i am not experienced enough to know how to properly import this and especially export the overlay itself | 09:08:26 |
garionion | also, there are not only pkgs in the submodule, but also config files and modules | 09:12:30 |
Wanja Hentze | you can use colmena in non-flake mode, then it'll "just work" | 09:16:14 |
garionion | but i would like to use it in flake mode :( | 09:37:03 |
Wanja Hentze | well, flakes and submodules are not friends | 09:37:16 |
Wanja Hentze | you can get rid of the submodule and make it a flake input instead | 09:38:32 |
garionion | yeah i want that, but i dont know how -.- | 09:49:40 |
Wanja Hentze | me neither, I've mostly reverted to not using flakes anymore | 09:50:17 |
Wanja Hentze | that seems like a generic Nix question though, not colmena-specific. maybe somebody in https://matrix.to/#/#nix:nixos.org has an answer | 09:50:49 |
garionion | ok :) | 09:51:28 |
| 21 Oct 2022 |
@yuka:yuka.dev | The implementation of the hive concept could really be based off the nixos module system | 06:46:31 |
@yuka:yuka.dev | having host configs as submodules of one giant module system, like nixus does it | 06:46:59 |
@yuka:yuka.dev | feels like eval times are also better with that | 07:02:53 |
@yuka:yuka.dev | I built myself a very simple version of that | 07:02:59 |
@yuka:yuka.dev | the streaming evaluator is broken on the 0.4.0-pre since some time | 07:40:55 |
@yuka:yuka.dev | [ERROR] Failed to evaluate net-vm, monitor, tvpi, and 11 other nodes - Last 5 lines of logs:
[ERROR] created)
[ERROR] state) Running
[ERROR] stderr) error: unrecognised flag '--expr'
[ERROR] stderr) Try '/nix/store/i3avjvyfgw0ypbb5sq7w5f5d6xhyy586-nix-eval-jobs-2.9.0/bin/nix-eval-jobs --help' for more information.
[ERROR] failure) Child process exited with error code: 1
[ERROR] Failed to complete requested operation - Last 1 lines of logs:
[ERROR] failure) Child process exited with error code: 1
[ERROR] -----
[ERROR] Operation failed with error: Child process exited with error code: 1
| 07:41:19 |
Wanja Hentze | In reply to @yuka:yuka.dev feels like eval times are also better with that for use with colmena? or as a new thing? | 08:07:37 |
Wanja Hentze | FWIW I've been yearning for this for a while now | 08:08:01 |
@yuka:yuka.dev | As I have said before, colmena is really two separate things: The hive nix expression, and the cli | 08:08:12 |
Wanja Hentze | right | 08:08:40 |