Install to existing darwin config fails on building gc #449
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#449
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?
Platform
Additional information
Output
Output
For command
darwin-rebuild switch --flake ~/.config/nix-darwin
.we're not super familiar with nix-darwin, but if darwin-version claims to be 23.11 and you're setting flake follows for lix, are you actually getting nixpkgs 24.05 for building lix? (23.11 is no longer supported for building lix due to gc compat issues that look exactly like what you're running into:
f7b6552699
)Lix is following 24.05 as best I can tell. It's configured as
Below it shows Lix following nixpkgs commit
7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9
.Output
You're right though that it does seem like I'm running into exactly that issue. Unfortunately, I can't move darwin itself to 24.05 yet, pending fixes
you're clearly getting boehmgc from 23.11 though.
no idea why that would be, we're entirely unfamiliar with nix-darwin and how that may interact. :/actually scratch that bit, if you're just using the overlay the nixpkgs input to lix-project/nixos-module doesn't matter at all. you'll have to update nix-darwin (or do some really bad overlay tricks pulling a flake-built lix into your 23.11 nixpkgs-based system, which we cannot recommend)I agree. Cheers for the replies though. I'll investigate to see if it's a nix-darwin issue and report back if I find anythingInteresting. I'll see what I can do about upgrading nix-darwin. Thank you for the help
Install successful with upgrade to nix-darwin 24.05.
for future context: the version of nixpkgs used by lix and the lix-module do not affect anything if you are using it as an overlay, which is how you would have to be using it here. that input exists for our own testing/validation in lix-nixos-module but the overlay is code that doesn't reference it at all, since it's handed the nixpkgs from outside as final/prev.
it is using the version of nixpkgs the overlay is evaluated into, which in this case was 23.11