| 7 Mar 2022 |
Winter (she/her) | so i use colmena exec to reboot all the machines in my hive, and it always exits with an error because it's not able to call nix(?); says it exits with an error code of 255
why would it be trying to run nix? and is it trying to do it on the remote machine which is probably down by the time it tries to run it...? | 03:17:21 |
Zhaofeng Li | In reply to @winterqt:nixos.dev
so i use colmena exec to reboot all the machines in my hive, and it always exits with an error because it's not able to call nix(?); says it exits with an error code of 255
why would it be trying to run nix? and is it trying to do it on the remote machine which is probably down by the time it tries to run it...? Oh right, I should change the error message from "Nix exited with error code" to "Child process exited with error code." It's misleading in this case. | 04:04:25 |
Winter (she/her) | In reply to @zhaofeng:zhaofeng.li Oh right, I should change the error message from "Nix exited with error code" to "Child process exited with error code." It's misleading in this case. would the child process be ssh in this case? | 04:33:35 |
Zhaofeng Li | In reply to @winterqt:nixos.dev would the child process be ssh in this case? Yeah, I presume it was because of the remote host disconnecting. I should really add a --reboot feature so there is no need to do a colmena exec after activation | 04:35:48 |
@github:maunium.net | [zhaofengli/colmena] tv42 opened
issue
#62: nix-eval-jobs patch causes build failure with nixos-21.11 nixpkgs
If you use a flake of colmena and do inputs.nixpkgs.follows = "nixpkgs";, it fails to build:
error: builder for '/nix/store/2sikwzzkkzggxi7snbml0sc7sv4wkzn2-nix-eval-jobs-0.0.1-colmena.drv' failed with exit code 1;
last 10 log lines:
> unpacking source archive /nix/store/wndp1lpb7g9gs3fmh4pjmqw80pjiw606-source
> source root is source
> patching sources
> applying patch /nix/store/mgnkwc0sbk8x3jn4x7gny013mp4gsvfh-1e0f309fefc9b2d597f8475a74c82ce29c189152.patch
> patching file src/nix-eval-jobs.cc
> Hunk #2 FAILED at 37.
> Hunk #3 succeeded at 96 with fuzz 1 (offset -7 lines).
> Hunk #4 succeeded at 235 (offset -14 lines).
> Hunk #5 succeeded at 288 (offset -14 lines).
> 1 out of 5 hunks FAILED -- saving rejects to file src/nix-eval-jobs.cc.rej
For full logs, run 'nix log /nix/store/2sikwzzkkzggxi7snbml0sc7sv4wkzn2-nix-eval-jobs-0.0.1-colmena.drv'.
In general, I like to run my systems on stable nixpkgs as much as possible.
| 19:25:32 |
| 8 Mar 2022 |
@github:maunium.net | [zhaofengli/colmena] Repo forked into glenn-m/colmena | 04:04:03 |
@github:maunium.net | [zhaofengli/colmena] glenn-m opened
pull request
#63: apply_local: Fix nixos detection from os-release
This fixes apply-local not detecting the system as NixOS due to the changes in the format of the os-release file.
Details on the changes made to the os-release file can be found in the following commit https://github.com/NixOS/nixpkgs/commit/bae181d3f0f453d9a23cf5e899c2cb0f96e91fef.
I'm new to Rust so let me know if I've missed anything, thanks!
| 04:23:28 |