agenix fails to build when Lix overlay is used #274
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#274
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?
Describe the bug
agenix doesn't seem to be able to build against Lix, though it was working with Nix 2.18.2.
Build log:
agenix depends on
nix
, so the overlay set up by the NixOS module is causing it to build against Lix. I'm not exactly sure how this is causing this particular issue in its install check.I can probably work around this by either making sure agenix builds with Nix instead of Lix, or by disabling the install check phase.
Steps To Reproduce
pkgs.callPackage "${agenix}/pkgs/agenix.nix" { }
in the system's packages somehowExpected behavior
agenix builds without errors
nix --version
outputThese systems haven't been able to build a version with Lix yet because of this failure.
Additional context
I think this is sandboxing related somehow, as it doesn't fail on Darwin, only Linux.
well, inserting an echo in
agenix.sh
makes it work, somehow, so thats where we're atim pretty sure its not sandbox related, just because building agenix with Lix is not a problem, only building agenix with Lix as its Nix dependency
hmmmm, this might be the profile v3 changes. will try with
076dfd30c6
revertedBisected to
b247ef72dc
, cc @artemistSeems like a previously ignored exception is now being propagated
actually no, it seems like chroot stores aren't getting
stateDir
set properlyFound it. Fix underway.
That's awesome! In the meantime, I worked around it by doing this instead:
you should also be to workaround it with
agenix.overrideAttrs { doInstallCheck = false; }
— its just the tests in the derivation's sandbox executing Lix that are failing