Repository navigation
feat(nix): support x86_64-darwin via nixpkgs-26.05-darwin - #1
Merged
Merged
Conversation
Nixpkgs 26.11 dropped x86_64-darwin, so every output on that system threw at evaluation. Use nixpkgs-26.05-darwin for perSystem pkgs there (nixpkgs-unstable everywhere else), matching term-nixCfg/ai-nixCfg. apm-cli isn't packaged in 26.05, so the devshell runs the same PyPI release (microsoft/apm) ephemerally via uv when pkgs lacks it.
nix-systems/default removed x86_64-darwin from its list upstream (c29398b5). Pin systems to da67096a, the last revision that still lists it, so a relock can't drop this flake's x86_64-darwin outputs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nixpkgs 26.11 dropped x86_64-darwin, so every output of this flake threw on that system (
Nixpkgs 26.11 has dropped support for x86_64-darwin). That also broke consumers such as infra-nixCfg's L1 host once theirnixpkgsmoves past 26.05.nixpkgs-2605input (nixpkgs-26.05-darwin) and uses it for perSystempkgson x86_64-darwin only; other systems still use nixpkgs-unstable. This is the same pattern term-nixCfg, ai-nixCfg and quant-nixCfg use.apm-cliisn't in 26.05, so the devshell falls back to running the same PyPI release (microsoft/apm,apm-cli0.34.0) viauv tool runwhenpkgslacks it.Consumers that set
inputs.nixpkgs.followsshould also setinputs.nixpkgs-2605.followsto their own 26.05 input.systemstonix-systems/default@da67096a. Upstream removed x86_64-darwin from that list in c29398b5, so a relock would otherwise drop every x86_64-darwin output.Testing
packages,devShellsandchecks.pre-commitevaluate on x86_64-darwin, aarch64-darwin, x86_64-linux and aarch64-linux. Derivations on the non-x86_64-darwin systems are unchanged.packages.defaultbuilds andandroid-kvm --helpruns. Innix develop,apm --versionprints 0.34.0, and scrcpy, adb and cargo are on PATH.