1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
Commit graph

43738 commits

Author SHA1 Message Date
Weijia Wang c0df3aea49
nixos/doc/rl-2411: warn about upcoming macOS version requirement (#338695) 2024-09-02 09:56:38 +02:00
Felix Bühler 06aee405da
nixos/services.neo4j: remove with lib; (#338049) 2024-09-01 20:52:52 +02:00
Niklas Hambüchen 1dab03cf4a
maintainers: add benaryorg (#338657) 2024-09-01 20:45:53 +02:00
Felix Buehler 6747d84812 nixos/services.kanata: fix utils 2024-09-01 19:42:03 +02:00
Artturin 0d5deebbfd
nixosTests.systemd-initrd-luks-fido2: fix test on aarch64-linux (#297308) 2024-09-01 19:45:29 +03:00
Emily ca59219c43
python3Packages.{mautrix,matrix-nio}: add withOlm flags (#336901) 2024-09-01 15:38:16 +01:00
Étienne Simon b5574c71be
Fix nested quotes in fontconfig.nix
A sed with nested double quotes is inserting malformed XML into /etc/fonts/fonts.conf, this commit put the sed command into single quotes to properly insert double quotes to enclose the XML attribute.
2024-09-01 15:55:12 +02:00
Sarah Brofeldt 1860dfed71
nixos/kubernetes: allow setting multiple kubelet dns resolvers (#338523) 2024-09-01 15:07:08 +02:00
Jan Tojnar ffdd6582a0 release-notes: Mention gnome scope dissolution
Now, only non-packages remain.
2024-09-01 14:16:31 +02:00
Jan Tojnar 58bf5606fb gnome-flashback: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar b37f158fb0 gnome-applets: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar e1093690a8 gnome-panel: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar a110f292a1 gnome-control-center: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar c2f1fa833e gnome-session: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar ca9576c81d gnome-shell: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar 7f387d6bf9 mutter{,43}: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar d2da9a19c4 gnome-settings-daemon{,43}: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar b4c59a979a gnome-bluetooth{,_1_0}: Move to by-name 2024-09-01 14:16:31 +02:00
Quantenzitrone 2521bebbf2
nixosTests.systemd-initrd-luks-fido2: fix test on aarch64-linux
This is the error message on fail:

> qemu-system-aarch64: -device canokey,file=/tmp/canokey-file: Warning:
>   speed mismatch trying to attach usb device "CanoKey QEMU" (full
>   speed) to bus "usb0.0", port "3" (high speed)

My Understanding of the Issue is: The test failed because
qemu-system-aarch64 apparently has different USB controllers enabled by
default, resulting in a "speed mismatch" between the USB controller and
CanoKey that only occurred on aarch64.
I could reproduce the issue on x86_64 by enabling the EHCI controller
and then fix the issue by specifying which USB bus to use for the
CanoKey.
This didn't fully fix the issue on my first attempt, because the UCHI
controller enabled by -usb doesn't have the same bus name on aarch64
and x86_64.
While bus=usb-bus.0 worked on x86_64, on aarch64 i get this message:

> qemu-system-aarch64: -device canokey,bus=usb-bus.0,file=
>   /tmp/canokey-file: Bus 'usb-bus.0' not found

The final solution now manually enables the OHCI controller (which may
be similar to UHCI, but i really have no idea other than it works) and
assigns it the id aka bus name "usb-bus", so it works the same under
both architectures.
2024-09-01 10:40:14 +02:00
Artturin 877838a0da
nixos/tests/plotinus: fix build (#338686) 2024-09-01 07:33:59 +03:00
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
Maximilian Bosch 9ac9a9c2f5
nixos/tests/wireguard: tie kernel version to test to default (#338632) 2024-09-01 00:06:25 +02:00
ghpzin 506d9f0416
nixos/tests/plotinus: fix build
- change tested app from gnome-calculator to gnome-pomodoro as plotinus
only works on gtk3 apps
- change screenshot result to one that shows popup from plotinus
instead of preferences window
- add 2 minute timeouts waiting for windows
- add 10 minute timeout for full test
2024-09-01 00:31:59 +03:00
Artturin 9ef8a9cd56
nixos/telegraf: make sure ping executable is available when trying to ping (#338673) 2024-08-31 23:52:58 +03:00
Felix Bühler 7f62309646
nixos/fonts.fontconfig: remove with lib; (#338042) 2024-08-31 22:52:12 +02:00
Echo Nolan 934a337a13 nixos/telegraf: make sure ping executable is available when trying to ping
We need ping to be in PATH of the service otherwise it can't ping. This commit
adds it, conditional on one of the inputs being a ping task.
2024-08-31 15:29:04 -04:00
Will Fancher 811ee8ab2e
nixos/iso-image: Compress squashfs with zstd 19 (#338652) 2024-08-31 14:38:47 -04:00
benaryorg 4105cdb446
tests/ceph: benaryorg as dmcrypt test maintainer
Signed-off-by: benaryorg <binary@benary.org>
2024-08-31 17:12:02 +00:00
Will Fancher 49192ef7a3 nixos/iso-image: Compress squashfs with zstd 19 2024-08-31 12:21:36 -04:00
Lin Jian 485edde32f
doc/release-notes: change "New Services" to "New Modules" (#337984) 2024-08-31 23:11:50 +08:00
éclairevoyant 075c6ce71f
nixos/fcitx5: fix evaluation (#338621) 2024-08-31 14:28:20 +00:00
sternenseemann 891a1f78e8 nixos/tests/wireguard: tie kernel version to test to default
When wireguard began being tested on multiple kernel versions, the
current default version at the time was hard coded:
41bd6d2614.

We should update this and prevent it from becoming stale ever again by
computing the default value.
2024-08-31 16:09:11 +02:00
Nick Cao 4a7f3e03c1
nixos/fcitx5: replace renamed options in test 2024-08-31 09:22:24 -04:00
Niklas Hambüchen 41f229d131
ceph.tests: Fix maintainer eval (#338619) 2024-08-31 15:22:03 +02:00
Nick Cao 38cabf32f8
nixos/fcitx5: fix evaluation 2024-08-31 09:20:31 -04:00
Martin Weinelt b51e706d6e
nixos/doc/rl-2411: frigate breaking changes 2024-08-31 13:49:32 +02:00
Martin Weinelt 9e01f2b6ac
nixos/tests/frigate: test login 2024-08-31 13:49:32 +02:00
Martin Weinelt 62a52a1b3c
frigate: 0.13.2 -> 0.14.1
https://github.com/blakeblackshear/frigate/releases/tag/v0.14.0
https://github.com/blakeblackshear/frigate/releases/tag/v0.14.1
2024-08-31 13:49:32 +02:00
Niklas Hambüchen def05db018 ceph.tests: Fix maintainer eval 2024-08-31 11:47:58 +00:00
Niklas Hambüchen 53152af2fe
ceph: Fix missing patch for Ceph with dmcrypt (#335684) 2024-08-31 13:11:26 +02:00
benaryorg 0cd631e61f tests/ceph: bluestore, dmcrypt, and IPv6 test
Signed-off-by: benaryorg <binary@benary.org>
2024-08-31 11:07:25 +00:00
github-actions[bot] 8158f1d5b3
Merge master into staging-next 2024-08-31 06:04:15 +00:00
Tristan Gosselin-Hane 2d54b2b048 nixos/kubernetes: allow setting multiple kubelet dns resolvers
The current kubernetes module only allows you to set a single DNS
resolver for the kubelet. Historically, this has not mattered as the
value was passed to a cli argument as a string and as per the kubelet's
configuration parsing mechanism, multiple values could be passed as a
comma-delimited string. However, recently, the module was refactored to
make configure kubernetes components via configuration files rather than
the deprecated command-line arguments. These files more strongly-typed
than CLI arguments and to pass multiple values, one must define a list
in the file. When this change was made, an incorrect assumption was made
that only a single DNS server could be specified and forced a
single-item list into this configuration file. We need to introduce a
breaking change to the module in order to allow the user to supply their
own list with however many dns resolvers they wish to use.
2024-08-30 22:17:00 -04:00
Yt 4dd3c85ad5
{prisma,prisma-engines}: 5.16.1 -> 5.18.0 (#337521) 2024-08-31 00:15:53 +00:00
github-actions[bot] dcad9b571a
Merge master into staging-next 2024-08-31 00:13:18 +00:00
Philip Taron 9916dc8728
treewide/nixos: remove with lib; part 2 (#335618) 2024-08-30 15:56:57 -07:00
Philip Taron 4710721d41
nixos: Support fileSystems.<name>.depends with fstab-generator (#233707) 2024-08-30 15:55:39 -07:00
Felix Bühler 30eba5df55
nixos/services.libinput: remove with lib; (#338054) 2024-08-30 23:15:31 +02:00
Felix Buehler 5f816eeb7e nixos.tests.audiobookshelf: remove with lib; 2024-08-30 23:01:46 +02:00
Felix Buehler dcb2e4eba4 nixos/services.xe-guest-utilities: remove with lib; 2024-08-30 23:01:45 +02:00