Skip to content

[26.11] .github: drop x86_64-darwin#492160

Draft
emilazy wants to merge 7 commits intomasterfrom
wip-emily/drop-x86_64-darwin
Draft

[26.11] .github: drop x86_64-darwin#492160
emilazy wants to merge 7 commits intomasterfrom
wip-emily/drop-x86_64-darwin

Conversation

@emilazy
Copy link
Member

@emilazy emilazy commented Feb 19, 2026

The follow‐up to #492100 (which this will appear to include, until that PR and its requirements are merged), for after branch‐off in a few months’ time. Just opening this as a draft to check against CI for now.

This depends on #492103 for Hydra, although that won’t show up in CI so I haven’t included it here.

I’ve kept this PR to just the initial breaking changes, release notes, and error handling; the tree after this PR is still formally incorrect in that there are still references to the removed pkgsCross.x86_64-darwin in passthru.tests, update scripts that will break because of the platform no longer existing, etc., along with a ton of optional clean‐up left to do. I have a very large stack to address those, which I will push out incrementally, but it would be unreviewable if bundled all into one PR. I’ve pushed this branch to the main Nixpkgs repository so that I can stack those PRs on top of this one for easier review.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@emilazy emilazy requested a review from a team February 19, 2026 16:21
@emilazy emilazy added the 2.status: wait for branch‐off Waiting for the next Nixpkgs branch‐off label Feb 19, 2026
@emilazy emilazy force-pushed the wip-emily/drop-x86_64-darwin branch 4 times, most recently from d40d6f3 to cc966a6 Compare February 19, 2026 17:22
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 6.topic: haskell General-purpose, statically typed, purely functional programming language 8.has: changelog This PR adds or changes release notes 6.topic: fetch Fetchers (e.g. fetchgit, fetchsvn, ...) 6.topic: flakes The experimental Nix feature 6.topic: lib The Nixpkgs function library 6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions labels Feb 19, 2026
@nixpkgs-ci nixpkgs-ci bot added 8.has: documentation This PR adds or changes documentation 6.topic: policy discussion Discuss policies to work in and around Nixpkgs backport release-25.11 Backport PR automatically labels Feb 19, 2026
Otherwise we end up evaluating into `i686-darwin` in CI…
@emilazy emilazy force-pushed the wip-emily/drop-x86_64-darwin branch 2 times, most recently from f4bf79f to 8e29789 Compare February 19, 2026 17:43
@ofborg ofborg bot added the 6.topic: darwin Running or building packages on Darwin label Feb 19, 2026
@emilazy emilazy force-pushed the wip-emily/drop-x86_64-darwin branch from 8e29789 to 26c890b Compare February 22, 2026 18:57
@emilazy emilazy changed the title [26.11] release: stop building for x86_64-darwin [26.11] .github: drop x86_64-darwin Feb 22, 2026
@emilazy emilazy force-pushed the wip-emily/drop-x86_64-darwin branch from 26c890b to ec7a124 Compare February 22, 2026 19:13
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. and removed 6.topic: fetch Fetchers (e.g. fetchgit, fetchsvn, ...) labels Feb 22, 2026
@nixpkgs-ci nixpkgs-ci bot removed 6.topic: flakes The experimental Nix feature 6.topic: lib The Nixpkgs function library labels Feb 22, 2026
@emilazy emilazy force-pushed the wip-emily/drop-x86_64-darwin branch 3 times, most recently from 3b91f27 to 4559f12 Compare February 25, 2026 12:03
@emilazy emilazy force-pushed the wip-emily/drop-x86_64-darwin branch 2 times, most recently from 23968c4 to bec2fd8 Compare February 25, 2026 14:36
The supported systems can differ across release branches. The original
file is kept until the GitHub CI is migrated.
For consistency with `release.nix`.
We’ve never deprecated a platform in widespread use before, and it
seems prudent to warn users about the upcoming end of support so they
can plan appropriately.

I tried to make this relatively unobtrusive by taking advantage of
the import cache and offering a way to turn it off, but I anticipate
there might still be issues with e.g. `nix shell nixpkgs#…` and
spammy warnings from multiple instantiations of Nixpkgs. I’m
not sure there’s much we can do about that unless we take a
different strategy entirely; `nix shell --impure nixpkgs#…` with a
`~/.config/nixpkgs/config.nix` is about the best UX we can hope to
offer with the restrictions of flakes.
This will apply to the stable release branches too, but that seems
unavoidable: we use `nixpkgs-unstable` in `ci/pinned.json`, which
means that the development shell for stable release branches is based
on the unstable branch. Once we drop support for a system on the
unstable branch, it can no longer be used for Nixpkgs development on
the next pin, even when targeting already‐released stable branches.

Since Nixpkgs contributors would generally be expected to be less
likely to be using deprecated platforms, and we usually operate with
a backport workflow where changes target the unstable branch first,
this is probably acceptable. A potential alternative would be to pin
the stable branch for CI instead.
@emilazy emilazy force-pushed the wip-emily/drop-x86_64-darwin branch from bec2fd8 to 306fb48 Compare February 27, 2026 23:22
Eveeifyeve added a commit to DigitalBrewStudios/nixpkgs that referenced this pull request Mar 8, 2026
NOTE: I have added a TODO to remove x86_64 darwin support, for more info
please see NixOS#492160 about the
deprecation.
Eveeifyeve added a commit to DigitalBrewStudios/nixpkgs that referenced this pull request Mar 8, 2026
NOTE: I have added a TODO to remove x86_64 darwin support, for more info
please see NixOS#492160 about the
deprecation.
Eveeifyeve added a commit to DigitalBrewStudios/nixpkgs that referenced this pull request Mar 8, 2026
NOTE: I have added a TODO to remove x86_64 darwin support, for more info
please see NixOS#492160 about the
deprecation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: wait for branch‐off Waiting for the next Nixpkgs branch‐off 6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 6.topic: darwin Running or building packages on Darwin 6.topic: haskell General-purpose, statically typed, purely functional programming language 6.topic: policy discussion Discuss policies to work in and around Nixpkgs 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. backport release-25.11 Backport PR automatically

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant