-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
complete failure with latest nixosUnstable daemon #291
Comments
Well, I guess we can add this to the list of nixUnstable's problems. I've tried to fix issues in nixUnstable end of last year and made some progress, but ultimately it was too broken to be fixed within budget. I'm not too surprised that a new bug appears because upstream is more interested in features than bugs. I can't blame them though, because that's what they get paid for, iiuc. Anyway, if you want to use the latest Nix for its flakes support, all you really need is the new client, so you can just run the stable daemon. That setup has worked well for me so far. I presume at least some develop on systems with a stable daemon. That all said, I'll make a start with a branch that builds with |
Instructions to try hercules-ci-agent + nixUnstable: #303 (comment)
I will introduce a flake-native replacement for |
Upcoming agent 0.8.4 will use Nix 2.4 (and offer a 2.3-based agent package as a contingency). 0.9 will remove the need for a |
Description
The agent doesn't seem to like the latest version of
nixUnstable
, which was recently updated to2.4pre20210311_8127094
from2.4pre20201201_5a6ddb3
. There has been a minor version bump in the nix protocol from 1.27 to 1.28. I'm assuming whatever changed in the protocol is responsible as the error message indicates that hercules no longer understands the communication from the nix-daemon.To Reproduce
Deploy a system with the old
nixUnstable
set asnix.package
, a good nixpkgs revision to test is df8e3bd110921621d175fad88c9e67909b7cb3d3. Hercules-ci should work, though it may need a patch for logging.Now upgrade your system to a revision using the new version. The latest nixos-unstable has the required
nixUnstable
version. Now hercule-ci-agent will still run, but any derivation it tries to build will fail with the below errors.Expected behavior
While I would hope it would continue to work as unstable matures, I do acknowledge that we are talking about an unstable nix version here, so I guess I can't exactly demand that it work.
Logs
Platform / Version
NixOS-unstable/hercules-0.8.0
The text was updated successfully, but these errors were encountered: