Unable to build lix-2.92.0-dev-pre20241115-c859d03 on Intel based Mac #588
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
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#588
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
Building lix-2.92.0-dev-pre20241115-c859d03 fails with:
Steps To Reproduce
Run
darwin-rebuild switch --flake .
Lix: https://git.lix.systems/api/v1/repos/lix-project/lix/archive/c859d03013712b349d82ee6223948d6d03e63a8d.tar.gz?rev=c859d03013712b349d82ee6223948d6d03e63a8d
Lix-module: https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/15b999f9c958c475f71fb8c543b9fc2f36ae8730.tar.gz?rev=15b999f9c958c475f71fb8c543b9fc2f36ae8730
Expected behavior
A successful build
nix --version
outputapparently 10.12 is too old to have this function, it appeared only in 10.13. are you really running on an eight year old OS image or is it just choosing the wrong sdk version for some reason?
I'm not sure how that SDK is being chosen. I'm definitely not running an old OS image—the OS is up to date with the latest version. I'm running
nix-darwin
, though I'm not sure if that's relevant. Any guidance on determining why this SDK is being used, and how to change that, would be much appreciated.If you're on
24.11
, you can try includingapple-sdk_11
into lix'sbuildInputs
. The x86_64 sdk is still behind to the aarch64 one in24.11
. That's going to be fixed in25.05
.Can you show me how to add this
buildInputs
forlix
to mynix-darwin
flake config? After googling around, I'm still not sure how to do that. Here is my flake.nix.I would opine that this is still our bug, if everything involved is up to date. I am building a reproducer right now.
alright yes, i can repro this. this is a lix bug. unfortunately i think fixing it is blocked on us upgrading to nixos-24.11, since the attribute names all got shuffled around and i do not want to write bad compat code.
we have a CL for it, it just needs some love.
This issue was mentioned on Gerrit on the following CLs:
Verified fixed in that CL :)