NixOS evaluation aborted when building from HEAD: required argument "apple-sdk_11" #652
Labels
No labels
Affects/CppNix
Affects/Nightly
Affects/Only nightly
Affects/Stable
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/lix ci
Area/nix-eval-jobs
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/repl/debugger
Area/store
bug
Context
contributors
Context
drive-by
Context
maintainers
Context
RFD
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Language/Bash
Language/C++
Language/NixLang
Language/Python
Language/Rust
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
Topic/Large Scale Installations
ux
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#652
Loading…
Add table
Add a link
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
I was looking to try out HEAD using
lix-module
on NixOS but ran into this error:Steps To Reproduce
lix
andlix-module
inputs to systemwide flake (as in the Beta guide):sudo nixos-rebuild dry-build
A clear and concise description of what you expected to happen.
nix --version
output(using from
nixpkgs
).Additional context
It seems this input was added in
8ddcdfb59c
but I guess (unsurprisingly) that package only exists on macOS? Maybe the fix is as simple as adding a? null
to the input argument, or I can work around it with a.override
in the right place?Hmmm, what nixpkgs version are you on? Usually this is because of an unsupported old nixpkgs.
Ah, that was it! Applying the overlay manually on top of
nixos-unstable
works, but I guess I won't be able to use thenixosModules.default
itself since I am usingnixos-24.05
for my main pkgs:Is there any documentation somewhere indicating what is a supported
nixpkgs
version? I didn't see anything on https://lix.systems/add-to-config/ or https://wiki.lix.systems/books/lix-contributors/page/lix-beta-guide which seemed to have any specific requirements, but it might be nice to know what is officially supported (even if the answer is always justHEAD
of unstable).I guess I can close this issue, unless you'd like me to keep it open as a documentation tracker.
Yeah we can close this. In general Lix tries to support the oldest major nixpkgs in security support, which is 24.11. You will not receive security updates on 24.05, which means in general it should not be used, which is why we draw the line approximately there. Certainly the module could do explicit version checks though, and perhaps even should.