nixpkgs/nixos/doc/manual/release-notes
Emily f1c3597d95 nixos/doc/rl-2411: warn about upcoming macOS version requirement
For a long time now, the SDK and minimum target version for
`x86_64-darwin` has been stuck on macOS 10.12. In the past, the minimum
SDK was updated quite regularly; at first, the current situation was
just because updating the SDKs was excessively burdensome and nobody
was up for doing the work, but the introduction of `aarch64-darwin`
with its macOS 11 default SDK has resulted in a long‐term fracture
of the two platforms.

Per <https://endoflife.date/macos>, macOS 10.12 has not received
an update since 2017 and went out of security support 5 years
ago. Trying to support it in Nixpkgs has been a large burden on the
Darwin maintainers, resulting in workarounds, porting work, and even
patching functionality out of applications. The existence of Nix
users using a macOS version this old is, to my knowledge, entirely
theoretical, and we pay in both maintenance costs and functionality:
for instance, applications built for `x86_64-darwin` do not support
automatic dark mode switching by default.

This situation has always been suboptimal, but it is
now becoming untenable. Python, a critical component
of the Nixpkgs standard environment for builds, is
dropping support for versions older than 10.13 in 3.13:
<https://www.python.org/downloads/release/python-3130rc1/>. Qt 6 only
supports macOS 11 and newer. libuv only supports the versions Apple
does, and is a ticking time bomb due to its use in the standard
environment. QEMU only supports the last two macOS releases, and
won’t build with an SDK older than macOS 12; we previously vendored
a set of backporting changes and functionality‐removing reverts
to keep it building for 10.12, but this also became overly onerous,
and we gave up in <https://github.com/NixOS/nixpkgs/pull/338598>.

`x86_64-darwin` is a platform with a limited upstream future. Apple no
longer sells any hardware that runs it natively, and it is unclear how
much longer they will support it in the operating system. There are
still many users of the platform, myself included, so we shouldn’t
drop support for it prematurely, but it’s unreasonable to try and
patch the entire world to keep it supporting insecure versions of
the OS that only run on hardware that is no longer sold.

Therefore, this adds a release note to warn users ahead of time that
25.05 will only support macOS 11 and newer, as suggested by the 24.05
release team when the possibility of bumping the required version
was raised.

Why target Big Sur, rather than any other version? The
reason is simple: it’s the same SDK and deployment target as
`aarch64-darwin`. There are many packages that work on `aarch64-darwin`
but not `x86_64-darwin`, and Darwin maintainers frequently need to be
called in to fix things that work fine on the newer platform but not
the older one. This change will increase the health of `x86_64-darwin`
by aligning the SDK versions and support between the two platforms;
the vast majority of packages that work on one will Just Work on the
other. macOS 11 is almost four years old and has itself been out of
security support for a year now, but as the first version to support
Apple Silicon, it’s a far more compatible base for us to build our
Darwin packages for. Any future change in supported versions should
be synchronized between the two Darwin architectures.

When 25.05 is released, users on old, unsupported versions of macOS
will have the following options:

* Update to a new macOS version. For users that are on hardware
  that Apple has dropped support for, OpenCore Legacy Patcher
  (<https://dortania.github.io/OpenCore-Legacy-Patcher/>) can enable
  the use of newer macOS versions on hardware even older than 10.12
  supports.

* Install NixOS. That obviously precludes the use of macOS software
  (though most of that software has already dropped support for 10.12),
  but will give users a secure, supported operating system that we
  can actually own the support for going forward.

* Keep using 24.11 forever. Since they’re not getting updates
  to their OS and core applications anyway, this is likely to be
  acceptable to many users.

* Switch to MacPorts. They support all the way back to 10.6 for
  `x86_64-darwin` by building packages separately for every OS release,
  though not every package is available for every version.

* Send patches. We *may* accept non‐invasive patches to keep
  certain critical packages (such as the core `stdenv` packages)
  building for old OS versions, on a case‐by‐case basis, but we
  can’t guarantee it. This will ultimately have to be a decision
  made by package maintainers and personally I doubt this will be a
  viable path to sustainably support older versions.
2024-09-01 00:29:37 +01:00
..
release-notes.md 24.05 is Vicuña 2024-05-22 18:15:34 +02:00
rl-1310.section.md
rl-1404.section.md
rl-1412.section.md
rl-1509.section.md treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
rl-1603.section.md
rl-1609.section.md doc: avoid 'simply' (#266434) 2023-11-09 21:48:05 +01:00
rl-1703.section.md treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
rl-1709.section.md
rl-1803.section.md
rl-1809.section.md
rl-1903.section.md
rl-1909.section.md nixos/doc/rl-1909: replace wiki reference with official wiki 2024-04-05 16:13:33 -04:00
rl-2003.section.md doc: avoid 'simply' (#266434) 2023-11-09 21:48:05 +01:00
rl-2009.section.md treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
rl-2105.section.md treewide: Fix typos 2023-09-28 19:06:13 +02:00
rl-2111.section.md nixos/pantheon-tweaks: remove 2024-05-22 21:58:16 +08:00
rl-2205.section.md treewide: fix doc typos 2024-07-26 00:55:13 +02:00
rl-2211.section.md grafana: 10.4.2 -> 11.0.0 2024-05-14 19:03:25 +02:00
rl-2305.section.md Merge pull request #291137 from vojta001/release-notes-link 2024-04-16 22:24:21 +02:00
rl-2311.section.md hickory-dns: rename from trust-dns 2024-08-11 07:59:32 +00:00
rl-2405.section.md treewide: fix doc typos 2024-07-26 00:55:13 +02:00
rl-2411.section.md nixos/doc/rl-2411: warn about upcoming macOS version requirement 2024-09-01 00:29:37 +01:00