Hydra does not build with Lix #203
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
6 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#203
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hydra expects Nix 2.19, while Lix is based off of 2.18. We should probably either provide a patched Hydra, or implement the parts of 2.19 that Hydra expects. Here's the build log, when using https://git.lix.systems/lix-project/nixos-module and building with
pkgs.hydra-unstable.override { nix = pkgs.nix; }
:this is caused by the ericson splitting of util.hh, and can be patched in Hydra by replacing that include or probably even deleting it, or by performing that part of the refactor ourselves
Okay so there's at least a few more problems beyond the missing include.
hydra-evaluator.cc
seems to useboost::format::str()
(I think?) as a free function, unqualified, withoutusing
it or#include
ing itcreateInterruptCallback()
is also not declared, with Hydra's current set of includesI'm going to untag this as a release blocker for now. Ideally we want to replace Hydra entirely, but short of that deciding what the best course of action with Hydra is probably best done after release with feedback.
Do we intend to target Hydra's master, Hydra's
hydra.nixos.org
branch or something different?In the recent months(?), Nix updates were regularly merged into master (right now we're at 2.21 there I think) and I'm not sure if we can keep up with that given that we explicitly used 2.18 as base for our work.
I have a Hydra fork (based on the
hydra.nixos.org
branch) that builds against Lix: https://github.com/leo60228/hydra/tree/lixI haven't thoroughly tested it yet, but the test suite passes except for one seemingly spurious issue.
cc @mweinelt as you may be interested in such a branch
Not actually a hydra maintainer, only have access, so that we can maintain the hydra.nixos.org branch.
right i was mostly just pinging you because i know infra wants it
🙃
I pushed @leo60228's work to https://git.lix.systems/lix-project/hydra - let's iterate there.