Compare commits

..

823 Commits

Author SHA1 Message Date
Leona Maroni
11cb3517b3 Release NixOS 25.05 2025-05-23 20:56:20 +02:00
OPNA2608
f526c3e77a nixosTests.lomiri-filemanager-app: Fix OCR
(cherry picked from commit 66301f51a3)
2025-05-23 23:25:53 +05:30
OPNA2608
a12287d041 lomiri.lomiri-filemanager-app: 1.1.3 -> 1.1.4
(cherry picked from commit 2143771374)
2025-05-23 23:25:53 +05:30
Emily
85464f6a96 [Backport release-25.05] Revert "lib.meta.availableOn: Return false if pkg parameter is null" (#410242) 2025-05-23 18:47:35 +01:00
Emily
ea235dc9ee Revert "lib.meta.availableOn: Return false if pkg parameter is null"
I believe this change is wrong both theoretically and practically.

Theoretically, `null` is available on every platform, because
`buildInputs = [ null ];` always succeeds and never throws a platform
availability error. `null` should be handled consistently with packages
that have no explicit list of supported platforms, as it of course
has no such list itself.

Practically, we use `null` to represent libraries that are always
present on a platform and do not require a library (for instance,
because they are part of `libc` or the macOS SDK). This has been
used for a long time by `libintl` (on all non‐glibc platforms),
and is also now used by `libGL` and friends on Darwin. This change
broke the check SDL3 does for OpenGL availability on Darwin, causing
<https://github.com/NixOS/nixpkgs/issues/407056>, which had to be
worked around by <https://github.com/NixOS/nixpkgs/pull/409525>.

Both `libintl` and `libGL` should count as available on platforms
where their functionality is part of the standard build environment,
and a package that is completely unavailable and whose functionality
cannot be expected should not use `null`, as it should result in
errors if used in a dependency list on an unsupported platform.

I accept that overriding with `null` is often a useful way to disable
dependencies that don’t have explicit feature flags, but I do not
think that making it work better with feature flags conditioned on
availability is worth the inconsistency and problems caused by this
change. Packages can instead expose the relevant feature flags as
arguments that default to the `lib.meta.availableOn` check or, if they
want to keep an “override the dependency to `null`” interface,
insert an explicit `pkg != null && …` check.

Additionally, the pull request was merged over a week after all
breaking changes were restricted for the 25.05 release. I believe that
the potential problems of dealing with the effects of this change for
an entire release cycle – the first release cycle where `libGL` is
`null` on Darwin, a change I made before the deadline and before this
change to `lib.meta.availableOn` – offset the risks of backporting
this revert at such a late stage.

It will cause overrides to backwards‐incompatibly revert to the
behaviour they had before the change, but since such overrides were
not possible until a few weeks ago, I hope that is an acceptable risk
compared to the potential issues leaving this in the release can
cause, given that it was merged after the deadline and has already
broken an existing construction in Nixpkgs.

This reverts commit 9338d924db.

(cherry picked from commit 98dbc7cc58)
2025-05-23 17:39:28 +00:00
nixpkgs-ci[bot]
c5ac655645 [Backport release-25.05] ente-desktop: fix literal inclusion of '$out' (#410215)
ente-desktop: fix literal inclusion of '$out' (#410214)

(cherry picked from commit 766a203ac7)

Co-authored-by: oddlama <oddlama@oddlama.org>
2025-05-23 19:01:28 +02:00
Aleksana
243c587ad6 [Backport release-25.05] python313Packages.entry-points-txt: refactor (#408169) 2025-05-23 23:49:50 +08:00
Aleksana
35b528a99b [Backport release-25.05] python313Packages.types-lxml: adjust inputs (#408172) 2025-05-23 23:49:16 +08:00
Aleksana
773e2b7fef [Backport release-25.05] lazygit: 0.51.0 -> 0.51.1 (#410137) 2025-05-23 23:43:05 +08:00
Pol Dellaiera
591f3ea49f [Backport release-25.05] maintainers: remove my gpg key (#410189) 2025-05-23 14:37:08 +00:00
Aleksana
3d840c10d3 [Backport release-25.05] neovide, neovim-gtk, neovim-qt-unwrapped: minor refreshment (#410134) 2025-05-23 22:31:26 +08:00
Aleksana
9fb1625d7d [Backport release-25.05] rquickshare: clean up dependencies, don't use applyPatches (#410139) 2025-05-23 22:30:52 +08:00
eljamm
048ac2787b maintainers: remove my gpg key
(cherry picked from commit 75e677c32e)
2025-05-23 14:29:42 +00:00
Aleksana
cf6267fb09 [Backport release-25.05] tftui: accept posthog 4 (#407766) 2025-05-23 22:12:10 +08:00
Aleksana
55d285372d [Backport release-25.05] tree-sitter: update changelog url (#410133) 2025-05-23 22:11:21 +08:00
Aleksana
92d1b796c3 [Backport release-25.05] sing-box: clean up (#410175) 2025-05-23 22:10:07 +08:00
Sizhe Zhao
dedb89c43d sing-box: install shell completions directly 2025-05-23 21:56:54 +08:00
Sizhe Zhao
828eac07e7 sing-box: add prince213 to maintainers 2025-05-23 21:56:54 +08:00
Sizhe Zhao
7c6cc26c27 sing-box: use finalAttrs 2025-05-23 21:56:54 +08:00
Sizhe Zhao
fca99741a9 sing-box: avoid with lib; 2025-05-23 21:53:24 +08:00
Jörg Thalheim
76b4b619b8 [Backport release-25.05] qmk: add bootloadhid as a propagatedBuildInput for hardware support (#410147) 2025-05-23 15:28:18 +02:00
Aleksana
52207c55fd [Backport release-25.05] donpapi: refactor and mark as broken on darwin (#408965) 2025-05-23 21:21:04 +08:00
Aleksana
ddd0a706be [Backport release-25.05] nixos/orca: Make available to gdm greeter (#409142) 2025-05-23 21:20:41 +08:00
Aleksana
660a8bba18 [Backport release-25.05] pencil2d: init at 0.7.0 (#410154) 2025-05-23 21:19:34 +08:00
TheTaoOfSu
775ffcabc6 qmk: add bootloadhid as a propagatedBuildInput to support flashing more hardware
(cherry picked from commit 6fb834fb3c)
2025-05-23 16:11:37 +03:00
misuzu
d9335df305 [Backport release-25.05] bootloadhid: init at 0-unstable-2012-12-08 (#410149) 2025-05-23 16:08:48 +03:00
Aleksana
acdf0eb91a [Backport release-25.05] nixos/doc/rl-2505: add an entry for nixos/agnos (#410152) 2025-05-23 21:02:35 +08:00
Savchenko Dmitriy
40986e7094 pencil2d: init at 0.7.0 (#402895)
(cherry picked from commit e2cbbf11fc)
2025-05-23 13:00:33 +00:00
Sandro
fb54862276 [Backport release-25.05] yt-dlp: 2025.4.30 -> 2025.5.22 (#409746) 2025-05-23 14:57:55 +02:00
Sandro
2a17f894f8 [Backport release-25.05] python313Packages.tendo: fix build with python 3.13 (#409489) 2025-05-23 14:57:05 +02:00
Aleksana
779f282eeb [Backport release-25.05] ext4magic: add patch to fix segfault (#410136) 2025-05-23 20:55:16 +08:00
Justinas Stankevicius
aec7844290 nixos/doc/rl-2505: add an entry for nixos/agnos
(cherry picked from commit 315681dfe2)
2025-05-23 12:48:47 +00:00
TheTaoOfSu
5739aebdf7 bootloadhid: init at 0-unstable-2012-12-08
(cherry picked from commit d6fa60faf1)
2025-05-23 12:47:42 +00:00
TheTaoOfSu
b1af56092e maintainers: add thetaoofsu
(cherry picked from commit ed8e18ad6a)
2025-05-23 12:47:41 +00:00
Aleksana
58ae193744 [Backport release-25.05] vault: 1.19.3 -> 1.19.4, vault-bin: 1.19.3 -> 1.19.4 (#409914) 2025-05-23 20:33:58 +08:00
TomaSajt
afb42377cb rquickshare: clean up dependencies, don't use applyPatches
(cherry picked from commit 8a5a277122)
2025-05-23 12:28:42 +00:00
Aleksana
1a7b9de192 [Backport release-25.05] akkoma-admin-fe: Fix build for x86_64-darwin (#410014) 2025-05-23 20:23:00 +08:00
Aleksana
f2b15650e4 [Backport release-25.05] yandex-music: 5.50.0 -> 5.51.1 (#409751) 2025-05-23 20:22:22 +08:00
Aleksana
863399e14a [Backport release-25.05] python3Packages.klayout: fix darwin build (#409732) 2025-05-23 20:22:10 +08:00
Jost Alemann
1e591dc363 lazygit: 0.51.0 -> 0.51.1
Diff: https://github.com/jesseduffield/lazygit/compare/v0.51.0...v0.51.1
Changelog: https://github.com/jesseduffield/lazygit/releases/tag/v0.51.1
(cherry picked from commit b47cac5d69)
2025-05-23 12:21:42 +00:00
Nicolas Benes
7e6409f466 ext4magic: add patch to fix segfault
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854497
(cherry picked from commit 704bda7d20)
2025-05-23 12:18:02 +00:00
Acid Bong
c7cd3d76b4 neovim-gtk: use finalAttrs, remove with lib
(cherry picked from commit d88309158f)
2025-05-23 12:16:47 +00:00
Acid Bong
ba85488790 neovim-qt-unwrapped: use finalAttrs, remove with lib
(cherry picked from commit e98fa16484)
2025-05-23 12:16:47 +00:00
Acid Bong
6adeba369b neovide: use finalAttrs, remove with lib
(cherry picked from commit 6cead234cb)
2025-05-23 12:16:47 +00:00
uncenter
c7f133a9ca tree-sitter: update changelog url
(cherry picked from commit e5c4040441)
2025-05-23 12:11:36 +00:00
Adam M. Szalkowski
49189325fd hyprlandPlugins.hy3: 0.48.0 -> 0.49.0
(cherry picked from commit 41b894265a)
2025-05-23 17:40:35 +05:30
Aleksana
684552d89c [Backport release-25.05] argbash: update meta.homepage (#410127) 2025-05-23 19:56:25 +08:00
Aleksana
3756de4e62 [Backport release-25.05] plant-it: init at 0.10.0 (#410104) 2025-05-23 19:40:00 +08:00
Kenichi Kamiya
d9234922b0 argbash: update meta.homepage
Upstream replaced the link in 48a7252cfe

(cherry picked from commit f05abeb30e)
2025-05-23 11:39:14 +00:00
Edgar Pireyn
d220a959b6 plant-it-frontend: init at 0.10.0
(cherry picked from commit 2aa307ab83)
2025-05-23 10:17:47 +00:00
Edgar Pireyn
c8038975d0 plant-it: init at 0.10.0
(cherry picked from commit e2b421c169)
2025-05-23 10:17:47 +00:00
Edgar Pireyn
a8bf682bdc maintainers: Add epireyn
I plan on maintaining `plant-it` and probably other self-hosted services.

(cherry picked from commit 838e42eb51)
2025-05-23 10:17:47 +00:00
Robert Hensing
fa89de23e9 [Backport release-25.05] json-schema-catalog-rs: init at 0.1.1 (#410067) 2025-05-23 10:51:13 +02:00
Aleksana
1a4ede4083 [Backport release-25.05] lazygit: 0.50.0 -> 0.51.0 (#409822) 2025-05-23 16:33:58 +08:00
Aleksana
3ea5b529b4 [Backport release-25.05] anytype: fix single instance detection and specify URL in .desktop file (#410020) 2025-05-23 16:33:15 +08:00
Aleksana
5518e8787b [Backport release-25.05] fractal: 11 -> 11.1 (#409826) 2025-05-23 15:40:34 +08:00
Aleksana
263d12c0f3 [Backport release-25.05] pmars: Fix FTBFS due to ncurses change (#410023) 2025-05-23 15:39:20 +08:00
Aleksana
3b4043f39d [Backport release-25.05] musicpod: 2.11.4 -> 2.12.0 (#410065) 2025-05-23 15:32:13 +08:00
Ethan Carter Edwards
92e83dd9a0 json-schema-catalog-rs: add versionCheckHook
(cherry picked from commit 72eaf394d3)
2025-05-23 07:31:28 +00:00
Robert Hensing
b8815f1856 json-schema-catalog-rs: init at 0.1.1
(cherry picked from commit c598c6d576)
2025-05-23 07:31:28 +00:00
emaryn
1bf2e381f9 musicpod: 2.11.4 -> 2.12.0
(cherry picked from commit 07fbfa430b)
2025-05-23 07:24:54 +00:00
Aleksana
e4b8c79e53 [Backport release-25.05] fasthenry: fix build with gcc 14 (#410008) 2025-05-23 15:22:45 +08:00
Thomas Gerbet
5a06550939 [Backport release-25.05] librewolf-bin-unwrapped: 138.0.1-2 -> 138.0.4-1 (#409907) 2025-05-23 09:19:39 +02:00
Aleksana
ed3e8fdc88 [Backport release-25.05] nixos/paperless: expose manage package (#408739) 2025-05-23 15:19:26 +08:00
Aleksana
3e7836c84c [Backport release-25.05] llvmPackages.lldb-manpages: fix building (#410012) 2025-05-23 15:18:06 +08:00
Aleksana
955de76601 [Backport release-25.05] nwg-dock-hyprland: 0.4.5 -> 0.4.6 (#409993) 2025-05-23 15:17:44 +08:00
Aleksana
1282f40a4c [Backport release-25.05] scope-tui: 0.3.0-unstable-2024-05-06 -> 0.3.3 (#409991) 2025-05-23 15:16:04 +08:00
Leona Maroni
b53bc1676f [Backport release-25.05] doc/rl-2505: final cleanups (#410059) 2025-05-23 09:11:43 +02:00
Wolfgang Walther
67526450ee [Backport release-25.05] workflows/eval: run when base branch changed (#409857) 2025-05-23 07:09:06 +00:00
Sarah Clark
bee3bb87f2 python3Packages.labelbox: 6.6.0 -> 6.10.0
Changelogs:
* https://github.com/Labelbox/labelbox-python/releases/tag/v.6.10.0
* https://github.com/Labelbox/labelbox-python/releases/tag/v.6.9.0
* https://github.com/Labelbox/labelbox-python/releases/tag/v.6.8.0
* https://github.com/Labelbox/labelbox-python/releases/tag/v.6.8.0

diff: https://github.com/Labelbox/labelbox-python/compare/v.6.6.0...v.6.10.0
(cherry picked from commit 7b2772c14d)
2025-05-23 07:06:48 +00:00
Sarah Clark
bbdb4945bf python3Packages.labelbox: build missing lbox-clients dependency
(cherry picked from commit ae45b31e06)
2025-05-23 07:06:48 +00:00
Seth Flynn
7be97c226e nixos/doc/rl-2505: cleanup "new modules" section
(cherry picked from commit 7fb7f0c4a1)
2025-05-23 07:04:40 +00:00
Seth Flynn
4e3f17c106 doc/rl-2505: fix nexusmods.app entry formatting
I don't really think this needs its own header and section...

(cherry picked from commit b17e45ca7c)
2025-05-23 07:04:40 +00:00
Seth Flynn
0c0d19b831 doc/rl-2505: move unrelated entries from lib section
(cherry picked from commit 00ae244074)
2025-05-23 07:04:40 +00:00
Seth Flynn
8f6b37ece6 doc/rl-2505: fix links in lib section
(cherry picked from commit 041c3794c4)
2025-05-23 07:04:39 +00:00
Doron Behar
41430d9c93 [Backport release-25.05] nixos/i18n: Re-add special handling of LANGUAGE (#410054) 2025-05-23 09:33:08 +03:00
Doron Behar
24b41a7f8b nixos/i18n: Re-add special handling of LANGUAGE
This reverts commit 263297b4e5 while also
explaining in the docs where exactly LANGUAGE is ignored, and why.

Fixes #409306.

(cherry picked from commit 82dfbe95f5)
2025-05-23 06:25:48 +00:00
Aleksana
f89c89a1e7 [Backport release-25.05] netbird: fix typo in warning message (#410021) 2025-05-23 11:48:10 +08:00
Aleksana
4e0e6884e8 [Backport release-25.05] ulauncher: revert back to webkitgtk_4_0 to fix startup error (#410013) 2025-05-23 11:47:51 +08:00
Aleksana
03de5d2e9d [Backport release-25.05] catppuccin-plymouth: fix variant selection (#410015) 2025-05-23 11:47:32 +08:00
Aleksana
4a82db41dc [Backport release-25.05] nixos/foot: fix zshrc (#410018) 2025-05-23 11:47:12 +08:00
Tristan Ross
809b099146 [Backport release-25.05] selinux-sandbox: fix building (#410011) 2025-05-22 20:44:42 -07:00
OPNA2608
ada6f666ff pmars: Fix FTBFS due to ncurses change
WINDOW struct was turned opaque in recent versions, meaning that direct access to struct members is no longer supported.
Add patch to replace direct access with calls to getter functions.

(cherry picked from commit fe359e9681)
2025-05-23 03:36:05 +00:00
Pop
298a25eeec netbird: fix typo in warning message (#406819)
(cherry picked from commit 017276a4aa)
2025-05-23 03:32:43 +00:00
Axel Karjalainen
95ee32e5d8 anytype: fix single instance detection and specify URL in .desktop file
(cherry picked from commit 09ccea2424)
2025-05-23 03:31:31 +00:00
nyukuru
690b077209 nixos/foot: fix zshrc
Fixes error 'command not found: add-zsh-hook'

(cherry picked from commit 2c7a56cee9)
2025-05-23 03:27:28 +00:00
palumbou
ad30ac89b6 catppuccin-plymouth: fix formatting using "nix fmt" as written in the CONTRIBUTING.md documentation
(cherry picked from commit def8389c97)
2025-05-23 03:21:01 +00:00
palumbou
f8356eef66 catppuccin-plymouth: fix formatting using nixpkgs-fmt and statix
(cherry picked from commit 203e626742)
2025-05-23 03:21:01 +00:00
palumbou
d6cd99f80b catppuccin-plymouth: fix variant selection
The package previously had an issue where it defined valid variants but did
not properly connect the validation to the derivation. This resulted in only
the default "macchiato" variant being accessible.

Fixed by replacing `lib.checkListOfEnum` with `assert lib.assertOneOf`
to properly validate and allow selection of all defined variants:
"latte", "frappe", "macchiato" and "mocha".

Tested by successfully building the package with each variant.

(cherry picked from commit d71402645d)
2025-05-23 03:21:01 +00:00
Fiona Behrens
6588ff10ab akkoma-admin-fe: Fix build for x86_64-darwin
Add xcodebuild as build dependencies for both darwin platforms as
x86_64 needs it to run xcodebuild

(cherry picked from commit 0047d6e995)
2025-05-23 03:19:19 +00:00
Lan Tian
9f7898818d ulauncher: revert back to webkitgtk_4_0 to fix startup error
(cherry picked from commit 460905fe2e)
2025-05-23 03:16:11 +00:00
Tristan Ross
69a4741a6c llvmPackages.lldb-manpages: fix building
(cherry picked from commit 02260cbf40)
2025-05-23 03:15:36 +00:00
Tristan Ross
c0d22180c5 selinux-sandbox: fix building
(cherry picked from commit e34d28b3f3)
2025-05-23 03:15:19 +00:00
Aleksana
90576afade [Backport release-25.05] doc/rl-2505: wrangle in nixpkgs and nixos split (#410009) 2025-05-23 11:09:47 +08:00
Seth Flynn
fade580c6f doc/rl-2505: re-introduce note about __structuredAttrs & python
Seems this was accidentally removed in 8ae9309 instead of only being
moved from the highlight section

(cherry picked from commit 59b2dd2496)
2025-05-23 02:58:26 +00:00
Seth Flynn
f0e2cff733 doc/rl-2505: move all package entries from nixos notes
This ensures the NixOS notes only refer to things like modules and
NixOS-specific improvements, while the Nixpkgs notes refer to all
package changes

(cherry picked from commit 39a20c95fe)
2025-05-23 02:58:26 +00:00
Seth Flynn
e47625e0e2 nixos/doc/rl-2505: use "Release" as header name
This keeps us in-line with all previous releases. Users should be able
to still differentiate the NixOS and Nixpkgs release notes based on the
header of Nixpkgs' notes

(cherry picked from commit 7edb76465e)
2025-05-23 02:58:26 +00:00
Seth Flynn
71944a8ce8 doc/rl-2505: de-duplicate nixos entires
Make sure package updates are reported in the Nixpkgs notes

(cherry picked from commit 6f5fa0eee4)
2025-05-23 02:58:26 +00:00
Seth Flynn
1f0fc1044c doc/rl-2505: move some entires from nixos notes
These are more broadly applicable to Nixpkgs than only NixOS

(cherry picked from commit 84d6322031)
2025-05-23 02:58:26 +00:00
Sigmanificient
007e8903a9 fasthenry: modernize
(cherry picked from commit afc5cef256)
2025-05-23 02:57:21 +00:00
Sigmanificient
cbe848490c fasthenry: fix build
(cherry picked from commit 9aaa4ac521)
2025-05-23 02:57:21 +00:00
Aleksana
4d98ad776b [Backport release-25.05] treewide: rm empty inherit (#410004) 2025-05-23 10:46:25 +08:00
Sizhe Zhao
ecd10c7cef treewide: rm empty inherit
(cherry picked from commit 43ce4eae1b)
2025-05-23 02:37:45 +00:00
Aaron Andersen
270e01754e [Backport release-25.05] kodiPackages.youtube: 7.1.1.6 -> 7.2.0.1 (#409701) 2025-05-22 22:33:09 -04:00
rewine
4953a0bab4 [Backport release-25.05] vivaldi: 7.3.3635.11 -> 7.3.3635.12 (#409925) 2025-05-23 10:17:09 +08:00
R. Ryantm
1ebe1d9aa9 nwg-dock-hyprland: 0.4.5 -> 0.4.6
(cherry picked from commit 2d536ee8e8)
2025-05-23 02:14:27 +00:00
Lin Xianyi
16a5034a63 scope-tui: 0.3.0-unstable-2024-05-06 -> 0.3.3
Changelog: https://github.com/alemidev/scope-tui/releases/tag/v0.3.3
Diff: c2fe70a69c...v0.3.3
(cherry picked from commit 50f2577220)
2025-05-23 02:12:53 +00:00
Winter
c4aa829967 [Backport release-25.05] cargo-bazel: add libz as buildInput for darwin (#409731) 2025-05-22 21:59:15 -04:00
Aleksana
326ecfa0d5 [Backport release-25.05] gnomeExtensions.arcmenu: 63 -> 65 (#408326) 2025-05-23 09:37:20 +08:00
Aleksana
e6f0153145 [Backport release-25.05] xcircuit: fix build with gcc 14 (#409783) 2025-05-23 09:36:46 +08:00
Aleksana
d964705043 [Backport release-25.05] leo-editor: update meta.homepage (#409785) 2025-05-23 09:36:17 +08:00
Leona Maroni
55d1f923c4 [Backport release-25.05] nixos/manual/upgrading: update release number 24.11 -> 25.05 (#409931) 2025-05-23 00:35:25 +02:00
Leona Maroni
3acf6120ab [Backport release-25.05] nixos/doc/release-notes-2505: fix table formatting for system.build (#409930) 2025-05-23 00:35:16 +02:00
Leona Maroni
04e3910cf4 nixos/manual/upgrading: update release number 24.11 -> 25.05
(cherry picked from commit cc6a8582f6)
2025-05-22 22:26:06 +00:00
Leona Maroni
131205f2f9 nixos/doc/release-notes-2505: fix table formatting for system.build
(cherry picked from commit cce58bb959)
2025-05-22 22:25:08 +00:00
Leona Maroni
85dd2f6acf [Backport release-25.05] doc/rl-2505: Add deprecation warning for removal of GHC versions. (#409909) 2025-05-23 00:23:25 +02:00
R. Ryantm
bb248f8ff6 vivaldi: 7.3.3635.11 -> 7.3.3635.12
(cherry picked from commit 856bddbe8e)
2025-05-22 22:15:55 +00:00
techknowlogick
220c75f1bf vault-bin: 1.19.3 -> 1.19.4
(cherry picked from commit 26088a9aa8)
2025-05-22 21:54:46 +00:00
techknowlogick
9920daf3cd vault: 1.19.3 -> 1.19.4
Diff: https://github.com/hashicorp/vault/compare/v1.19.3...v1.19.4

Changelog: https://github.com/hashicorp/vault/blob/v1.19.4/CHANGELOG.md
(cherry picked from commit d9a74dfb6b)
2025-05-22 21:54:46 +00:00
Arne Keller
bd6e146876 [Backport release-25.05] golly: fix build on darwin (#409886) 2025-05-22 23:43:09 +02:00
maralorn
f86bd390bc doc/rl-2505: Add deprecation warning for removal of GHC versions.
(cherry picked from commit fd7165462c)
2025-05-22 21:28:30 +00:00
emaryn
e261f8c829 librewolf-bin-unwrapped: 138.0.3-1 -> 138.0.4-1
(cherry picked from commit a5fceb3f83)
2025-05-22 21:23:01 +00:00
emaryn
46224b87aa librewolf-bin-unwrapped: 138.0.1-2 -> 138.0.3-1
(cherry picked from commit 1d86f262cc)
2025-05-22 21:23:01 +00:00
Ben Siraphob
6f08466ff8 golly: fix build on darwin
(cherry picked from commit 9be97d3de7)
2025-05-22 20:26:11 +00:00
Wolfgang Walther
984f7dd066 [Backport release-25.05] ci/eval: remove left-over stats.json (#409856) 2025-05-22 20:10:06 +00:00
misuzu
b3627a1c6e [Backport release-25.05] floorp: 11.26.1 -> 11.26.2 (#409794) 2025-05-22 22:47:15 +03:00
Wolfgang Walther
042d2e6417 workflows: avoid running jobs when editing title etc.
We intend to use the edited event to react to base branch changes - but
before this change, we also ran those jobs on simple edits like title or
description.

While this works for some of the quicker jobs, it will not be
sustainable for all evaluation-related jobs. But evaluation needs to be
re-triggered on a base branch change as well, thus this change.

(cherry picked from commit 9b01e09a35)
2025-05-22 19:14:03 +00:00
Wolfgang Walther
dbb5ea9c26 ci/eval: remove left-over stats.json
This seems to be a left-over from before the performance comparison was
changed to a difference-per-chunk analysis.

(cherry picked from commit edaf51cb83)
2025-05-22 19:08:27 +00:00
K900
2225637595 [Backport release-25.05] unbreak linux v5.10 on x86_64 by disabling OF_OVERLAY (#409847) 2025-05-22 21:25:28 +03:00
K900
70d0752c76 [Backport release-25.05] linux/common-config: enable EFI on supported platforms (#409846) 2025-05-22 21:25:19 +03:00
K900
262b698461 [Backport release-25.05] Kernel updates for 2025-05-22 (#409845) 2025-05-22 21:25:12 +03:00
Yarny0
10d58f8ab4 linux/common-config: disable OF_OVERLAY on x86_64 if version < 5.15
`OF_OVERLAY` breaks kernel compilation for version 5.10
(beginning with 5.10.236), but only on x86_64.
Luckily, `OF_OVERLAY` is of not real interest on x86_64,
so this commit unbreaks the build by just disabling that option
if the target is x86_64 *and* the kernel version is below 5.15.

v5.15 contains a patch that turns the compilation error into a
warning, so this measure is not needed from that version on:
https://git.kernel.org/linus/5aad03685185b5133a28e1ee1d4e98d3fd3642a3

The reasons for the build failure are not
fully clear at the time of this writing;
apparently, a change in `pahole` is the core cause.
For details see the issue and in particular this comment:
https://github.com/NixOS/nixpkgs/issues/403985#issuecomment-2863338895
If that is correct and `pahole` gets fixed,
we can probably revert the commit at hand.

(cherry picked from commit 1e6c445767)
2025-05-22 18:25:07 +00:00
Ben Wolsieffer
6e1ff90aaf linux/common-config: enable EFI on supported platforms
Currently, is it possible for stdenv.hostPlatform.isEfi to be true but
the kernel to have no EFI support. This mainly occurs on armv6l and
causes systemd in initrd to fail to build because it attempts to include
the non-existent efivarfs module in the initrd.

To fix this, automatically enable CONFIG_EFI on platforms where isEfi is
true. An alternative would be to make isEfi false on armv6l, but EFI is
in fact usable on that platform.

To prove this, I successfully booted NixOS on a Raspberry Pi Zero using
systemd-boot and U-Boot's EFI support. I confirmed that efivarfs works
as well.

(cherry picked from commit 3aff7b471c)
2025-05-22 18:24:56 +00:00
K900
52788bba0b linux_5_15: 5.15.183 -> 5.15.184
(cherry picked from commit 858ce19170)
2025-05-22 18:24:53 +00:00
K900
637793bdb0 linux_6_1: 6.1.139 -> 6.1.140
(cherry picked from commit 3b7f48048a)
2025-05-22 18:24:53 +00:00
K900
f2d5d9fa17 linux_6_6: 6.6.91 -> 6.6.92
(cherry picked from commit 4fb15d7946)
2025-05-22 18:24:53 +00:00
K900
ec418d1b80 linux_6_12: 6.12.29 -> 6.12.30
(cherry picked from commit c02eaae23d)
2025-05-22 18:24:53 +00:00
K900
0f61178d7e linux_6_14: 6.14.7 -> 6.14.8
(cherry picked from commit 39f51ddad7)
2025-05-22 18:24:53 +00:00
Adam C. Stephens
8b602f0cff fractal: 11 -> 11.1
(cherry picked from commit ce802f152e)
2025-05-22 17:03:56 +00:00
Morgan Jones
64ac770c5a [Backport release-25.05] z3: 4.14.1 → 4.15.0, z3_4_14: drop (#409741) 2025-05-22 09:48:07 -07:00
Morgan Jones
cd4df48f4a [Backport release-25.05] mattermost: 10.5.5 -> 10.5.6, mattermostLatest: 10.8.0 -> 10.8.1 (#409734) 2025-05-22 09:44:13 -07:00
Jost Alemann
0d55ea6ddb lazygit: 0.50.0 -> 0.51.0
Changelog: https://github.com/jesseduffield/lazygit/releases/tag/v0.51.0
Diff: https://github.com/jesseduffield/lazygit/compare/v0.50.0...v0.51.0
(cherry picked from commit 9810b2ce38)
2025-05-22 16:36:21 +00:00
hustlerone
d5138ca3d6 nixos/limine: tidy up the boot menu
(cherry picked from commit de6905ee37)
2025-05-22 21:03:39 +05:30
Niklas Korz
96b2436984 [Backport release-25.05] nixos/meilisearch: use meilisearch_1_11 for stateVersion below 25.05 (#409773) 2025-05-22 17:31:33 +02:00
Christoph Heiss
27aaacdd00 floorp: 11.26.1 -> 11.26.2
Security fixes.

Release announcement: https://blog.floorp.app/en/release/11.26.2.html
Git changelog: https://github.com/Floorp-Projects/Floorp/compare/v11.26.1...v11.26.2

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
(cherry picked from commit d1bc54ae6c)
2025-05-22 14:54:17 +00:00
Aleksana
099325e609 [Backport release-25.05] velocity: make Nix register dependencies of native libraries (#409725) 2025-05-22 22:36:37 +08:00
Robert Hensing
6cb1302c83 [Backport release-25.05] nixVersions.git: 2.29pre20250409_e76bbe41 -> 2.30pre20250521_76a4d4c2 (#409644) 2025-05-22 16:24:18 +02:00
Jost Alemann
05f3285aae leo-editor: update meta.homepage
meta.homepage seems outdated

(cherry picked from commit e6ee64c4d4)
2025-05-22 14:23:22 +00:00
Sigmanificient
c8f63b2a82 xcircuit: fix build with gcc 14
(cherry picked from commit c06a4060f2)
2025-05-22 14:19:29 +00:00
Aleksana
5de2d5042d [Backport release-25.05] neo4j: fix and enable strictDeps (#409641) 2025-05-22 22:11:23 +08:00
Aleksana
558884cb6f [Backport release-25.05] lixPackageSets.{lix_2_92,lix_2_93,git}.lix: fix building on darwin (#409726) 2025-05-22 22:11:07 +08:00
Aleksana
a53af79559 [Backport release-25.05] ugarit: fix build (#409737) 2025-05-22 22:10:55 +08:00
Niklas Korz
26506af385 nixos/meilisearch: use meilisearch_1_11 for stateVersion below 25.05
(cherry picked from commit aac2e41ce0)
2025-05-22 13:54:53 +00:00
Niklas Korz
83a5adfbd0 meilisearch_1_11: init at 1.11.3
(cherry picked from commit 9b8ced6e69)
2025-05-22 13:54:53 +00:00
K900
24181e7f5c [Backport release-25.05] wireplumber: 0.5.8 -> 0.5.10 (#409762) 2025-05-22 16:12:13 +03:00
K900
2131c2cb01 wireplumber: 0.5.8 -> 0.5.10
Diff: https://gitlab.freedesktop.org/pipewire/wireplumber/-/compare/0.5.8...0.5.10
(cherry picked from commit 49842e98a7)
2025-05-22 13:11:53 +00:00
Leona Maroni
9f74a122b8 [Backport release-25.05] gitlab: 18.0.0 -> 18.0.1 (#409718) 2025-05-22 14:29:24 +02:00
R. Ryantm
9200345239 yandex-music: 5.50.0 -> 5.51.1
(cherry picked from commit accb7207bc)
2025-05-22 12:09:59 +00:00
Jost Alemann
c082e01f5c yt-dlp: 2025.4.30 -> 2025.5.22
Changelog: https://github.com/yt-dlp/yt-dlp/releases/tag/2025.05.22
Diff: https://github.com/yt-dlp/yt-dlp/compare/2025.04.30...2025.05.22
(cherry picked from commit 74595d480b)
2025-05-22 11:49:04 +00:00
Tom van Dijk
c8c8dadcde doc: rl-2505: z3 4.14 -> 4.15
(cherry picked from commit fa2bee6de3)
2025-05-22 11:46:42 +00:00
Tom van Dijk
ce48072285 z3: refactor
(cherry picked from commit 13c6d411e7)
2025-05-22 11:46:42 +00:00
Tom van Dijk
7ab6069ba4 z3_4_15: rename to z3
(cherry picked from commit 4b9c17e546)
2025-05-22 11:46:42 +00:00
Tom van Dijk
9bfc93a652 z3: add aliases for older versions
(cherry picked from commit 60cbd81553)
2025-05-22 11:46:41 +00:00
Tom van Dijk
bb98fba388 z3: 4.14.1 → 4.15.0, z3_4_14: drop, z3_4_15: init at 4.15.0
(cherry picked from commit f9d66c36aa)
2025-05-22 11:46:41 +00:00
Tom van Dijk
5eb2b2eefe ugarit: fix build
(cherry picked from commit edc5b6b0a5)
2025-05-22 11:44:12 +00:00
Thomas Gerbet
9db7cbf9f6 mattermostLatest: 10.8.0 -> 10.8.1
Fixes MMSA-2025-00491 (rated as a critical vuln).

(cherry picked from commit 45e21093c3)
2025-05-22 11:40:45 +00:00
Thomas Gerbet
60d095da85 mattermost: 10.5.5 -> 10.5.6
Fixes MMSA-2025-00491 (rated as a critical vuln).

(cherry picked from commit 0c65612e31)
2025-05-22 11:40:45 +00:00
Qiming Chu
881687dc9b python3Packages.klayout: fix darwin build
Signed-off-by: Qiming Chu <cchuqiming@gmail.com>
(cherry picked from commit e5474c6db5)
2025-05-22 11:39:19 +00:00
Fiona Behrens
5b841354b7 cargo-bazel: add libz as buildInput for darwin
Add libz as build input to allow building cargo-bazel on darwin.

(cherry picked from commit a952bd4a00)
2025-05-22 11:38:22 +00:00
Seth Flynn
1f9c0d8a31 lixPackageSets.{lix_2_92,lix_2_93,git}.lix: fix building on darwin
https://git.lix.systems/lix-project/lix/issues/568
https://git.lix.systems/lix-project/lix/issues/832
(cherry picked from commit ccd5688c94)
2025-05-22 11:27:47 +00:00
FliegendeWurst
3643b0d814 velocity: make Nix register dependencies of native libraries
Also fix and enable strictDeps.

(cherry picked from commit d0027f93ac)
2025-05-22 11:27:01 +00:00
Aleksana
031f393b52 [Backport release-25.05] bottles-unwrapped: 51.17 -> 51.21, update patches, add gamemode to propagatedBuildInputs, fix typo in warn-unsupported.patch (#408717) 2025-05-22 19:07:55 +08:00
Aleksana
56d78ec9a1 [Backport release-25.05] media-downloader: 5.3.2 -> 5.3.3 (#409647) 2025-05-22 19:07:24 +08:00
Leona Maroni
c20fc9e97d gitlab: 18.0.0 -> 18.0.1
https://about.gitlab.com/releases/2025/05/21/patch-release-gitlab-18-0-1-released/
(cherry picked from commit 3b258c1272)
2025-05-22 11:05:57 +00:00
R. Ryantm
1be40df630 kodiPackages.youtube: 7.1.1.6 -> 7.2.0.1
(cherry picked from commit 6957c41b05)
2025-05-22 10:26:43 +00:00
SchweGELBin
0711254279 element-web: 1.11.99 -> 1.11.100
(cherry picked from commit c1ef83481f)
2025-05-22 15:46:21 +05:30
SchweGELBin
ed640b085b element-desktop: 1.11.99 -> 1.11.100
(cherry picked from commit f25948845a)
2025-05-22 15:46:21 +05:30
Fabian Affolter
9ca0be1b31 python313Packages.nomadnet: 0.6.2 -> 0.7.0
Diff: https://github.com/markqvist/NomadNet/compare/refs/tags/0.6.2...refs/tags/0.7.0

Changelog: https://github.com/markqvist/NomadNet/releases/tag/0.7.0
(cherry picked from commit ae2ba4778a)
2025-05-22 15:45:39 +05:30
Fabian Affolter
5e47231a59 python313Packages.rns: 0.9.5 -> 0.9.6
Diff: https://github.com/markqvist/Reticulum/compare/refs/tags/0.9.5...refs/tags/0.9.6

Changelog: https://github.com/markqvist/Reticulum/blob/0.9.6/Changelog.md
(cherry picked from commit e229486656)
2025-05-22 15:45:39 +05:30
Fabian Affolter
c264cabb08 python313Packages.lxmf: 0.6.3 -> 0.7.1
Diff: markqvist/LXMF@refs/tags/0.6.3...refs/tags/0.7.1

Changelog: https://github.com/markqvist/LXMF/releases/tag/0.7.1
(cherry picked from commit 7dc9a25626)
2025-05-22 15:45:39 +05:30
Niklas Korz
6fd1da938a [Backport release-25.05] wesnoth: 1.18.4 -> 1.18.5 (#409690) 2025-05-22 12:06:00 +02:00
Niklas Korz
8247e3ab65 wesnoth: set meta.changelog
(cherry picked from commit 4601a7333d)
2025-05-22 09:49:48 +00:00
R. Ryantm
5787bd61ea wesnoth: 1.18.4 -> 1.18.5
Changelog: https://github.com/wesnoth/wesnoth/blob/1.18.5/changelog.md
(cherry picked from commit 8a0962d40f)
2025-05-22 09:49:48 +00:00
TomaSajt
615f703403 yacreader: fix darwin build
(cherry picked from commit 032bd9d013)
2025-05-22 08:45:36 +00:00
eljamm
fe9e37d756 linuxPackages.v86d: small improvements
- use `tag` in `src`
- specify phase hooks
- remove `with lib;` in `meta`

(cherry picked from commit 16dc84994e)
2025-05-22 08:38:42 +00:00
eljamm
d4c6f7eed4 linuxPackages.v86d: fix build
(cherry picked from commit fcd0c8318d)
2025-05-22 08:38:42 +00:00
Arne Keller
ccb6cb597e [Backport release-25.05] nodejs_24: 24.0.2 -> 24.1.0 (#409544) 2025-05-22 08:48:49 +02:00
Vincent Tourneur
f99963cbfd ocamlPackages.readline: 0.1 -> 0.2
Add myself as a maintainer.

(cherry picked from commit b67fbd8419)
2025-05-22 08:22:39 +02:00
R. Ryantm
b46093bb1b media-downloader: 5.3.2 -> 5.3.3
(cherry picked from commit 8a1a5d1b0f)
2025-05-22 05:35:45 +00:00
Aleksana
7060e0d30e [Backport release-25.05] Don't trigger the evaluation of apple-sdk in Linux stdenv (#409630) 2025-05-22 13:32:15 +08:00
Aleksana
e711955b96 [Backport release-25.05] nixos/gtklock: init (#409633) 2025-05-22 13:20:26 +08:00
John Ericson
a73b775fd6 nixVersions.git: 2.29pre20250409_e76bbe41 -> 2.30pre20250521_76a4d4c2
Changes: e76bbe41...76a4d4c2
(cherry picked from commit 70582d29dc)
2025-05-22 05:15:36 +00:00
FliegendeWurst
c44e43f872 neo4j: fix and enable strictDeps
neo4j-admin is a bash script.

(cherry picked from commit c08e5ee6d9)
2025-05-22 05:11:28 +00:00
Fugi
63b6a715ed nixos/gtklock: init
(cherry picked from commit 65a759f7b4)
2025-05-22 03:49:50 +00:00
Zhaofeng Li
5a465d9e8f Don't trigger the evaluation of apple-sdk in Linux stdenv
During the Apple SDK revamp of #346043, cc-wrapper and bintools-wrapper
were modified to automatically add a fallback SDK if $DEVELOPER_DIR is
not set [^1]. However, because of the order of the && operands,
apple-sdk is always evaluated even when it's not needed.

Flip the && operands so we only trigger the evaluation when targeting
Darwin.

[^1]: 51755b0c00

(cherry picked from commit 5953ae56d8)
2025-05-22 03:32:38 +00:00
Martin Weinelt
f2b166b813 bind: 9.20.7 -> 9.20.8 (#409609) 2025-05-22 04:22:21 +02:00
Aleksana
df0c56903b [Backport release-25.05] luaPackages.luv: fix installCheckPhase on Darwin (#409396) 2025-05-22 10:03:36 +08:00
Aleksana
4c0061c95a [Backport release-25.05] gitrs: add libz on darwin (#409395) 2025-05-22 10:03:15 +08:00
Aleksana
9ce41ef433 [Backport release-25.05] attic-server: don't depend on nix (#409477) 2025-05-22 10:03:02 +08:00
Martin Weinelt
547e5d4816 bind: remove globin from maintainers
Added in 2019 but made no change since.

(cherry picked from commit a3e38960d1)
2025-05-22 03:44:23 +02:00
Martin Weinelt
58071ef740 bind: make kubernetes passthru tests conditional on x86_64-linux
This unbreaks `nix-build -A knot.tests --eval system aarch64-linux`.

(cherry picked from commit 7f5b661595)
2025-05-22 03:44:19 +02:00
Martin Weinelt
85e096c5f8 bind: 9.20.8 -> 9.20.9
https://downloads.isc.org/isc/bind9/cur/9.20/doc/arm/html/notes.html#notes-for-bind-9-20-9

Fixes: CVE-2025-40775
(cherry picked from commit 135f8cb73c)
2025-05-22 03:44:14 +02:00
R. Ryantm
de90cbad22 bind: 9.20.7 -> 9.20.8
(cherry picked from commit cf21fe4271)
2025-05-22 03:43:50 +02:00
Leona Maroni
a289e66c76 [Backport release-25.05] percona-server_8_0: 8.0.41-32 -> 8.0.42-33 (#409555) 2025-05-21 23:25:15 +02:00
R. Ryantm
ff7f861950 percona-server_8_0: 8.0.41-32 -> 8.0.42-33
(cherry picked from commit 2bb53e99dd)
2025-05-21 21:18:32 +00:00
Adam C. Stephens
cd0a35bc10 [Backport release-25.05] erlang_28: 28.0-rc4 -> 28.0 (#409507) 2025-05-21 17:09:32 -04:00
Adam C. Stephens
3fba9b32a2 [Backport release-25.05] beam26Packages.elixir: 1.18.3 -> 1.18.4 (#409508) 2025-05-21 17:09:11 -04:00
Leona Maroni
27c1806235 [Backport release-25.05] python313Packages.supervisor: fix build with python 3.13 (#409542) 2025-05-21 22:49:36 +02:00
Antoine du Hamel
ea776c1eb0 nodejs_24: 24.0.2 -> 24.1.0
(cherry picked from commit c4869aace4)
2025-05-21 20:44:54 +00:00
Leona Maroni
cca8ef85e6 python313Packages.supervisor: fix build with python 3.13
(cherry picked from commit c16a5fefc6)
2025-05-21 20:41:48 +00:00
Yt
eb416ab640 [Backport release-25.05] stalwart-mail: use system jemalloc (#409430) 2025-05-21 15:56:01 -04:00
Felix Schröter
0b69188459 [Backport release-25.05] {tor,mullvad}-browser: 14.5.1 -> 14.5.2 (#409498) 2025-05-21 19:30:17 +00:00
Ramses
76647f3f1b [Backport release-25.05] udevCheckHook: guard platform (#409488) 2025-05-21 21:17:52 +02:00
Morgan Jones
5e8bb332d6 release-notes: document tpm2-pkcs11 abrmd changes for 25.05
(cherry picked from commit f86ebd9ac5)
2025-05-22 00:37:29 +05:30
Morgan Jones
423873feaa nixos/tpm2: default pkcs#11 module based on abrmd config
Since there are now variants of tpm2-pkcs11 with and without ABRMD
support (for the kernel resource manager), ensure we pick the correct
default.

Fixes an accidental backwards incompatibility with the module.

(cherry picked from commit 9c1564e395)
2025-05-22 00:37:29 +05:30
Morgan Jones
93cdd0f649 tpm2-pkcs11: export abrmd passthru
security.tpm2 should depend on this for the default PKCS#11 module.

(cherry picked from commit 75f77e7570)
2025-05-22 00:37:29 +05:30
Peder Bergebakken Sundt
ee4f822ff4 [Backport release-25.05] pygame{,-ce}: migrate to sdl2-compat; SDL2_classic: drop (#409503) 2025-05-21 21:03:00 +02:00
Thiago Kenji Okada
4f31d66c2a [Backport release-25.05] nixos-rebuild-ng: fixes for Python 3.13 (#409472) 2025-05-21 19:37:13 +01:00
R. Ryantm
195127387b beam26Packages.elixir: 1.18.3 -> 1.18.4
(cherry picked from commit ecd16b486d)
2025-05-21 18:35:52 +00:00
Adam C. Stephens
d052c58287 erlang_28: 28.0-rc4 -> 28.0
https://github.com/erlang/otp/releases/tag/OTP-28.0
https://www.erlang.org/blog/highlights-otp-28/
https://www.erlang.org/news/180
(cherry picked from commit 75aae3d848)
2025-05-21 18:35:28 +00:00
Grimmauld
374570b087 SDL2_classic: drop
(cherry picked from commit 67081ee1ba)
2025-05-21 20:30:41 +02:00
Grimmauld
79d5a39832 SDL2_classic_image: drop
(cherry picked from commit 3e7b6edf80)
2025-05-21 20:30:41 +02:00
Grimmauld
e4f1cf2208 SDL2_classic_mixer: drop
(cherry picked from commit 5d67c99207)
2025-05-21 20:30:41 +02:00
Grimmauld
0b4ab86284 SDL2_classic_ttf: drop
(cherry picked from commit 9bf188c26a)
2025-05-21 20:30:41 +02:00
Grimmauld
6d49d90eef SDL2_classic: remove passthru tests
(cherry picked from commit 39693262f5)
2025-05-21 20:30:41 +02:00
Marcin Serwin
6a69bd2539 SDL2_classic: use tests that actually use the package
The default libraries use SDL2 compat after migration, switched to use
the specifically created classic variants. Only pygame and pygame-ce
use SDL2 classic, other listed packages use SDL2 compat so they were
removed.

Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2025-05-21 20:30:24 +02:00
Marcin Serwin
83a88e9f7d SDL2_classic: 2.32.4 -> 2.32.6 2025-05-21 20:30:24 +02:00
Marcin Serwin
b5e655b817 SDL2_classic: fix update script
Without the more specific regex it considered 3.x releases for updates.
2025-05-21 20:30:23 +02:00
Marcin Serwin
09457cb230 pygame: migrate to sdl2-compat
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
(cherry picked from commit 99ecf06993)
2025-05-21 18:22:05 +00:00
Marcin Serwin
8bc000b3c9 pygame-ce: migrate to sdl2-compat
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
(cherry picked from commit 225330b95d)
2025-05-21 18:22:05 +00:00
Marcin Serwin
0fdddacaf2 python3Packages.gymnasium: explicitly use dummy videodriver in checkPhase
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
(cherry picked from commit 03a1fef71d)
2025-05-21 18:22:05 +00:00
Marcin Serwin
419efe965b python3Packages.gym: explicitly use dummy videodriver in checkPhase
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
(cherry picked from commit 070f2a0336)
2025-05-21 18:22:04 +00:00
Sefa Eyeoglu
915fee7789 [Backport release-25.05] qpwgraph: 0.9.0 -> 0.9.2 (#409495) 2025-05-21 20:17:44 +02:00
Felix Schröter
2e8b38f142 mullvad-browser: 14.5.1 -> 14.5.2
https://github.com/mullvad/mullvad-browser/releases/tag/14.5.2
(cherry picked from commit 4d96fe74a5)
2025-05-21 18:13:15 +00:00
Felix Schröter
d296b6a849 tor-browser: 14.5.1 -> 14.5.2
https://blog.torproject.org/new-release-tor-browser-1452/
(cherry picked from commit c2763a2a81)
2025-05-21 18:13:14 +00:00
programmerlexi
f5c8555577 nixos/limine: don't modify boot order on bootloader update
(cherry picked from commit 95030d7eb3)
2025-05-21 23:38:10 +05:30
R. Ryantm
016b2284ad qpwgraph: 0.9.0 -> 0.9.2
(cherry picked from commit 1515a809d6)
2025-05-21 18:07:38 +00:00
Yohann Boniface
aeacd18dbe [Backport release-25.05] authelia: 4.39.1 -> 4.39.3 (#409333) 2025-05-21 19:49:38 +02:00
Michele Guerini Rocco
d05317b80e [Backport release-25.05] pdns-recursor: 5.1.2 -> 5.2.2 (#409486) 2025-05-21 19:41:55 +02:00
Leona Maroni
1bdd06c264 python313Packages.tendo: fix build with python 3.13
(cherry picked from commit dd54389252)
2025-05-21 17:39:23 +00:00
Felix Bargfeldt
9a2b723115 [Backport release-25.05] glance: 0.8.1 -> 0.8.3, fix build on x86_64-darwin (#409487) 2025-05-21 19:37:53 +02:00
Grimmauld
abeca9a5e3 udevCheckHook: guard platform
It is technically possible to guard all udevCheckHook usages behind
`lib.optionals (lib.meta.availableOn stdenv.buildPlatform systemdMinimal)`.

However, doing this is hard to read, clunky, and hard to discover.
*Not* doing such a guard would mean cross-compilation darwin -> linux breaks.
The workaround here is to just accept any udev rules if they can't be properly checked.

(cherry picked from commit 1461a8401c)
2025-05-21 17:37:02 +00:00
Defelo
cbbc83a308 glance: 0.8.1 -> 0.8.3
(cherry picked from commit f519f7581c)
2025-05-21 17:28:47 +00:00
Defelo
1f5bb8ce86 glance: fix build on x86_64-darwin
(cherry picked from commit 05859772ec)
2025-05-21 17:28:47 +00:00
emaryn
5f5b7b360e pdns-recursor: 5.1.2 -> 5.2.2
(cherry picked from commit e5a10947bb)
2025-05-21 17:24:07 +00:00
Yureka
06c38d6619 attic-server: don't depend on nix
(cherry picked from commit 4673e3b79e)
2025-05-21 16:30:16 +00:00
Martin Weinelt
82dc36b90d esphome: pin paho-mqtt at 1.6.1 (#409467) 2025-05-21 18:22:53 +02:00
Aleksana
18ba8345b0 [Backport release-25.05] poutine: mark as broken on darwin (#408963) 2025-05-22 00:18:34 +08:00
Aleksana
0ff579bc51 [Backport release-25.05] vorbis-tools: remove patch applied upstream (#409468) 2025-05-22 00:15:17 +08:00
Aleksana
471292d3f2 [Backport release-25.05] gupnp_1_6: Unbreak on Darwin (#408667) 2025-05-22 00:14:53 +08:00
Aleksana
10ebe60cac [Backport release-25.05] nixos/doc/rl-2505: Fix wording of users.users subuid allocation note (#408025) 2025-05-22 00:14:14 +08:00
Aleksana
6c8cd30a08 [Backport release-25.05] matrix-continuwuity: init at 0.5.0-rc.5; nixos/matrix-continuwuity: init (#407850) 2025-05-22 00:11:54 +08:00
Aleksana
a91687154d [Backport release-25.05] python313Packages.vat-moss: disable (#407941) 2025-05-22 00:11:41 +08:00
Aleksana
7d1cf045d3 [Backport release-25.05] bitwarden-cli: add zsh completion (#408901) 2025-05-22 00:11:02 +08:00
Aleksana
44ab8abcd7 [Backport release-25.05] {jimtcl,openocd,tinygo}: unmark as broken on Darwin (#409397) 2025-05-22 00:10:34 +08:00
Thiago Kenji Okada
df20fc4cbb nixos-rebuild-ng: assert if get_qualified_name is used by internal modules
(cherry picked from commit b1a205154c)
2025-05-21 16:08:56 +00:00
Thiago Kenji Okada
231feee62e nixos-rebuild-ng: do not use get_qualified_name for non-internal modules
To avoid breakage in future this avoid using `get_qualified_name()` for
any non-internal mock. This is fine because the idea to
`get_qualified_name()` is to make it easier to refactor since you can
rename the method name and this is also automatically rename the mocks,
but non-internal mocks are unlikely to change names anyway.

(cherry picked from commit 90f7121314)
2025-05-21 16:08:56 +00:00
Thiago Kenji Okada
c04b6a04ec nixos-rebuild-ng: avoid get_qualified_name usage for pathlib.Path
Seems to be broken since Python 3.13.

(cherry picked from commit 86e3302381)
2025-05-21 16:08:55 +00:00
Martin Madsen
e1b8fcbb5a vorbis-tools: remove patch applied upstream
(cherry picked from commit c529a88fcc)
2025-05-21 16:02:42 +00:00
DontEatOreo
2f2a3eb824 raycast: 1.98.0 -> 1.99.0
Changelog: https://www.raycast.com/changelog/1-99-0
(cherry picked from commit 1208d75e7e)
2025-05-21 09:00:26 -07:00
Martin Weinelt
7c0dc1475d esphome: pin paho-mqtt at 1.6.1
Closes: #409387
(cherry picked from commit 8ab765e2d4)
2025-05-21 17:56:39 +02:00
emaryn
75433c77cb organicmaps: 2025.03.02-7 -> 2025.05.20-5
Diff: https://github.com/organicmaps/organicmaps/compare/refs/tags/2025.03.02-7-android...refs/tags/2025.05.20-5-android
(cherry picked from commit 98a8834d7a)
2025-05-21 14:48:34 +00:00
Yureka
ceda4e89d3 stalwart-mail: use system jemalloc
fixes the package on aarch64 16k-pagesize systems

(cherry picked from commit 29ae2000b1)
2025-05-21 14:07:39 +00:00
Aleksana
b300e82533 [Backport release-25.05] librespeed-cli: refactor and mark as broken on darwin (#408956) 2025-05-21 21:43:24 +08:00
Aleksana
8e799186ae [Backport release-25.05] maigret: refactor and makr as broken on darwin (#408958) 2025-05-21 21:43:17 +08:00
Aleksana
414483378b [Backport release-25.05] mx-takeover: refactor and disable on darwin (#408960) 2025-05-21 21:43:07 +08:00
Aleksana
7cb7069726 [Backport release-25.05] azurehound: disable on darwin (#408961) 2025-05-21 21:42:52 +08:00
Felix Bargfeldt
b721e18bd4 [Backport release-25.05] synapse-admin-etkecc: 0.10.4-etke41 -> 0.11.0-etke42 (#409423) 2025-05-21 15:42:42 +02:00
Aleksana
5fa459ca90 [Backport release-25.05] cups-browsed: Fix cross-compilation RiscV (#409415) 2025-05-21 21:40:11 +08:00
Aleksana
1ea5694823 [Backport release-25.05] qc71_laptop: rectify meta.platforms (#409105) 2025-05-21 21:40:02 +08:00
Aleksana
a36016bd71 [Backport release-25.05] authelia: fix cross build (#409414) 2025-05-21 21:39:30 +08:00
Defelo
ebd1f7a253 synapse-admin-etkecc: 0.10.4-etke41 -> 0.11.0-etke42
(cherry picked from commit 1de00c4a2b)
2025-05-21 13:30:58 +00:00
Marcus Ramberg
df61adab13 [Backport release-25.05] cloudflare-warp: wrap warp-cli to fix browser opening (#408323) 2025-05-21 15:26:39 +02:00
Felix Bargfeldt
13c942f49c [Backport release-25.05] treefmt: 2.3.0 -> 2.3.1 (#409417) 2025-05-21 15:26:26 +02:00
Brian McGee
c701041032 treefmt: 2.3.0 -> 2.3.1
(cherry picked from commit 8d5d9d28be)
2025-05-21 13:16:47 +00:00
Jonas Heinrich
02032edaeb cups-browsed: Fix cross-compilation RiscV
(cherry picked from commit 8ae40661d1)
2025-05-21 13:11:53 +00:00
FliegendeWurst
645dcf4f86 authelia: fix cross build
(cherry picked from commit 490a00c7d9)
2025-05-21 13:08:33 +00:00
Aleksana
46e0204126 [Backport release-25.05] unicorn-angr: mark as broken on darwin (#408962) 2025-05-21 20:24:57 +08:00
Aleksana
8f2bef8334 [Backport release-25.05] deepsecrets: refactor and mark as broken on darwin (#408966) 2025-05-21 20:24:43 +08:00
Aleksana
7004e2ad6e [Backport release-25.05] midori: drop (#409393) 2025-05-21 20:24:03 +08:00
Liam Murphy
62f8fb0c1a tinygo: unmark as broken on Darwin
(cherry picked from commit 68443d7da6)
2025-05-21 12:24:00 +00:00
Liam Murphy
0651c9a51a openocd: unmark as broken on Darwin
(cherry picked from commit 5de8edee04)
2025-05-21 12:24:00 +00:00
Liam Murphy
cfcba5424d jimtcl: unmark as broken on Darwin
(cherry picked from commit e3002620b9)
2025-05-21 12:24:00 +00:00
Aleksana
338e3843d6 [Backport release-25.05] ares-rs: mark as broken on darwin (#408968) 2025-05-21 20:22:24 +08:00
Alex James
0d09a05785 luaPackages.luv: fix installCheckPhase on Darwin
(cherry picked from commit d58e5041de)
2025-05-21 12:22:23 +00:00
Aleksana
59191bb826 [Backport release-25.05] arp-scan-rs: mark as broken on darwin (#408969) 2025-05-21 20:22:08 +08:00
Fiona Behrens
b3af4ac586 gitrs: add libz on darwin
(cherry picked from commit fac152987b)
2025-05-21 12:21:23 +00:00
Thomas Gerbet
e8bf3e2fb5 midori: drop
Package is broken for a while and upstream project
seems to have been re-oriented to a Firefox fork.
See https://github.com/midori-browser/core/issues/468

Closes #374354

(cherry picked from commit f492075c53)
2025-05-21 12:16:05 +00:00
Sizhe Zhao
cd2812de55 limine: 9.3.0 -> 9.3.2 2025-05-21 16:35:15 +05:30
Sizhe Zhao
257020538a limine: add prince213 to maintainers 2025-05-21 16:35:15 +05:30
Yaya
f64ff96c0a nixos/doc/rl-2505: Mention minimal postgresql requirement for gitlab 18
`gitlab` >= 18.0 requires at least `postgresql` >= 16. GitLab users
are advised to follow the mentioned steps in the manual to upgrade their
PostgreSQL installation.

(cherry picked from commit c46cc8a67a)
2025-05-21 12:57:34 +02:00
Yaya
a1d1c7afd9 nixos/gitlab: update minimum PostgreSQL version assertion
GitLab 18.0.0 requires at least PostgreSQL 16.

https://docs.gitlab.com/18.0/install/requirements/#postgresql
(cherry picked from commit ee58f11546)
2025-05-21 12:57:34 +02:00
Yaya
7489e88915 gitlab: move to pkgs/by-name
(cherry picked from commit 4a1bbbba52)
2025-05-21 12:57:34 +02:00
Yaya
b437573e4a gitlab: 17.11.2 -> 18.0.0
https://gitlab.com/gitlab-org/gitlab/-/blob/v18.0.0-ee/CHANGELOG.md
(cherry picked from commit 816aa29cd6)
2025-05-21 12:57:34 +02:00
programmerlexi
d8c429b16a nixos/limine: carefully remove files instead of nuking them
(cherry picked from commit a094b5d8cc)
2025-05-21 15:42:12 +05:30
programmerlexi
ecc74afaf4 nixos/limine: atomically copy files
(cherry picked from commit 2c7659b1ff)
2025-05-21 15:42:12 +05:30
Aleksana
6408656bdf [Backport release-25.05] pan: 0.158 -> 0.162 (#409345) 2025-05-21 17:43:06 +08:00
Aleksana
7c5451f69a [Backport release-25.05] better-control: init at 6.11.6 (#409341) 2025-05-21 17:23:38 +08:00
emaryn
e7df0771b4 pan: 0.158 -> 0.162
(cherry picked from commit 522d23c200)
2025-05-21 09:22:58 +00:00
Rishabh
3087ace5ca better-control: init at 6.11.6 2025-05-21 14:28:08 +05:30
Ramses
ed42876fa5 [Backport release-25.05] brscan5: remove deprecated SYSFS udev rule (#409320) 2025-05-21 10:51:41 +02:00
Ramses
aac963f4c4 [Backport release-25.05] udevCheckHook: init (#409322) 2025-05-21 10:51:20 +02:00
Rishabh
f35374558e maintainers: add Rishabh5321 2025-05-21 14:12:47 +05:30
transcaffeine
b7ec9a04b8 authelia: 4.39.1 -> 4.39.3
Release notes:
  - https://github.com/authelia/authelia/releases/tag/v4.39.2
  - https://github.com/authelia/authelia/releases/tag/v4.39.3
Full changelog: https://github.com/authelia/authelia/compare/v4.39.1...v4.39.3

See #406404

(cherry picked from commit 7bbc83cedf)
2025-05-21 08:37:07 +00:00
Thiago Kenji Okada
4a9a592907 [Backport release-25.05] nixos-rebuild-ng: kill underlying remote process (#409147) 2025-05-21 09:31:01 +01:00
Felix Bargfeldt
21d52bffbc [Backport release-25.05] wivrn: 0.24.1 -> 0.25 (#408506) 2025-05-21 10:16:52 +02:00
Aleksana
a07ce2b16f [Backport release-25.05] anytype: Minor fixes to .desktop file (#409311) 2025-05-21 16:06:51 +08:00
Aleksana
bff1ef50f0 [Backport release-25.05] scorched3d: add gcc 14 fix (#409302) 2025-05-21 16:05:38 +08:00
Grimmauld
e01dd0db36 udevCheckHook: init
Usage:
```nix
nativeBuildInputs = [
  udevCheckHook
];
doInstallCheck = true;
```

This hook executes `udevadm verify --resolve-names=never --no-style`
on all outputs that have `/etc/udev/rules.d`.
This us a logical part of #404323 to check packages that supply udev rules.

Note this hook introduces a dependency on `systemdMinimal`,
meaning this can't check systemdMinimal or its dependencies.

(cherry picked from commit b3bdbf4806)
2025-05-21 07:52:46 +00:00
Matt Christ
7c33418bb0 brscan5: remove deprecated SYSFS udev rule
This patch resolves an issue where systemd-udevd outputs events like:

/nix/store/jm9paymkapbi6pzwbjgmi634vaf2y5va-udev-rules/49-brother-mfp-brscan5-1.0.2-2.rules:17 Invalid key 'SYSFS'.

(cherry picked from commit ff62fe4136)
2025-05-21 07:50:48 +00:00
Marcus Ramberg
8ff79da307 [Backport release-25.05] helmfile-wrapped: 1.0.0 -> 1.1.0 (#409242) 2025-05-21 09:49:34 +02:00
Axel Karjalainen
6782628b42 anytype: Minor fixes to .desktop file
Renamed to `anytype.desktop` to stay consistent with the Wayland
application ID and added support for the custom URL scheme handler.

(cherry picked from commit d02c917a25)
2025-05-21 06:59:37 +00:00
Aleksana
88ba6dcd9a [Backport release-25.05] clojure: fix and enable strictDeps (#409303) 2025-05-21 14:53:27 +08:00
Aleksana
9a58bf41cf [Backport release-25.05] nixos/spotifyd: Fix 404 URLs (#409304) 2025-05-21 14:53:04 +08:00
Evan Scamehorn
e9461aa3e3 nixos/spotifyd: Fix 404 URLs (#408504)
(cherry picked from commit a4e1ad5521)
2025-05-21 06:46:57 +00:00
FliegendeWurst
9edb988168 clojure: fix and enable strictDeps
(cherry picked from commit b46869e2b6)
2025-05-21 06:46:30 +00:00
Aleksana
f1cbdccde4 [Backport release-25.05] python313Packages.turrishw: fix changelog entry (#408957) 2025-05-21 14:42:12 +08:00
Marcin Serwin
3152f9d33a scorched3d: add gcc 14 fix
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
(cherry picked from commit f51f718e7c)
2025-05-21 06:41:49 +00:00
Aleksana
3c76d9eba3 [Backport release-25.05] tsukimi: 0.20.0 -> 0.21.0 (#409298) 2025-05-21 14:40:23 +08:00
Aleksana
a279a19f67 [Backport release-25.05] iplookup-gtk: 0.4.0 -> 0.4.1 (#409297) 2025-05-21 14:40:08 +08:00
K900
05614b07fb [Backport release-25.05] mumble: Apply point release number to internal version string (#409299) 2025-05-21 09:35:37 +03:00
Felix Singer
fa9260a9fe mumble: Apply point release number to internal version string
Without applying the build option BUILD_NUMBER, Mumble only knows about
the major and minor version. So, if the actual version string is
1.5.735, then the Mumble application only displays 1.5.0. Fix that.

Reported-by: Hartmnt
Signed-off-by: Felix Singer <felixsinger@posteo.net>
(cherry picked from commit ccf1614060)
2025-05-21 06:32:55 +00:00
R. Ryantm
d7e521930e tsukimi: 0.20.0 -> 0.21.0
(cherry picked from commit 6ec497cb47)
2025-05-21 06:32:54 +00:00
R. Ryantm
8b2ea03133 iplookup-gtk: 0.4.0 -> 0.4.1
(cherry picked from commit 3978e2e8c4)
2025-05-21 06:31:35 +00:00
Aleksana
67bf56fa8c [Backport release-25.05] share-preview: 0.5.0 -> 1.0.0 (#409048) 2025-05-21 13:19:08 +08:00
R. Ryantm
3eee9a91de helmfile-wrapped: 1.0.0 -> 1.1.0
(cherry picked from commit 4ca5d61436)
2025-05-21 01:01:41 +00:00
Peder Bergebakken Sundt
d5bf86502f [Backport release-25.05] python3Packages.auto-lazy-imports: init at 0.4.2 (#408889) 2025-05-21 01:23:04 +02:00
Philip Taron
33ce17a328 [Backport release-25.05] openvpn3: 24 -> 24.1 (#409217)
Fixes CVE-2025-3908 / GHSA-fp2g-4h6f-28h2
2025-05-20 16:14:52 -07:00
Thomas Gerbet
1640a299be openvpn3: 24 -> 24.1
Fixes CVE-2025-3908.

https://github.com/OpenVPN/openvpn3-linux/releases/tag/v24.1
(cherry picked from commit 7dad80a626)
2025-05-20 22:32:56 +00:00
Fabián Heredia Montiel
9b4ab8a3d3 [Backport release-25.05] Linux kernels 2025-05-19 (#409094) 2025-05-20 16:17:52 -06:00
Peder Bergebakken Sundt
1b9bb5d0b8 [Backport release-25.05] moonlight-qt: build against sdl2-compat (#409204) 2025-05-21 00:10:13 +02:00
Grimmauld
c9dd6a6905 moonlight-qt: build against sdl2-compat
This was preliminarily pinned to SDL2_classic in 2532c66211 (#393386).
The reason for that was DRM support and an incompatible override interface.
sdl3 is build with drm enabled by default, which means building things
that depend on drm through sdl2-compat should just work, no override needed.

(cherry picked from commit 8f2001fb55)
2025-05-20 21:35:44 +00:00
Leona Maroni
3ff32b4adc [Backport release-25.05] gitlab-runner: Make Bash a runtime dependency to fix clear-docker-cache. (#409121) 2025-05-20 22:59:31 +02:00
Sefa Eyeoglu
d4512b12db [Backport release-25.05] proton-ge-bin: GE-Proton10-1 -> GE-Proton10-2, GE-Proton10-2 -> GE-Proton10-3 , add myself as maintainer (#409149) 2025-05-20 21:01:25 +02:00
Gliczy
16e8991cec proton-ge-bin: add myself as maintainer
(cherry picked from commit 0742d7dae9)
2025-05-20 20:37:32 +02:00
Gliczy
dd5a79547d proton-ge-bin: GE-Proton10-2 -> GE-Proton10-3
(cherry picked from commit b54dae9d78)
2025-05-20 20:37:29 +02:00
NotAShelf
ada2854c28 proton-ge-bin: GE-Proton10-1 -> GE-Proton10-2
https://github.com/GloriousEggroll/proton-ge-custom/compare/GE-Proton10-1...GE-Proton10-2
(cherry picked from commit 97d49b6c8a)
2025-05-20 20:37:26 +02:00
Thiago Kenji Okada
ca0f1439c5 nixos-rebuild-ng: use Final in constants.py
(cherry picked from commit b74e861c28)
2025-05-20 18:24:53 +00:00
Thiago Kenji Okada
9634c32938 nixos-rebuild-ng: mark logger as Final
(cherry picked from commit 2e06b6da56)
2025-05-20 18:24:53 +00:00
Thiago Kenji Okada
3bf9894d76 nixos-rebuild-ng: alert user if we can't clean-up remote process
(cherry picked from commit 062eaf7379)
2025-05-20 18:24:53 +00:00
Thiago Kenji Okada
621a8d5ce4 nixos-rebuild-ng: kill underlying remote process
`nixos-rebuild-ng` explicitly don't allocate a pseudo-TTY for SSH
because this causes lots of issues depending on the use case (for
example, multiplexing multiple SSH sessions).

Sadly not using a pseudo-TTY also cause other issues, like the fact that
using Ctrl+C (SIGINT) doesn't kill the underlying process because SSH
doesn't support it.

We can't really start using pseudo-TTY unless we want to overcomplicate
the code for parsing results (pseudo-TTY mangles the stdout/stderr
together), so we need to handle killing the underlying remote process
manually.

This is what this commit does, when we receive a `KeyboardInterrupt`
exception while calling `run_wrapper`, we will check if it is a remote
process and send a `pkill --full` with the arguments (this should ensure
that we don't kill other process, but we can't guarantee it). This
assumes the user has `procps` installed, but I think it is a safe
assumption since this seems to be a core package.

Sadly nothing we can do if the user doesn't have `procps` installed, the
good thing is that the worst that can happen is that we will silent
fail and the process will stay in background until it finishes.

Fix #403269.

(cherry picked from commit 61e61a59eb)
2025-05-20 18:24:53 +00:00
Jan Tojnar
3e574f1237 nixos/orca: Make available to gdm greeter
Without this, the greeter is unable to see `orca` program on `PATH`
and so `${gdm}/share/gdm/greeter/autostart/orca-autostart.desktop`
will fail to start it. As a result, screen reader would not work
on the login screen.

(cherry picked from commit 9af27f1cb5)
2025-05-20 18:09:17 +00:00
Felix Bargfeldt
41d0856d57 [Backport release-25.05] synapse-admin-etkecc: 0.10.4-etke40 -> 0.10.4-etke41 (#409129) 2025-05-20 19:32:55 +02:00
Defelo
31c69144b2 synapse-admin-etkecc: 0.10.4-etke40 -> 0.10.4-etke41
(cherry picked from commit ba675822e9)
2025-05-20 17:19:24 +00:00
commiterate
b31ced563d gitlab-runner: Make Bash a runtime dependency to fix clear-docker-cache.
(cherry picked from commit f26dd73367)
2025-05-20 16:48:17 +00:00
misuzu
8746d3bd23 [Backport release-25.05] snac2: 2.75 -> 2.77 (#408949) 2025-05-20 19:32:11 +03:00
LucasFA
302622d373 qc71_laptop: rectify meta.platforms
This package is not expected to build in other platforms and
has been failing aarch64-linux in Hydra for years:
https://hydra.nixos.org/eval/1790516?filter=qc71&compare=1790473
https://hydra.nixos.org/eval/1795290?filter=qc71&compare=1795271
https://hydra.nixos.org/eval/1807986?filter=qc71&compare=1807946

(cherry picked from commit 645719c0b3)
2025-05-20 15:50:15 +00:00
Alyssa Ross
2451b54fb4 linux/hardened/patches/6.6: v6.6.83-hardened1 -> v6.6.90-hardened1
(cherry picked from commit 43bfaecca6)
2025-05-20 15:04:37 +00:00
Alyssa Ross
fab51ff715 linux/hardened/patches/6.14: init at v6.14.6-hardened1
Co-authored-by: Fabián Heredia Montiel <fabianhjr@protonmail.com>
(cherry picked from commit 28ea08fde9)
2025-05-20 15:04:37 +00:00
Alyssa Ross
358ad9d030 linux/hardened/patches/6.13: v6.13.7-hardened1 -> v6.13.12-hardened1
(cherry picked from commit 0154bc329f)
2025-05-20 15:04:37 +00:00
Alyssa Ross
103574ce2f linux/hardened/patches/6.12: v6.12.19-hardened1 -> v6.12.28-hardened1
(cherry picked from commit da5df08f08)
2025-05-20 15:04:37 +00:00
Alyssa Ross
b7df92b766 linux/hardened/patches/6.1: v6.1.131-hardened1 -> v6.1.138-hardened1
(cherry picked from commit c44b873ebc)
2025-05-20 15:04:37 +00:00
Alyssa Ross
4d6ba54edf linux/hardened/patches/5.4: v5.4.291-hardened1 -> v5.4.293-hardened1
(cherry picked from commit cbdbb6ea17)
2025-05-20 15:04:37 +00:00
Alyssa Ross
83d754b142 linux/hardened/patches/5.15: v5.15.179-hardened1 -> v5.15.182-hardened1
(cherry picked from commit 993fa0f255)
2025-05-20 15:04:37 +00:00
Alyssa Ross
f699660ce1 linux/hardened/patches/5.10: v5.10.235-hardened1 -> v5.10.237-hardened1
(cherry picked from commit af90fa1c5e)
2025-05-20 15:04:37 +00:00
Alyssa Ross
a6be49f189 linux_latest-libre: 19769 -> 19792
(cherry picked from commit 5ff58f53b6)
2025-05-20 15:04:37 +00:00
Alyssa Ross
566a4bfce3 linux-rt_6_6: 6.6.77-rt50 -> 6.6.87-rt54
(cherry picked from commit b6208691c0)
2025-05-20 15:04:37 +00:00
Alyssa Ross
ef2c70f127 linux-rt_6_1: 6.1.128-rt49 -> 6.1.134-rt51
(cherry picked from commit 61fbc69aef)
2025-05-20 15:04:36 +00:00
Alyssa Ross
8b1a3f88bf linux-rt_5_15: 5.15.177-rt83 -> 5.15.179-rt84
(cherry picked from commit 9641b16352)
2025-05-20 15:04:36 +00:00
Alyssa Ross
eb6fbb5bd3 linux-rt_5_10: 5.10.234-rt127 -> 5.10.237-rt131
(cherry picked from commit c3c0061572)
2025-05-20 15:04:36 +00:00
Alyssa Ross
3c8d59d194 linux_testing: 6.15-rc6 -> 6.15-rc7
(cherry picked from commit 26b82c99ab)
2025-05-20 15:04:36 +00:00
Florian Klink
03c3cfde8f irccat: 0.4.8 -> 0.4.12
(cherry picked from commit 4612572032)
2025-05-20 16:38:20 +02:00
Arian van Putten
5815cbccc9 [Backport release-25.05] nixos/systemd: unconditional systemd-journald-audit.socket (#409070) 2025-05-20 16:31:50 +02:00
benaryorg
f551d91f2e nixos/systemd: unconditional systemd-journald-audit.socket
Containers did not have *systemd-journald-audit.socket* in *additionalUpstreamSystemUnits*, which meant that the unit was not provided.
However the *wantedBy* was added without any additional check, therefore creating an empty unit with just the *WantedBy* on *boot.isContainer* machines.
This caused `systemd-analyze verify` to fail:

```text
systemd-journald-audit.socket: Unit has no Listen setting (ListenStream=, ListenDatagram=, ListenFIFO=, ...). Refusing.
systemd-journald-audit.socket: Cannot add dependency job, ignoring: Unit systemd-journald-audit.socket has a bad unit file setting.
systemd-journald-audit.socket: Cannot add dependency job, ignoring: Unit systemd-journald-audit.socket has a bad unit file setting.
```

The upstream unit already contains the following, which should make it safe to include regardless:

```ini
[Unit]
ConditionSecurity=audit
ConditionCapability=CAP_AUDIT_READ
```

For reference, this popped up in the context of #[360426](https://redirect.github.com/NixOS/nixpkgs/issues/360426) as well as #[407696](https://redirect.github.com/NixOS/nixpkgs/pull/407696).

Co-authored-by: Bruce Toll <4109762+tollb@users.noreply.github.com>
Signed-off-by: benaryorg <binary@benary.org>
(cherry picked from commit e434130d0b)
2025-05-20 13:30:26 +00:00
Bruce Toll
0c6b3ff337 nixos/tests/systemd-journal: Fix failing tests
Fix regression from https://github.com/NixOS/nixpkgs/pull/379629.
The systemd-journal test has been failing on hydra since 2025-02-10.
See, for instance: https://hydra.nixos.org/build/290855155.

This commit enables auditing, as expected by the tests. It also
addresses an issue where audit messages were getting dropped due to
rate limits.

(cherry picked from commit 22d51e08cf)
2025-05-20 13:30:26 +00:00
Niklas Korz
33e0650223 [Backport release-25.05] doctoc: remove dangling symlinks (#409056) 2025-05-20 14:37:08 +02:00
Doron Behar
d155ce7c2c [Backport release-25.05] i18n: Add charset related settings (#409054) 2025-05-20 15:32:04 +03:00
Jasper Orschulko
8013887864 doctoc: remove dangling symlinks
Fixes https://github.com/NixOS/nixpkgs/issues/409046

(cherry picked from commit 5c380be4d3)
2025-05-20 12:29:39 +00:00
Doron Behar
ef5bc91e93 nixos/i18n: Remove special handling of LANGUAGE
Partially revert #179194 which first filtered
`extraLocaleSettings.LANGUAGE`. Indeed this environment variable is
given precedence according to:

https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html

So using it will simply make all other `extraLocaleSettings` be ignored
in practice, but the OS shouldn't ignore it when aggregating the locales
required in general, as this setup should still be legitimate, and it
may even be useful if you wish to set it by default and use `env -u
LANGUAGE` for some programs.

(cherry picked from commit 263297b4e5)
2025-05-20 12:17:52 +00:00
Doron Behar
53efec63d6 nixosTests.i18n: init
(cherry picked from commit cbbd59e14e)
2025-05-20 12:17:52 +00:00
Doron Behar
fdba215260 i18n: Add charset related settings
Fixes #404758

(cherry picked from commit e8581078a1)
2025-05-20 12:17:52 +00:00
awwpotato
e2667d755c share-preview: 0.5.0 -> 1.0.0
(cherry picked from commit 55e671aa88)
2025-05-20 11:57:16 +00:00
Martin Weinelt
2e90f0c297 [Backport release-25.05] deliantra-server: mark broken (#408931) 2025-05-20 13:14:16 +02:00
Maximilian Bosch
f48dd0b4fd Merge: [Backport release-25.05] mautrix-signal: 0.8.2 -> 0.8.3 (#407715) 2025-05-20 13:12:27 +02:00
Maximilian Bosch
fb3c66ee91 Merge: [Backport release-25.05] mautrix-whatsapp: 0.12.0 -> 0.12.1 (#407838) 2025-05-20 13:11:29 +02:00
R. Ryantm
4a79c48d14 ladybird: 0-unstable-2025-05-07 -> 0-unstable-2025-05-18
(cherry picked from commit 1b3b541eb1)
2025-05-20 10:33:49 +00:00
R. Ryantm
a9e3ea5d77 vulkan-memory-allocator: 3.2.1 -> 3.3.0
(cherry picked from commit 5efd4067cc)
2025-05-20 10:33:21 +00:00
Thiago Kenji Okada
fa7d4cb6aa [Backport release-25.05] linuxKernel.kernels.linux_zen: 6.14.6-zen1 -> 6.14.7-zen1, linuxKernel.kernels.linux_lqx: 6.14.6-lqx1 -> 6.14.7-lqx1 (#408703) 2025-05-20 10:47:38 +01:00
Arne Keller
cf83689420 [Backport release-25.05] flyctl: 0.3.116 -> 0.3.125 (#408525) 2025-05-20 10:35:07 +02:00
Niklas Korz
2ed07b2a8f [Backport release-25.05] python3Packages.whisperx: disable import check for aarch64-linux (#408986) 2025-05-20 09:56:53 +02:00
Aleksana
6a4a3aeba8 [Backport release-25.05] ptyxis: 47.10 -> 48.3 (#408983) 2025-05-20 15:47:30 +08:00
Benjamin Sparks
f16f2b3026 python3Packages.whisperx: disable import check for aarch64-linux
`onnxruntime` fails to find the logger in sandboxed `aarch64-linux` builds,
and promptly segfaults. As all other builds will check this import, I
doubt this has an effect on package health.

(cherry picked from commit 3de9866a86)
2025-05-20 07:43:57 +00:00
Florian Klink
e041816285 [Backport release-25.05] ipmitool: fix IANA registry warnings (#408982) 2025-05-20 10:37:10 +03:00
aleksana
7c9a9d026f ptyxis: 47.10 -> 48.3
(cherry picked from commit 51650dcf60)
2025-05-20 07:36:55 +00:00
Aleksana
2d67ec57a0 [Backport release-25.05] geteduroam: init at 0.10 (#408915) 2025-05-20 15:36:47 +08:00
Stefan Frijters
7e6e2afdb3 ipmitool: fix IANA registry warnings
(cherry picked from commit 6d85cc6c1c)
2025-05-20 07:36:19 +00:00
Jörg Thalheim
d7fdb1c0ba [Backport release-25.05] k3s: use patched util-linuxMinimal (#408972) 2025-05-20 08:57:16 +02:00
Jörg Thalheim
d0764b7e96 k3s: better util-linux patch url
The commit is in master so we don't need to point to the pull request
2025-05-20 08:56:20 +02:00
Morgan Jones
3708c98785 k3s: #405952: fix mount regression
Until #405952 is fixed, we can use our own util-linux to avoid breaking
k3s in the release. Revert this commit when that happens.

(cherry picked from commit 4cf4acae57)
2025-05-20 06:52:45 +00:00
Morgan Jones
83085bba1d k3s: use util-linuxMinimal
The full version of util-linux has systemd, NLS, and ncurses support.
k3s only uses a couple utilities from it at runtime, so use the minimal
version.

(cherry picked from commit 44d7b6dd7b)
2025-05-20 06:52:45 +00:00
Morgan Jones
c239eca2d9 nixos/k3s: get tests working again
Some of the attributes fetched throw, so tryEval them. Recurse into the
attribute set to pick up all the tests.

(cherry picked from commit 727809f534)
2025-05-20 06:52:45 +00:00
Fabian Affolter
df6ad0fcb0 arp-scan-rs: mark as broken on darwin
(cherry picked from commit 183015d5fa)
2025-05-20 06:41:35 +00:00
Fabian Affolter
98446992b4 ares-rs: mark as broken on darwin
(cherry picked from commit ed13d8a02f)
2025-05-20 06:41:26 +00:00
Fabian Affolter
d4d2192aaf deepsecrets: mark as broekn on darwin
(cherry picked from commit 075f82fe32)
2025-05-20 06:41:02 +00:00
Fabian Affolter
f9147b2b04 deepsecrets: refactor
(cherry picked from commit 51f6d18c05)
2025-05-20 06:41:02 +00:00
Fabian Affolter
391a088a14 donpapi: mark as broken on darwin
(cherry picked from commit d073665f04)
2025-05-20 06:40:53 +00:00
Fabian Affolter
130a9b1fe5 donpapi: refactor
(cherry picked from commit 4bd954bba1)
2025-05-20 06:40:53 +00:00
Fabian Affolter
13c6f2227a poutine: mark as broken on darwin
(cherry picked from commit f6d2a400a0)
2025-05-20 06:39:42 +00:00
Fabian Affolter
68fdc0273a unicorn-angr: mark as broken on darwin
(cherry picked from commit c940e6d868)
2025-05-20 06:39:35 +00:00
Fabian Affolter
973ba91345 azurehound: disable on darwin
(cherry picked from commit b9709f944d)
2025-05-20 06:39:05 +00:00
Fabian Affolter
06d02daff6 mx-takeover: disable on darwin
(cherry picked from commit c0c54903b1)
2025-05-20 06:38:39 +00:00
Fabian Affolter
50a802522d mx-takeover: refactor
(cherry picked from commit 85cd98223f)
2025-05-20 06:38:39 +00:00
Fabian Affolter
4f4b9450c0 maigret: mark as broken on darwin
(cherry picked from commit f218242aa9)
2025-05-20 06:38:31 +00:00
Fabian Affolter
1c1564de0f maigret: refactor
(cherry picked from commit 676d2f074e)
2025-05-20 06:38:30 +00:00
Fabian Affolter
79e272abd4 python313Packages.turrishw: disable tests on darwin
(cherry picked from commit cb6f5a6d1a)
2025-05-20 06:37:04 +00:00
Fabian Affolter
0fb6bb757a python313Packages.turrishw: fix changelog entry
(cherry picked from commit b096c95f51)
2025-05-20 06:37:04 +00:00
Fabian Affolter
9f20548cc6 librespeed-cli: mark as broken on darwin
(cherry picked from commit a1108763e0)
2025-05-20 06:36:53 +00:00
Fabian Affolter
4082f008ba librespeed-cli: refactor
(cherry picked from commit b910f2a72f)
2025-05-20 06:36:53 +00:00
R. Ryantm
9c3542c273 snac2: 2.75 -> 2.77
(cherry picked from commit ae837ad0a6)
2025-05-20 05:46:46 +00:00
Jonas Heinrich
3e1e848be4 [Backport release-25.05] nixos/tests/oncall: Fix LDAP mapping (#408939) 2025-05-20 07:12:20 +02:00
Johannes Kirschbauer
f0b1db3f94 [Backport release-25.05] python312Packages.llama-index-core: 0.12.23 -> 0.12.35 (#408669) 2025-05-20 06:16:16 +02:00
Jonas Heinrich
d86afdceca nixos/tests/oncall: Fix LDAP mapping
(cherry picked from commit 8a9cd899ac)
2025-05-20 04:00:29 +00:00
Rebecca Kelly
e4d44b9ac6 deliantra-server: remove
I'm not really using or maintaining it anymore and it's getting increasingly bit-rotted.

(cherry picked from commit b8a2f7fff9)
2025-05-20 02:39:44 +00:00
Peder Bergebakken Sundt
636724d4a8 geteduroam: init at 0.10
(cherry picked from commit 65888ccba9)
2025-05-20 01:21:00 +00:00
Martin Weinelt
8adbe6eafc [Backport release-25.05] home-assistant-custom-components.xiaomi_miot: 1.0.18 -> 1.0.19 (#408903) 2025-05-20 02:40:17 +02:00
R. Ryantm
8d82c8a0a7 home-assistant-custom-components.xiaomi_miot: 1.0.18 -> 1.0.19
(cherry picked from commit 5154d6cca5)
2025-05-20 00:24:41 +00:00
Yechiel Worenklein
c5d3a384d4 bitwarden-cli: add zsh completion
(cherry picked from commit 0200335e08)
2025-05-20 00:13:53 +00:00
Toma
0951a30f58 [Backport release-25.05] lrcget: use cargo-tauri.hook (#408718) 2025-05-20 01:56:35 +02:00
dotlambda
2d8aa81ec1 [Backport release-25.05] pgadmin4: fix build for sandbox=relaxed builds on darwin (#408840) 2025-05-19 16:36:13 -07:00
Gaétan Lepage
556000d37b [Backport release-25.05] apptainer: 1.4.0 -> 1.4.1 (#408751) 2025-05-20 01:04:15 +02:00
Peder Bergebakken Sundt
070dd17943 python3Packages.auto-lazy-imports: init at 0.4.2
(cherry picked from commit bbe729f9d5)
2025-05-19 22:57:54 +00:00
Peder Bergebakken Sundt
f6ea324012 python3Packages.hatch-autorun: init at 1.1.0
(cherry picked from commit e4f2d59409)
2025-05-19 22:57:53 +00:00
Arne Keller
9480817831 [Backport release-25.05] sticky-notes: 0.2.6 -> 0.2.7 (#408863) 2025-05-19 23:44:05 +02:00
Brian McGillion
50e53b391c sticky-notes: 0.2.6 -> 0.2.7
Fixes and issue where the application segfaults on launch.

https://github.com/vixalien/sticky/releases/tag/v0.2.7

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
(cherry picked from commit 628013b47c)
2025-05-19 20:55:29 +00:00
Florian Brandes
925b2a5177 pgadmin4: fix build for sandbox=relaxed builds on darwin
fixes: clang: error: no such file or directory: '/usr/local/lib/libpng16.a'
on sandboxed darwin boxes

1. mozjpeg hasn't been updated since 2021. The newest commit from 2023
  fixes the build on darwin but no new release was put forward
  (see imagemin/mozjpeg-bin#64 and imagemin/mozjpeg-bin#81)
2. This prompts to manually patching the yarn.lock file
3. Which also needs to split the yarnConfigHook logic and
  duplicate it in parts in the derivation

The benefit is to be able to build pgadmin on aarch64-darwin
without network.

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
(cherry picked from commit 10ff832c4f)
2025-05-19 19:46:30 +00:00
Arne Keller
8cfb3a50f3 [Backport release-25.05] python3Packages.pydal: fix Darwin build (#408648) 2025-05-19 21:15:13 +02:00
Arne Keller
4dd119ab0d [Backport release-25.05] plexamp: 4.12.2 -> 4.12.3 (#408437) 2025-05-19 21:14:40 +02:00
dotlambda
c384b10abb [Backport release-25.05] qt6Packages.qgpgme: mark broken on Darwin (#408608) 2025-05-19 09:20:20 -07:00
Martin Weinelt
bd7e2ac052 [Backport release-25.05] element-call: 0.10.0 -> 0.11.1 (#408750) 2025-05-19 17:30:00 +02:00
Thomas Gerbet
ce260f0906 [Backport release-25.05] nodejs_24: 24.0.1 -> 24.0.2 (#408500) 2025-05-19 17:13:13 +02:00
Gaetan Lepage
cd443e9ecb apptainer: 1.4.0 -> 1.4.1
Diff: https://github.com/apptainer/apptainer/compare/v1.4.0...v1.4.1

Changelog:
https://github.com/apptainer/apptainer/blob/v1.4.1/CHANGELOG.md
(cherry picked from commit 5d336e7a9e)
2025-05-19 15:12:41 +00:00
Martin Weinelt
30c143bded element-call: 0.10.0 -> 0.11.1
https://github.com/element-hq/element-call/releases/tag/v0.11.0
https://github.com/element-hq/element-call/releases/tag/v0.11.1
(cherry picked from commit b4ac082d8a)
2025-05-19 15:08:28 +00:00
Martin Weinelt
ec3c9bf555 [Backport release-25.05] librewolf-unwrapped: 138.0.1-2 -> 138.0.4-1 (#408745) 2025-05-19 17:06:13 +02:00
Thomas Gerbet
f007fa8ec3 [Backport release-25.05] microsoft-edge: remove (#408740) 2025-05-19 17:02:07 +02:00
Andrew Marshall
11b66f7583 librewolf-unwrapped: 138.0.1-2 -> 138.0.4-1
(cherry picked from commit 9909624ba5)
2025-05-19 14:58:48 +00:00
Aleksana
3fc18e2cff [Backport release-25.05] est-sfs: drop (#408408) 2025-05-19 22:57:47 +08:00
Thomas Gerbet
16c3d05d9a [Backport release-25.05] mono: 6.12.0.182 -> 6.14.1 (#408492) 2025-05-19 16:54:21 +02:00
Leona Maroni
84b9a3019a [Backport release-25.05] release-notes: rework highlights section (#408646) 2025-05-19 16:40:51 +02:00
Adam C. Stephens
aff790ba7c microsoft-edge: remove
Due to lack of active maintenance, removing from tree to avoid
unnecessarily exposing users to active security vulnerabilities

(cherry picked from commit 13dce3b2e0)
2025-05-19 14:40:42 +00:00
Jonas Sander
c7eaa2ddb2 nixos/paperless: expose manage package (#405610)
(cherry picked from commit 309871725f)
2025-05-19 14:38:20 +00:00
David McFarland
6447b33849 godot3-mono: fix compile error with mono 6.14
This was introduced with #401409.

(cherry picked from commit c4b497e8d4)
2025-05-19 16:38:16 +02:00
Michele Guerini Rocco
c2db6a61f2 [Backport release-25.05] nixos/pdns-recursor: deprecate settings, add yaml-settings (#408645) 2025-05-19 16:30:26 +02:00
TomaSajt
2db6cadfc0 lrcget: use cargo-tauri.hook
(cherry picked from commit 9887ab90ba)
2025-05-19 13:01:22 +00:00
Gliczy
c9a844d156 bottles: fix typo in warn-unsupported.patch
(cherry picked from commit 4b6d16b82a)
2025-05-19 14:50:03 +02:00
Gliczy
80bdc3ecff bottles-unwrapped: add gamemode to propagatedBuildInputs
(cherry picked from commit 006b8bc52c)
2025-05-19 14:49:58 +02:00
Gliczy
87671549bf bottles: add info to disable unsupported popup
(cherry picked from commit bb8327b825)
2025-05-19 14:49:55 +02:00
Gliczy
c6b57432a7 bottles: update remove-unsupported-warning.patch
(cherry picked from commit 400b8c420c)
2025-05-19 14:49:51 +02:00
XBagon
31ad7d4e39 bottles-unwrapped: 51.17 -> 51.21
Diff: https://github.com/bottlesdevs/bottles/compare/refs/tags/51.17...refs/tags/51.21

bottles-unwrapped: update remove-flatpack-check.patch according to https://github.com/NixOS/nixpkgs/pull/403938#pullrequestreview-2847541020
(cherry picked from commit 2a7622d9f8)
2025-05-19 14:49:45 +02:00
XBagon
9e8ea59a07 bottles-unwrapped: add XBagon to maintainers
(cherry picked from commit d6c9c226f1)
2025-05-19 14:49:39 +02:00
Katherine Jamison
6bfb9d34a4 linuxKernel.kernels.linux_lqx: 6.14.6-lqx1 -> 6.14.7-lqx1
(cherry picked from commit 190577598a)
2025-05-19 12:31:40 +00:00
Katherine Jamison
cec51a9563 linuxKernel.kernels.linux_zen: 6.14.6-zen1 -> 6.14.7-zen1
(cherry picked from commit 0b09a98d61)
2025-05-19 12:31:40 +00:00
Jenny
9fe036b6ab [Backport release-25.05] arduino-cli: 1.2.0 -> 1.2.2 (#408698) 2025-05-19 14:31:04 +02:00
Jenny
f9b1b35fbd [Backport release-25.05] dependency-track: 4.12.7 -> 4.13.2 (#408692) 2025-05-19 14:17:48 +02:00
Stefan Frijters
ec1b8d5ea8 arduino-cli: remove 'with lib'
(cherry picked from commit 60faec14b9)
2025-05-19 12:13:32 +00:00
Stefan Frijters
935ba05bff arduino-cli: 1.2.0 -> 1.2.2
(cherry picked from commit 1e595f40ae)
2025-05-19 12:13:32 +00:00
R. Ryantm
2846ed5221 dependency-track: 4.12.7 -> 4.13.2
(cherry picked from commit 1bdb53fcf8)
2025-05-19 11:58:29 +00:00
taku0
c1b2b2231c [Backport release-25.05] thunderbird-latest-bin-unwrapped: 138.0 -> 138.0.1 (#408378) 2025-05-19 20:40:34 +09:00
Arian van Putten
f0be5c993c [Backport release-25.05] amazon-image: Increase disk size, Remove tags from label - use version only (#408684) 2025-05-19 13:25:59 +02:00
phaer
88294331fd amazon-image: Increase diskSize 3 -> 4GB
Disk usage of the image has risen considerably since last release. We
still need to investigate the cause in detail. Increasing it for now
prevents build failures at least.

(cherry picked from commit 813d0ba1fb)
2025-05-19 11:13:17 +00:00
phaer
9eaf700bf0 amazon-image: Remove tags from label, use version only
By default, `system.nixos.label` includes `system.nixos.tags` which
historically was not set for the amazon image.

Keeping the tag in the label of the generated disk image inside the
derivation (i.e. `image.filePath`) makes it easier to tell that the
file is for amazon (i.e.
`nixos-image-amazon-25.11pre-git-x86_64-linux.vpc`) while the "label"
in `image-info.json` for users of the AWS api stays stable (i.e.
`/25.05pre-git-x86_64-linux`).

`

(cherry picked from commit 8ccd7e5d9a)
2025-05-19 11:13:17 +00:00
Gaétan Lepage
9d22b3e6f6 [Backport release-25.05] python3Packages.wandb: fix x86_64-darwin (#408491) 2025-05-19 12:29:49 +02:00
Fabian Affolter
c233951d69 python312Packages.lama-index: update build-system
(cherry picked from commit e58d3c0f59)
2025-05-19 10:07:33 +00:00
Fabian Affolter
60d3b6ae19 python312Packages.curated-transformers: 0.1.1 -> 2.0.1
Changelog: https://github.com/explosion/curated-transformers/releases/tag/v2.0.1
(cherry picked from commit 86cfd4121c)
2025-05-19 10:07:33 +00:00
Fabian Affolter
a60bad2b58 python312Packages.llama-index-core: 0.12.23 -> 0.12.35
Changelog: https://github.com/run-llama/llama_index/blob/v0.12.35/CHANGELOG.md
(cherry picked from commit 2d72f28a38)
2025-05-19 10:07:32 +00:00
Fabian Affolter
4d5bc388fe python312Packages.llama-index-agent-openai: 0.4.6 -> 0.4.7
(cherry picked from commit 7d11816d36)
2025-05-19 10:07:32 +00:00
Fabian Affolter
c1f73838c8 python312Packages.llama-index-embeddings-huggingface: 0.5.3 -> 0.5.4
(cherry picked from commit 4e03a8ac2b)
2025-05-19 10:07:32 +00:00
Fabian Affolter
8188112c72 python312Packages.llama-index-graph-stores-neptune: 0.3.2 -> 0.3.3
(cherry picked from commit f9aa2ca7ff)
2025-05-19 10:07:32 +00:00
Fabian Affolter
55d63b7385 python312Packages.llama-index-llms-openai: 0.3.33 -> 0.3.38
(cherry picked from commit 7efba6d0f6)
2025-05-19 10:07:32 +00:00
Fabian Affolter
6779c602a0 python312Packages.llama-index-vector-stores-postgres: 0.4.2 -> 0.5.3
(cherry picked from commit f6cadae0e1)
2025-05-19 10:07:32 +00:00
Jan Tojnar
8529bbe7d6 gupnp_1_6: Use finalAttrs
(cherry picked from commit 96aca7526a)
2025-05-19 09:47:34 +00:00
Jan Tojnar
0d62eb72ea gupnp_1_6: Unbreak on Darwin
All the tests except `context-filter` are broken:

    ERROR:../tests/test-context.c:265:test_gupnp_context_error_when_bound: assertion failed (error == NULL): Error binding to address 127.0.0.1:0: Operation not permitted (g-io-error-quark, 14)

    ERROR:../tests/test-context-manager.c:42:test_context_manager_manage: assertion failed (error == NULL): Failed to find IP of interface lo (gssdp-error, 0)

But we already disable them on the old `gupnp`.

(cherry picked from commit 0443142472)
2025-05-19 09:47:34 +00:00
Jan Tojnar
761ad5fcad gssdp_1_6: Use finalAttrs
(cherry picked from commit edd0dc6111)
2025-05-19 09:47:34 +00:00
Jan Tojnar
0d1ada761e gssdp_1_6: Unbreak on Darwin
Only all the tests are broken:

    ERROR:../tests/test-functional.c:491:test_client_creation: assertion failed (error == NULL): Failed to bind socketError binding to address 169.254.192.89:1900: Operation not permitted (g-io-error-quark, 14)

But we already disable them on the old `gssdp`.

(cherry picked from commit 0ee528d2cc)
2025-05-19 09:47:34 +00:00
tomberek
dae513c187 [Backport release-25.05] teleport: modernize (#408582) 2025-05-19 05:30:32 -04:00
Atemu
5a0bb053d1 [Backport release-25.05] nixos/signald, signald, signaldctl, purple-signald: drop (#408483) 2025-05-19 11:10:56 +02:00
Atemu
190639e8e4 [Backport release-25.05] lasso: fix build with gcc14 (#408458) 2025-05-19 11:08:08 +02:00
K900
9b92bb723e [Backport release-25.05] kanidm: fix to actually work on Linux again (#408652) 2025-05-19 11:49:30 +03:00
K900
48479abffa [Backport release-25.05] nixos/tests/installer: fix eval (#408650) 2025-05-19 11:49:20 +03:00
K900
217bc1016e nixos/tests/kanidm: pin to v1.6
These should really be made versioned, but this gets us _something_
quickly, at least.

(cherry picked from commit bf0aa25e4b)
2025-05-19 08:49:00 +00:00
K900
494cad83b5 kanidm: fix running on Linux
(cherry picked from commit 29c9fa86b5)
2025-05-19 08:49:00 +00:00
K900
16f669780b nixos/tests/installer: fix eval
(cherry picked from commit c87615a319)
2025-05-19 08:48:28 +00:00
Thomas Gerbet
f1246574f5 [Backport release-25.05] webkitgtk_6_0: 2.48.1 → 2.48.2 (#408079) 2025-05-19 10:47:55 +02:00
FliegendeWurst
45c5fa41dc python3Packages.pydal: fix Darwin build
(cherry picked from commit c32a49ef8f)
2025-05-19 08:40:28 +00:00
Leona Maroni
c2d6e6ecd1 release-notes: rework highlights section
(cherry picked from commit 8ae9309031)
2025-05-19 08:32:49 +00:00
Leona Maroni
f995684de2 [25.05] xmlroff: mark as broken (#408385) 2025-05-19 10:31:48 +02:00
rnhmjoj
0142405cb7 nixos/release-notes: deprecate services.pdns-recursor.settings
(cherry picked from commit ab8653abd5)
2025-05-19 08:30:52 +00:00
rnhmjoj
77406f7c09 nixos/tests/pdns-recursor: test old-settings
(cherry picked from commit 13accc23b0)
2025-05-19 08:30:52 +00:00
rnhmjoj
fb77c246cb nixos/pdns-recursor: deprecate settings, add yaml-settings
(cherry picked from commit b71d4f5fb3)
2025-05-19 08:30:52 +00:00
Vladimír Čunát
3a5d2e3e26 thunderbird-esr(-bin): 128.10.0 -> 128.10.1, thunderbird-latest: 138.0 -> 138.0.1 (#408638) 2025-05-19 10:01:24 +02:00
Thomas Gerbet
12206c8aad thunderbird-latest-unwrapped: 138.0 -> 138.0.1
Fixes: CVE-2025-3875, CVE-2025-3877, CVE-2025-3909, CVE-2025-3932
https://www.mozilla.org/en-US/security/advisories/mfsa2025-35/

https://www.thunderbird.net/en-US/thunderbird/138.0.1/releasenotes/
(cherry picked from commit 47b01e7cbd)
2025-05-19 07:50:38 +00:00
Thomas Gerbet
ed92aa1b96 thunderbird-esr-unwrapped: 128.10.0 -> 128.10.1
Fixes: CVE-2025-3875, CVE-2025-3877, CVE-2025-3909, CVE-2025-3932
https://www.mozilla.org/en-US/security/advisories/mfsa2025-34/

https://www.thunderbird.net/en-US/thunderbird/128.10.1esr/releasenotes/
(cherry picked from commit 850c00e115)
2025-05-19 07:50:38 +00:00
Thomas Gerbet
059b47dcf7 thunderbird-esr-bin-unwrapped: 128.10.0 -> 128.10.1
Fixes: CVE-2025-3875, CVE-2025-3877, CVE-2025-3909, CVE-2025-3932
https://www.mozilla.org/en-US/security/advisories/mfsa2025-34/

https://www.thunderbird.net/en-US/thunderbird/128.10.1esr/releasenotes/
(cherry picked from commit 595c41eeaf)
2025-05-19 07:50:38 +00:00
Vladimír Čunát
a7fb7dd2ed linuxPackages.system76-acpi: fix build (#408633) 2025-05-19 09:41:56 +02:00
eljamm
805471238b linuxPackages.system76-acpi: small improvements
- use `finalAttrs`
- use `tag` and `hash` in `src`
- add {pre,post} hooks to the `installPhase`
- remove `with lib;` from `meta`

(cherry picked from commit 4adde8f35b)
2025-05-19 07:40:43 +00:00
eljamm
00500fe01f linuxPackages.system76-acpi: fix build
(cherry picked from commit 3b24475288)
2025-05-19 07:40:43 +00:00
Vladimír Čunát
4b026ac8a9 linuxPackages.rtl8821au: unstable-2024-03-16 -> unstable-2025-04-08 (#408630) 2025-05-19 09:35:11 +02:00
Winter
e33fd8ac58 [Backport release-25.05] nixos/tests: don't explicitly set meta.platforms (#408629) 2025-05-19 03:33:10 -04:00
cy
7870338039 linuxPackages.rtl8821au: fix meta.homepage
(cherry picked from commit 22966fa889)
2025-05-19 07:27:08 +00:00
cy
32b668e030 linuxPackages.rtl8821au: unstable-2024-03-16 -> unstable-2025-04-08
changelog: 168ac48174...b90b76d307
(cherry picked from commit 9fecdecb86)
2025-05-19 07:27:08 +00:00
Winter
25e8cba5ec nixos/tests/installer: include x86_64-darwin in platforms for uefi tests
Also makes it so that we only set `meta.platforms` in cases where we need
to restrict it; otherwise, we go with the default.

(cherry picked from commit f3db57edfa)
2025-05-19 07:24:22 +00:00
Winter
587a2bd106 nixos/tests: don't explicitly set meta.platforms
This prevents the tests from running on Darwin for no real reason.

(cherry picked from commit 2680e0beca)
2025-05-19 07:24:22 +00:00
Arne Keller
f362501e32 [Backport release-25.05] notmuch-mailmover: 0.6.0 -> 0.7.0 (#408063) 2025-05-19 09:00:45 +02:00
Leona Maroni
aad0fa6d18 [25.05] ggobi: mark as broken (#408374) 2025-05-19 08:36:05 +02:00
Ramses
e77859ec50 [Backport release-25.05] niri: 25.02 -> 25.05 (#408554) 2025-05-19 08:33:20 +02:00
Robert Schütz
d6cd75ce6e qt6Packages.qgpgme: mark broken on Darwin
(cherry picked from commit 58a92a258b)
2025-05-19 06:03:45 +00:00
Winter
a1ddb5de19 [Backport release-25.05] tpm2-tss: disable tcti-libtpms on darwin (#408593) 2025-05-19 01:57:56 -04:00
Winter
f32186bacd [Backport release-25.05] nixos/tests/common/x11.nix: Fix IceWM theme (#408446) 2025-05-19 01:51:06 -04:00
jopejoe1
3461d4da71 [Backport release-25.05] discord: update various (#408476) 2025-05-19 07:46:13 +02:00
Fiona Behrens
f81d7d1b86 tpm2-tss: disable tcti-libtpms on darwin
Add the `--disable-tcti-libtpms` config flag if build on darwin.
This was already done in a pr that also introduced darwin support for
tpm2-tss[0] but a earlier one was merged[1]

[0]: https://github.com/NixOS/nixpkgs/pull/370516
[1]: https://github.com/NixOS/nixpkgs/pull/365010

(cherry picked from commit e3c24c24fe)
2025-05-19 04:43:55 +00:00
JuliusFreudenberger
8e3671e458 teleport: move to by-name
Make teleport built by the by-name structure in package.nix.
The versioned attributes are defined in their own package.nix
in by-name using overrides.
Also change reference in ci/OWNERS

(cherry picked from commit a01b51d00b)
2025-05-19 02:40:51 +00:00
JuliusFreudenberger
e302c1fb18 teleport: remove with lib
(cherry picked from commit f45bf7d6a6)
2025-05-19 02:40:50 +00:00
JuliusFreudenberger
deac61c2a8 teleport: use finalAttrs pattern
(cherry picked from commit aa50c85761)
2025-05-19 02:40:50 +00:00
Defelo
eff078eb02 niri: 25.02 -> 25.05
(cherry picked from commit a1a253ef84)
2025-05-18 23:38:56 +00:00
Peder Bergebakken Sundt
ca49c4304a [Backport release-25.05] SDL_ttf: fix version string (#408539) 2025-05-19 01:15:00 +02:00
Grimmauld
e61f520014 SDL_ttf: fix version string
While upstream has added release notes in their repo [1], no `2.0.11.1` version has been tagged.
According to the repology guidelines [2] that we mostly follow,
versioning of snapshots should be relative to the last tagged upstream release, which would be `2.0.11`.
The `2.0.11.1-unstable...` version string currently crashes the update script,
which is irritating when checking for all updates as a maintainer.

By the off-chance upstream does end up tagging a `2.0.11.1` later,
our version string would also incorrectly represent what we actually have.
Changelogs in git without a tag are still subject to change,
though unlikely in the case of SDL_ttf.

Whether we do or do not have the `.1` probably does not matter too much.

[1] e31d11a692
[2] https://repology.org/docs/requirements

(cherry picked from commit 1d5023fc3e)
2025-05-18 22:49:42 +00:00
Jan Tojnar
40dedf83fa Merge [Backport release-25.05] gnomeExtensions.applications-menu: fix GMenu import (#408196) 2025-05-19 00:24:49 +02:00
Peder Bergebakken Sundt
4eed07903c [Backport release-25.05] dolphin-emu: set correct git revision (#408501) 2025-05-19 00:18:19 +02:00
Martin Weinelt
ac9cee7c04 [Backport release-25.05] firefox-esr: 128.10.0esr -> 128.10.1esr (#408516) 2025-05-19 00:14:14 +02:00
R. Ryantm
d989771974 flyctl: 0.3.116 -> 0.3.125
(cherry picked from commit 7ff2295b69)
2025-05-18 22:11:28 +00:00
Amadej Kastelic
aa3732438e firefox-esr: 128.10.0esr -> 128.10.1esr
Release-notes: https://www.mozilla.org/en-US/firefox/128.10.1/releasenotes/
Security-advisory: https://www.mozilla.org/en-US/security/advisories/mfsa2025-37/
Fixes: CVE-2025-4920, CVE-2025-4921

(cherry picked from commit 626cea8f4e)
2025-05-18 21:47:29 +00:00
Sapphire
9e3d6f80c3 wivrn: 0.24.1 -> 0.25
(cherry picked from commit 9a8c1bed1c)
2025-05-18 21:27:03 +00:00
Peder Bergebakken Sundt
9a444fd46a dolphin-emu: set correct git revision
(cherry picked from commit b335f1d5dd)
2025-05-18 21:14:25 +00:00
Antoine du Hamel
ae316829e9 nodejs_24: 24.0.1 -> 24.0.2
(cherry picked from commit 07f722d0a7)
2025-05-18 21:13:57 +00:00
Peder Bergebakken Sundt
31447d67ad [Backport release-25.05] SDL_image: 1.2.12-unstable-2025-02-13 -> 1.2.12-unstable-2025-04-27 (#408393) 2025-05-18 23:04:00 +02:00
Grimmauld
41288f7e08 mono: 6.14.0 -> 6.14.1
(cherry picked from commit b0319a96fb)
2025-05-18 20:35:57 +00:00
Grimmauld
1586de70b4 mono: 6.12.0.182 -> 6.14.0
The original Mono project [1] was archived.
It is now maintained by WineHQ on their gitlab [2].

This changes the homepage for the new mono package,
and moves the source fetchers to the version profiles.

[1] https://www.mono-project.com/
[2] https://gitlab.winehq.org/mono/mono

(cherry picked from commit 85e1bcb3a6)
2025-05-18 20:35:57 +00:00
Niklas Korz
b24acc6958 python3Packages.wandb: fix x86_64-darwin
(cherry picked from commit 7924c28ad9)
2025-05-18 20:29:49 +00:00
Niklas Korz
f357ba3e53 release-notes: removal of signald module and all signald-related packages
(cherry picked from commit 3186b66d0a)
2025-05-18 19:45:41 +00:00
Niklas Korz
5ef1b95049 signald: drop
(cherry picked from commit 2b19df574c)
2025-05-18 19:45:41 +00:00
Niklas Korz
ee21fc2e69 purple-signald: drop
(cherry picked from commit 0f842e0540)
2025-05-18 19:45:41 +00:00
Niklas Korz
8e140286aa signaldctl: drop
(cherry picked from commit 1cfcd51cf1)
2025-05-18 19:45:40 +00:00
Niklas Korz
ed59c106c7 nixos/signald: drop
(cherry picked from commit 9958792cae)
2025-05-18 19:45:40 +00:00
Niklas Korz
ac7187ebef [Backport release-25.05] signald: set jdkOnBuild (#408479) 2025-05-18 21:44:33 +02:00
Martin Weinelt
f51e2279a4 [Backport release-25.05] digikam: mark as big-paralllel (#408478) 2025-05-18 21:38:03 +02:00
tomberek
8fa6d96c96 [Backport release-25.05] teleport_17: 17.4.5 -> 17.4.8; teleport_16: 16.5.3 -> 16.5.8 (#408392) 2025-05-18 15:37:54 -04:00
Atemu
190ce8ef0f signald: set jdkOnBuild
This is required if the building jdk is a different version than what is default
which is now 21.

(cherry picked from commit 4541097f67)
2025-05-18 19:37:00 +00:00
Martin Weinelt
076c54c593 digikam: mark as big-paralllel
This will allocate more resources to the build making sure it completes
in a more reasonable time and not block a build slot for over 3 hours.

(cherry picked from commit 8ef6064848)
2025-05-18 19:35:13 +00:00
jopejoe1
b18979b822 pkgsCross.aarch64-darwin.discord-development: 0.0.87 -> 0.0.88
(cherry picked from commit ecfa3b3aa0)
2025-05-18 19:28:34 +00:00
jopejoe1
25e0adf975 pkgsCross.aarch64-darwin.discord-canary: 0.0.774 -> 0.0.784
(cherry picked from commit ad26466ee6)
2025-05-18 19:28:34 +00:00
jopejoe1
0fbfe433ec pkgsCross.aarch64-darwin.discord-ptb: 0.0.171 -> 0.0.173
(cherry picked from commit c4ce782320)
2025-05-18 19:28:34 +00:00
jopejoe1
2d069cf306 pkgsCross.aarch64-darwin.discord: 0.0.344 -> 0.0.345
(cherry picked from commit 758fe4bb87)
2025-05-18 19:28:33 +00:00
jopejoe1
932e8c1da5 discord-development: 0.0.74 -> 0.0.75
(cherry picked from commit fa58683542)
2025-05-18 19:28:33 +00:00
jopejoe1
5bfbfef6df discord-canary: 0.0.668 -> 0.0.678
(cherry picked from commit f5cd8207e8)
2025-05-18 19:28:33 +00:00
jopejoe1
05c93e17fb discord-ptb: 0.0.141 -> 0.0.143
(cherry picked from commit 6adbe026ac)
2025-05-18 19:28:33 +00:00
Atemu
91e450f385 [Backport release-25.05] lngen: fix build with GHC >=9.8.1 (#408404) 2025-05-18 20:44:02 +02:00
Atemu
ffd83d9253 [Backport release-25.05] edge-runtime: drop (#408407) 2025-05-18 20:43:31 +02:00
Leona Maroni
6648830ce0 lasso: fix build with gcc14
(cherry picked from commit 37385d9192)
2025-05-18 18:24:01 +00:00
Arne Keller
50c4e1db25 [Backport release-25.05] nodejs_20: 20.19.1 -> 20.19.2 (#408439) 2025-05-18 20:22:11 +02:00
R. Ryantm
cd28f44de0 tomcat: 11.0.6 -> 11.0.7
(cherry picked from commit c1053a2ea8)
2025-05-18 20:06:10 +02:00
R. Ryantm
e24d645c07 tomcat9: 9.0.104 -> 9.0.105
(cherry picked from commit f88761e23c)
2025-05-18 20:05:55 +02:00
R. Ryantm
24a5d1295d jetty: 12.0.20 -> 12.0.21
(cherry picked from commit 63611760d3)
2025-05-18 20:05:33 +02:00
R. Ryantm
a20f81f1b6 tomcat10: 10.1.40 -> 10.1.41
(cherry picked from commit 147f9b9ad9)
2025-05-18 20:05:06 +02:00
OPNA2608
9ac24b33ed nixos/tests/common/x11.nix: Fix IceWM theme
(cherry picked from commit f66c4ad65f)
2025-05-18 17:09:17 +00:00
Peder Bergebakken Sundt
58c34e570d [Backport release-25.05] SDL_net: 1.2.8-unstable-2024-04-23 -> 1.2.8-unstable-2025-04-21 (#408399) 2025-05-18 18:54:21 +02:00
Antoine du Hamel
b88415246f nodejs_20: 20.19.1 -> 20.19.2
(cherry picked from commit 2e14cbb3d8)
2025-05-18 16:28:06 +00:00
R. Ryantm
52121e5d86 plexamp: 4.12.2 -> 4.12.3
(cherry picked from commit 4d628d83ab)
2025-05-18 16:24:52 +00:00
Aleksana
8e1439fe0f [Backport release-25.05] upscaler: 1.5.1 -> 1.5.2 (#408434) 2025-05-19 00:09:39 +08:00
Grimmauld
88c14c523e upscaler: 1.5.1 -> 1.5.2
(cherry picked from commit b9b954e2e6)
2025-05-18 15:53:48 +00:00
Felix Bargfeldt
a842273877 [Backport release-25.05] fflogs: 8.17.1 -> 8.17.13 (#407862) 2025-05-18 17:51:44 +02:00
Aleksana
b6af4c9857 [Backport release-25.05] fluffychat: 1.26.0 -> 1.26.1 (#408418) 2025-05-18 23:00:24 +08:00
Atemu
982648f224 [Backport release-25.05] riko4: drop (#408410) 2025-05-18 16:51:16 +02:00
Atemu
a8895367c8 [Backport release-25.05] git-annex-utils: drop (#408402) 2025-05-18 16:43:25 +02:00
Atemu
00d78cf384 [Backport release-25.05] x16: adopt, fix build on GCC 14, modernize (#408401) 2025-05-18 16:42:45 +02:00
aleksana
341df29b3a fluffychat: add aleksana to maintainers
(cherry picked from commit 97e834870b)
2025-05-18 14:39:23 +00:00
aleksana
49a1857949 fluffychat: 1.26.0 -> 1.26.1
(cherry picked from commit 419fb0fdf2)
2025-05-18 14:39:23 +00:00
Grimmauld
8928fcbdf5 riko4: drop
The package in nixpkgs was basically unmaintained since 2018.
It's maintainer in nixpkgs is inactive since 2022.
It dependended on the already dropped SDL_gpu package, which it pinned internally.
This now also started failing to build.
While upstream has a newer version of `riko4` available,
it does not remove the SDL_gpu dependency or fix its issues.

(cherry picked from commit 3035235407)
2025-05-18 14:21:38 +00:00
Leona Maroni
733a794906 est-sfs: drop
Unmaintained in Nixpkgs

(cherry picked from commit 337d643e89)
2025-05-18 14:15:37 +00:00
Grimmauld
d6deff043e edge-runtime: drop
The version in nixpkgs was outdated since Nov 2024, with countless releases since [1].
This is unacceptable for what is intended to be a network-facing service.
It also started failing to build.

[1] https://github.com/supabase/edge-runtime/releases

(cherry picked from commit 4e5251e1ef)
2025-05-18 14:14:39 +00:00
Leah Amelia Chen
d76d76a3df lngen: fix build with GHC >=9.8.1
ZHF #403336

(cherry picked from commit 4f64e094ff)
2025-05-18 14:13:23 +00:00
Leona Maroni
0af09df267 [Backport release-25.05] edbrowse: drop (#408368) 2025-05-18 16:07:31 +02:00
Leona Maroni
b12e49a7cf git-annex-utils: drop
Upstream repositority deleted, unmaintained

(cherry picked from commit b6036a7067)
2025-05-18 14:06:43 +00:00
Atemu
d1bfeb9c2b clean: mark as broken (#408338) 2025-05-18 16:02:39 +02:00
Leah Amelia Chen
1f47ea6d8c x16: adopt & modernize
(cherry picked from commit 0405671c7b)
2025-05-18 14:01:24 +00:00
Leah Amelia Chen
fa53c7b41f x16: fix build on GCC 14
(cherry picked from commit b1a81b82aa)
2025-05-18 14:01:24 +00:00
R. Ryantm
06f07f8f77 SDL_net: 1.2.8-unstable-2024-04-23 -> 1.2.8-unstable-2025-04-21
(cherry picked from commit 1955443bda)
2025-05-18 13:55:54 +00:00
R. Ryantm
b6b5ecb97a SDL_image: 1.2.12-unstable-2025-02-13 -> 1.2.12-unstable-2025-04-27
(cherry picked from commit 484eeec743)
2025-05-18 13:47:32 +00:00
JuliusFreudenberger
43880c03b7 teleport_16: 16.5.3 -> 16.5.9
Changelogs: https://github.com/gravitational/teleport/releases/tag/v16.5.4 https://github.com/gravitational/teleport/releases/tag/v16.5.5 https://github.com/gravitational/teleport/releases/tag/v16.5.6 https://github.com/gravitational/teleport/releases/tag/v16.5.7 https://github.com/gravitational/teleport/releases/tag/v16.5.8 https://github.com/gravitational/teleport/releases/tag/v16.5.9
Diff: https://github.com/gravitational/teleport/compare/v16.5.3...v16.5.9
(cherry picked from commit 1cbe1100b0)
2025-05-18 13:40:32 +00:00
JuliusFreudenberger
3b595a9c77 teleport_17: 17.4.5 -> 17.4.8
Changelogs: https://github.com/gravitational/teleport/releases/tag/v17.4.6 https://github.com/gravitational/teleport/releases/tag/v17.4.7 https://github.com/gravitational/teleport/releases/tag/v17.4.8
Diff: https://github.com/gravitational/teleport/compare/v17.4.5...v17.4.8
(cherry picked from commit 9a0eed76cd)
2025-05-18 13:40:32 +00:00
Leona Maroni
149c1fc570 xmlroff: mark as broken 2025-05-18 15:21:52 +02:00
R. Ryantm
8b7f17f900 thunderbird-latest-bin-unwrapped: 138.0 -> 138.0.1
(cherry picked from commit ef1fae5601)
2025-05-18 12:59:25 +00:00
Emily
ff9aa69607 [Backport release-25.05] darwin: remove nix search warning spam (#408371) 2025-05-18 13:59:08 +01:00
Leona Maroni
5176aa4a9f ggobi: mark as broken 2025-05-18 14:44:11 +02:00
ash
f5d39add70 darwin: lib.warn -> lib.warnOnInstantiate
(cherry picked from commit a249cd2ea2)
2025-05-18 12:40:55 +00:00
ash
8cf643e05f darwin: reduce nix search warning spam
(cherry picked from commit 62b67805d4)
2025-05-18 12:40:55 +00:00
Aleksana
0aa45a9270 [25.05] libgadu: mark as broken (#407960) 2025-05-18 20:37:53 +08:00
Leona Maroni
5e761e6c10 edbrowse: drop
Unmaintained in Nixpkgs for 3 years

(cherry picked from commit 992bd81dd7)
2025-05-18 12:34:39 +00:00
Martin Weinelt
42ef2213ef [Backport release-25.05] firefox{,-bin}-unwrapped: 138.0.3 -> 138.0.4 (#408337) 2025-05-18 14:23:03 +02:00
Emily
e5f3555a82 [Backport release-25.05] home-assistant-custom-components.dwd: 2024.11.0 -> 2025.5.0 (#408356) 2025-05-18 14:07:59 +02:00
Martin Weinelt
8532614b36 [Backport release-25.05] python3Packages.schema-salad: drop black build-time dependency (#408348) 2025-05-18 13:58:10 +02:00
Martin Weinelt
237d61b1a2 home-assistant-custom-components.dwd: 2024.11.0 -> 2025.5.0
https://github.com/hg1337/homeassistant-dwd/compare/2024.11.0...2025.5.0
(cherry picked from commit 6a4dee9a11)
2025-05-18 11:57:43 +00:00
Martin Weinelt
10a0180429 python3Packages.schema-salad: drop black build-time dependency
(cherry picked from commit 8c51931373)
2025-05-18 11:40:40 +00:00
Aleksana
dd4dcc6ef1 [Backport release-25.05] darling-dmg: fix compilation (#408343) 2025-05-18 19:39:50 +08:00
Aleksana
b538637c39 [Backport release-25.05] tilda: fix build (#408083) 2025-05-18 19:37:41 +08:00
Aleksana
710fc44fe9 [Backport release-25.05] fvwm2: fix build with GCC 14 (#408239) 2025-05-18 19:37:11 +08:00
Luflosi
5397beb766 darling-dmg: fix compilation
See https://github.com/darlinghq/darling-dmg/pull/105 and https://github.com/darlinghq/darling-dmg/issues/104.

(cherry picked from commit f1652b7670)
2025-05-18 11:34:04 +00:00
Adam C. Stephens
ffc785f086 [Backport release-25.05] invidious: 2.20250504.0 -> 2.20250517.0 (#408222) 2025-05-18 07:30:38 -04:00
Leona Maroni
76aa65043b clean: mark as broken 2025-05-18 13:25:11 +02:00
Sizhe Zhao
3429ab3d11 firefox-bin-unwrapped: 138.0.3 -> 138.0.4
Release-notes: https://www.mozilla.org/en-US/firefox/138.0.4/releasenotes/
Security-advisory: https://www.mozilla.org/en-US/security/advisories/mfsa2025-36/
Fixes: CVE-2025-4920, CVE-2025-4921
(cherry picked from commit 6c01b61e60)
2025-05-18 11:23:53 +00:00
Sizhe Zhao
e6c8bfb62b firefox-unwrapped: 138.0.3 -> 138.0.4
Release-notes: https://www.mozilla.org/en-US/firefox/138.0.4/releasenotes/
Security-advisory: https://www.mozilla.org/en-US/security/advisories/mfsa2025-36/
Fixes: CVE-2025-4920, CVE-2025-4921
(cherry picked from commit 8d9cdf2f6c)
2025-05-18 11:23:53 +00:00
Atemu
1e1873f016 [Backport release-25.05] nixos/tests/vaultwarden: fix UI testing (#408121) 2025-05-18 13:06:59 +02:00
Atemu
6840462ad0 [Backport release-25.05] odyssey: fix build (#408324) 2025-05-18 12:51:44 +02:00
Atemu
aba0991370 [Backport release-25.05] monado: port vulkan headers bump compat fix (#408319) 2025-05-18 12:46:50 +02:00
Bu Kun
59764ed369 gnomeExtensions.arcmenu: 63 -> 65
(cherry picked from commit 880af66d0d)
2025-05-18 10:33:23 +00:00
alyaeanyx
a0dbe9449e odyssey: fix build
(cherry picked from commit a4bb668ee9)
2025-05-18 10:24:02 +00:00
Marcus Ramberg
a55b8b1cf7 cloudflare-warp: wrap warp-cli to fix browser opening
(cherry picked from commit 331d67aed2)
2025-05-18 10:23:36 +00:00
Atemu
59100184da [Backport release-25.05] salmon: add missing dependency (#408082) 2025-05-18 12:13:33 +02:00
Atemu
362ee73979 monado: port vulkan headers bump compat fix
(cherry picked from commit a026c010cd)
2025-05-18 10:13:19 +00:00
Atemu
73eeda0809 [Backport release-25.05] text-engine: 0.1.1 -> 0.1.1-unstable-2024-09-16 (#408034) 2025-05-18 12:13:14 +02:00
Atemu
5f2ee6fb08 [Backport release-25.05] nixosTests.curl-impersonate: skip failing test (#408091) 2025-05-18 12:09:59 +02:00
Aleksana
a53115afeb [Backport release-25.05] luminance: fix GSettings schemas (#408310) 2025-05-18 18:07:43 +08:00
Arne Keller
2add6d9950 [Backport release-25.05] trilium-server: fix build error (#408090) 2025-05-18 12:02:37 +02:00
Rishabh5321
17817436eb luminance: fix GSettings schemas
(cherry picked from commit 65fce93bbb)
2025-05-18 09:47:06 +00:00
Aleksana
6d152297e1 [Backport release-25.05] wivrn: patch monado to work with vulkan-headers >= 1.4.310 (#408306) 2025-05-18 17:44:24 +08:00
Aleksana
4eeec4c914 [Backport release-25.05] manticore: drop (#408282) 2025-05-18 17:36:42 +08:00
Aleksana
092c99a903 [Backport release-25.05] mapmap: drop (#408084) 2025-05-18 17:35:44 +08:00
Amadej Kastelic
94384e2b7e wivrn: remove usages of with
(cherry picked from commit c7366e9184)
2025-05-18 09:35:42 +00:00
Amadej Kastelic
4acf56d485 wivrn: patch monado to work with vulkan-headers >= 1.4.310
(cherry picked from commit 1aa6bf6f60)
2025-05-18 09:35:42 +00:00
Sizhe Zhao
c678f46ac1 google-chrome: fix com.google.Chrome.desktop
(cherry picked from commit 6759d61d8d)
2025-05-18 14:42:43 +05:30
Aleksana
4a8e70531c [Backport release-25.05] nightfox-gtk-theme: 0-unstable-2024-11-06 -> 0-unstable-2025-04-24 (#408181) 2025-05-18 16:41:33 +08:00
Aleksana
5ecb4d2bc4 [Backport release-25.05] tokyonight-gtk-theme: 0-unstable-2024-11-06 -> 0-unstable-2025-04-24 (#408180) 2025-05-18 16:35:59 +08:00
Aleksana
8557110d4f [Backport release-25.05] gruvbox-gtk-theme: 0-unstable-2024-11-06 -> 0-unstable-2025-04-24 (#408182) 2025-05-18 16:35:51 +08:00
Léana 江
ba69044785 manticore: drop
(cherry picked from commit abcbae3cfd)
2025-05-18 08:03:22 +00:00
Aleksana
70d033876c [Backport release-25.05] lutris: migrate to the new meson build system (#408279) 2025-05-18 15:57:57 +08:00
K900
b3c1949c16 [Backport release-25.05] Kernel updates for 2025-05-18 (#408281) 2025-05-18 10:43:43 +03:00
K900
07ed702f97 linux_5_15: 5.15.182 -> 5.15.183
(cherry picked from commit 35c0688fae)
2025-05-18 07:43:20 +00:00
K900
9127b92f91 linux_6_1: 6.1.138 -> 6.1.139
(cherry picked from commit 15b8679d3a)
2025-05-18 07:43:20 +00:00
K900
b2341e2739 linux_6_6: 6.6.90 -> 6.6.91
(cherry picked from commit 43a5b3934e)
2025-05-18 07:43:19 +00:00
K900
2f10b980ff linux_6_12: 6.12.28 -> 6.12.29
(cherry picked from commit 2c3f3560ce)
2025-05-18 07:43:19 +00:00
K900
c0a50f51b2 linux_6_14: 6.14.6 -> 6.14.7
(cherry picked from commit c03b00a6b1)
2025-05-18 07:43:19 +00:00
Skythrew
825b7da918 lutris: migrate to the new meson build system
This commit makes the Lutris package use the meson build system, which is more appropriate to build the desktop app.
Indeed, the meson build of Lutris is the only one supporting translations for the desktop app.
However, the presence of the Makefile at the source root is preventing the Nix build system from building the package with meson without overriding the different build phases.

(cherry picked from commit 44cdbd3481)
2025-05-18 07:42:48 +00:00
Jon Seager
a7cecb9ee5 [Backport release-25.05] snapcraft: make SSL certs available during tests (#408129) 2025-05-18 08:17:29 +02:00
Aleksana
32db0a56c7 [Backport release-25.05] debsigs: Add dependency 'ar' and fix path (#408243) 2025-05-18 12:40:23 +08:00
Aleksana
3a90f3e386 [Backport release-25.05] matrix-gtk-theme: 0-unstable-2024-11-06 -> 0-unstable-2025-05-06 (#408179) 2025-05-18 12:40:03 +08:00
Aleksana
bc6942be13 [Backport release-25.05] python3Packages.aiocache: disable time-sensitive tests (#408123) 2025-05-18 12:39:45 +08:00
Aleksana
346c065d05 [Backport release-25.05] shh: rev2 enhancements to path handling, manpages, shell-completion (#407853) 2025-05-18 12:39:14 +08:00
Aleksana
9b3da47873 [Backport release-25.05] python312Packages.roadlib: add missing inputs (#408170) 2025-05-18 12:38:46 +08:00
Peter Membrey
996d332cb7 Add dependency 'ar' and fix path
(cherry picked from commit 0f5c286263)
2025-05-18 04:33:24 +00:00
Aleksana
9065bac3a0 [Backport release-25.05] foliate: 3.2.1 -> 3.3.0 (#408240) 2025-05-18 12:28:30 +08:00
Aleksana
4b9db8d947 [Backport release-25.05] varia: 2025.1.24-1 -> 2025.4.22 (#407855) 2025-05-18 12:03:16 +08:00
R. Ryantm
7620586ee9 foliate: 3.2.1 -> 3.3.0
(cherry picked from commit b5ce85d8c6)
2025-05-18 04:02:57 +00:00
Leah Amelia Chen
75aaf7c003 fvwm2: fix build with GCC 14
ZHF #403336

(cherry picked from commit f3d97d0823)
2025-05-18 04:00:54 +00:00
Aleksana
43a4459b08 [Backport release-25.05] collision: 3.9.0 -> 3.10.0 (#408237) 2025-05-18 11:55:46 +08:00
Aleksana
00193d2b64 [Backport release-25.05] create-react-app: drop (#408235) 2025-05-18 11:55:35 +08:00
sund3RRR
421d714108 collision: 3.9.0 -> 3.10.0
(cherry picked from commit 03b7b645e8)
2025-05-18 03:42:01 +00:00
networkException
6e9a0f103a create-react-app: drop
This tool was only meant to create new projects and has
since been deprecated upstream.

(cherry picked from commit e3b9e54d07)
2025-05-18 03:40:59 +00:00
Bobby Rong
edd6cb2754 [Backport release-25.05] epiphany: Various Pantheon fixes (#408233) 2025-05-18 11:40:46 +08:00
Bobby Rong
53c646a0ab pantheon.elementary-gtk-theme: 8.2.0 -> 8.2.1
https://github.com/elementary/stylesheet/compare/8.2.0...8.2.1

Contains style fix for epiphany 48.

(cherry picked from commit 6906aed53d)
2025-05-18 03:29:04 +00:00
Bobby Rong
d7d0a2ec14 epiphany: Fix startup crash on Pantheon
* gdk_display_manager_get() was called before gtk_init()
* gtk_menu_button_set_icon_name: assertion 'GTK_IS_MENU_BUTTON (menu_button)' failed

(cherry picked from commit 353c718f02)
2025-05-18 03:29:04 +00:00
Bobby Rong
3279ff8d0f [Backport release-25.05] xfce.thunar: 4.20.2 -> 4.20.3 (#408231) 2025-05-18 11:26:08 +08:00
Bobby Rong
32e0688d7d xfce.thunar: 4.20.2 -> 4.20.3
https://gitlab.xfce.org/xfce/thunar/-/compare/thunar-4.20.2...thunar-4.20.3
(cherry picked from commit 9137c96a53)
2025-05-18 03:18:51 +00:00
Gaetan Lepage
33604d16e3 invidious: 2.20250504.0 -> 2.20250517.0
Diff:
https://github.com/iv-org/invidious/compare/v2.20250504.0...v2.20250517.0

Changelog:
https://github.com/iv-org/invidious/blob/v2.20250517.0/CHANGELOG.md
(cherry picked from commit 55245e62aa)
2025-05-18 02:16:27 +00:00
André Lima
0da5e3e7ed gnomeExtensions.applications-menu: fix GMenu import
(cherry picked from commit c77b9c5842)
2025-05-17 23:40:46 +00:00
R. Ryantm
04bb0fac08 gruvbox-gtk-theme: 0-unstable-2024-11-06 -> 0-unstable-2025-04-24
(cherry picked from commit 63b4c7ce84)
2025-05-17 22:44:34 +00:00
R. Ryantm
6b8960c961 nightfox-gtk-theme: 0-unstable-2024-11-06 -> 0-unstable-2025-04-24
(cherry picked from commit b88aca0a1b)
2025-05-17 22:42:53 +00:00
R. Ryantm
4974c03953 tokyonight-gtk-theme: 0-unstable-2024-11-06 -> 0-unstable-2025-04-24
(cherry picked from commit 3d8b9f46f2)
2025-05-17 22:41:12 +00:00
Antonio
b6243a22e8 matrix-gtk-theme: 0-unstable-2024-11-06 -> 0-unstable-2025-05-06
(cherry picked from commit 5c354a3e3d)
2025-05-17 22:39:25 +00:00
Fabian Affolter
863d9cde7b python313Packages.types-lxml: adjust inputs
(cherry picked from commit c8f871d2ba)
2025-05-17 22:24:41 +00:00
Fabian Affolter
d1a06ea3d8 python312Packages.roadlib: add missing inputs
(cherry picked from commit b5b0cecfd2)
2025-05-17 22:20:13 +00:00
Fabian Affolter
cba9b14a51 python312Packages.wheel-inspect: refactor
(cherry picked from commit b3bf51cbb6)
2025-05-17 22:20:02 +00:00
Fabian Affolter
e418f11159 python312Packages.wheel-filename: refactor
(cherry picked from commit 6e7d5974b8)
2025-05-17 22:20:02 +00:00
Fabian Affolter
f447135173 python313Packages.entry-points-txt: refactor
Fix build https://hydra.nixos.org/build/297428192

(cherry picked from commit d961728d54)
2025-05-17 22:20:02 +00:00
Emily
037f2c7692 [Backport release-25.05] maintainers: updated ohheyrj (#408157) 2025-05-17 22:51:47 +01:00
Richard Annand
a9591ff829 maintainers: updated ohheyrj
(cherry picked from commit d97b8fd33a)
2025-05-17 21:41:41 +00:00
Doron Behar
3d56ad5da4 [Backport release-25.05] gnomeExtensions.gsconnect: 58 -> 62 (#408116) 2025-05-18 00:40:11 +03:00
Florian Klink
b45b859d11 [Backport release-25.05] python3Packages.moderngl: fix context detection under NixOS (#408155) 2025-05-18 00:36:52 +03:00
Thomas Watson
1c82291cdd python3Packages.moderngl: fix context detection under NixOS
In certain situations moderngl will also try to directly load
`libGL.so`/`libEGL.so`, and fail to do so. Substitute a direct path like
in glcontext.

(cherry picked from commit f96b36ba52)
2025-05-17 21:36:26 +00:00
Wolfgang Walther
3a0323589f [Backport release-25.05] ci/eval/nix: 2.24 -> ... (#408130) 2025-05-17 21:28:12 +00:00
Wolfgang Walther
c00abe80e0 [Backport release-25.05] ci/eval/compare: manage the "by: package-maintainer" label (#408128) 2025-05-17 21:26:01 +00:00
Martin Weinelt
e96531fcf0 [Backport release-25.05] ty: init at 0.0.1-alpha.5 (#408145) 2025-05-17 23:24:48 +02:00
Wolfgang Walther
439253015c workflows/eval: fix process job with author id argument
(cherry picked from commit 57d8274118)
2025-05-17 23:17:04 +02:00
Benjamin Sparks
71666466ed ty: init at 0.0.1-alpha.5
(cherry picked from commit 73c6a4b92a)
2025-05-17 21:09:46 +00:00
Robert Hensing
b9176e15ca ci/nix: 2.24 -> 2.28
(cherry picked from commit 529143f3d7)
2025-05-17 20:54:30 +00:00
Leah Amelia Chen
4b8b2f3470 snapcraft: make SSL certs available during tests
See https://hydra.nixos.org/build/297090643/nixlog/2

ZHF #403336

(cherry picked from commit 7947814a84)
2025-05-17 20:52:49 +00:00
Winter
f478418afd ci/eval/compare: manage the "by: package-maintainer" label
While OfBorg is still adding these, it takes a much longer time to do so
compared to the eval action. Since we're adding rebuild labels, I think
it'd be nice to just do it within the eval action.

(cherry picked from commit d52066e2b1)
2025-05-17 20:49:33 +00:00
Ramses
ce3af7849d [Backport release-25.05] nixos/specialisation: escape and restrict specialisation names (#408069) 2025-05-17 22:39:49 +02:00
Sarah Clark
4a94acefba python3Packages.aiocache: disable time-sensitive tests on Darwin
(cherry picked from commit d78e808b41)
2025-05-17 20:34:14 +00:00
Sarah Clark
9d17e1645a python3Packages.aiocache: cleanup
(cherry picked from commit 5ac3330d26)
2025-05-17 20:34:14 +00:00
networkException
7cc7b7c639 nixos/tests/vaultwarden: fix UI testing
This patch fixes a failure in the Selenium UI testing
script by waiting for an element to be clickable.
This allows the Angular to render properly.

(cherry picked from commit 94e7e3f350)
2025-05-17 20:23:07 +00:00
R. Ryantm
7f28e17d96 gnomeExtensions.gsconnect: 58 -> 62
(cherry picked from commit 3cc678fad5)
2025-05-17 20:10:51 +00:00
Winter
4a4ef96bf6 [Backport release-25.05] nixos/profiles/nix-builder-vm: allow the system derivation to be substituted (#408109) 2025-05-17 16:10:31 -04:00
Sefa Eyeoglu
ea72416d06 [Backport release-25.05] audiobookshelf: 2.21.0 -> 2.23.0 (#408112) 2025-05-17 22:01:39 +02:00
Adam C. Stephens
18867496f1 audiobookshelf: 2.21.0 -> 2.23.0
https://github.com/advplyr/audiobookshelf/releases/tag/v2.22.0
https://github.com/advplyr/audiobookshelf/releases/tag/v2.23.0
(cherry picked from commit 3a1ff730b0)
2025-05-17 19:50:23 +00:00
Winter
258dca1e95 nixos/profiles/nix-builder-vm: allow the system derivation to be substituted
Consider a user wanting to set up the Linux builder for the first time,
but with a slightly more generous allocation of resources compared to
the default. They'll do something like this:

```
{
  virtualisation.cores = 3;
  virtualisation.darwin-builder = {
    diskSize = 40 * 1024;
    memorySize = 4 * 1024;
  };
}
```

This will fail with an error like this:

```
error: a 'aarch64-linux' with features {} is required to build '/nix/store/3acpgmwqwnk8g2gc5r05ar2lvmn01b8a-builder.pl.drv', but I am a 'aarch64-darwin' with features {apple-virt, benchmark, big-parallel, nixos-test}
```

But why would they have to rebuild the NixOS system?! All they did was
change the arguments passed to QEMU, and nothing those options control
would affect the NixOS configuration itself... right?

`config.system.build.toplevel` is defined with `allowSubstitutes` set to
`false` by default, which makes it so that the toplevel can't be
substituted if Nix is trying to use it "directly." So because the above
example would have to rebuild the VM runner, which references toplevel
directly, Nix refuses to substitute it, unless `always-allow-substitutes
= true` is set as a Nix option. (In the case where the QEMU options
aren't changed at all, Nix just substitutes the runner, which sidesteps
this issue as the runner itself doesn't use toplevel as an input.)

(cherry picked from commit 747c55e702)
2025-05-17 19:40:59 +00:00
emilylange
28d804e625 nixosTests.curl-impersonate: skip failing test
We use a NixOS VM test to execute the upstream tests of curl-impersonate
because they require networking which cannot be mocked easily in the
sandbox.

Of those upstream tests, test_http2_headers spawns nghttpd2, makes
request against it and then tries to parse the logs it emits.
The last step, the parsing of the logs, it extremely fragile and version
dependent. The version of nghttp2 that we carry in nixpkgs is newer than
the one curl-impersonate expects and happens to emit a different log
format.

So to fix the remaining test suite of curl-impersonate, we simply skip
test_http2_headers.

(cherry picked from commit 9266b72424)
2025-05-17 18:40:03 +00:00
Tim Häring
f103e4d695 trilium-server: fix build error
(cherry picked from commit 6e89b5e133)
2025-05-17 18:39:47 +00:00
Martin Weinelt
b7e752c7d9 [Backport release-25.05] evcc: 0.203.5 -> 0.203.6 (#408064) 2025-05-17 20:36:01 +02:00
alyaeanyx
798cf818e8 mapmap: drop
mapmap has been unmaintained for 5 years now, see
https://github.com/mapmapteam/mapmap/blob/develop/README.md.

(cherry picked from commit 15b37c923b)
2025-05-17 18:14:50 +00:00
alyaeanyx
54fd57b389 tilda: fix build
Upstream manually sets the standard to c99 in configure.ac, which makes
the popen and pclose invocations in src/tilda-lock-files.c produce
implicit function declaration errors.

(cherry picked from commit c97f91a5a2)
2025-05-17 18:14:03 +00:00
alyaeanyx
1f0aee9898 salmon: add missing dependency
(cherry picked from commit 21e92ded99)
2025-05-17 18:13:37 +00:00
Wolfgang Walther
442582e6d6 [25.05] workflows/periodic-merge: set custom name for haskell-updates merge (#408072) 2025-05-17 18:09:47 +00:00
Toma
cfc86d51a8 [Backport release-25.05] cinny-desktop: make more dependencies optional, don't double wrap binary (#407852) 2025-05-17 20:09:22 +02:00
Jan Tojnar
189c412728 webkitgtk_6_0: 2.48.1 → 2.48.2
https://github.com/WebKit/WebKit/compare/webkitgtk-2.48.1...webkitgtk-2.48.2
https://webkitgtk.org/2025/05/14/webkitgtk2.48.2-released.html
https://webkitgtk.org/security/WSA-2025-0004.html

CVE-2025-24223, CVE-2025-31204, CVE-2025-31205, CVE-2025-31206, CVE-2025-31215, CVE-2025-31257

(cherry picked from commit dfcb90fcf3)
2025-05-17 18:07:24 +00:00
Yohann Boniface
86dcfbbe9d [Backport release-25.05] pngnq: fix with gcc 14 (#408055) 2025-05-17 20:06:05 +02:00
Toma
73e46c9a84 [Backport release-25.05] rPackages: fix meta.homepage for packages in BiocAnn and BiocExp (#408075) 2025-05-17 20:05:18 +02:00
TomaSajt
13df3e2636 rPackages: fix meta.homepage for packages in BiocAnn and BiocExp
(cherry picked from commit cb44e8f36e)
2025-05-17 18:01:02 +00:00
Wolfgang Walther
8a0d495c13 [Backport release-25.05] ci/eval: allow configuration of the system to eval attrpaths on (#408070) 2025-05-17 17:57:11 +00:00
Wolfgang Walther
442a9a811e workflows/periodic-merge: set custom name for haskell-updates merge
The simple name can lead to confusion. Adding an explicit override to
make it more clear.

(cherry picked from commit 38169112e8)
2025-05-17 19:54:48 +02:00
Maciej Krüger
37f4d53822 [Backport release-25.05] wayfarer: 1.2.4 -> 1.2.4-unstable-2025-04-12 (#408067) 2025-05-17 19:53:11 +02:00
Winter
f309fef2f3 ci/eval: allow configuration of the system to eval attrpaths on
Right now, there are some paths that don't even get exposed to certain
systems (notably Darwin, but some outliers exist for Linux such as the
Darwin-specific Hackage overlay) for one reason or another, usually
because of assertions like `stdenv.isLinux`. To catch these scenarios,
this change implements a way to specify the system to evaluate attrpaths
on, and makes it default to the system that we're evaluating outpaths
for.

(cherry picked from commit 6b18b3d67b)
2025-05-17 17:50:02 +00:00
toborwinner
1b2b3e1ea2 nixos/specialisation: escape and restrict specialisation names
Prevent the specialisation names from containing a forward slash.
Also escape them to allow for spaces in specialisation names.

(cherry picked from commit 2b9fc0ccc5)
2025-05-17 17:48:07 +00:00
Maciej Krüger
27d999ea28 wayfarer: 1.2.4 -> 1.2.4-unstable-2025-04-12
This fixes the package build

(cherry picked from commit 5e15dfdd56)
2025-05-17 17:46:20 +00:00
Martin Weinelt
ac2a1462ea evcc: 0.203.5 -> 0.203.6
https://github.com/evcc-io/evcc/releases/tag/0.203.6
(cherry picked from commit c3954750dd)
2025-05-17 17:36:06 +00:00
R. Ryantm
79071dda94 notmuch-mailmover: 0.6.0 -> 0.7.0
(cherry picked from commit 99655ad7a5)
2025-05-17 17:35:29 +00:00
Grimmauld
aed40c740f pngnq: fix with gcc 14
Various includes are missing.
The zlib include was being patched in before.
The string include is now needed with gcc 14.

(cherry picked from commit f433407a68)
2025-05-17 17:23:37 +00:00
Pavel Sobolev
1201bb64c9 text-engine: remove the json-glib dependency
(cherry picked from commit 25ba6fc463)
2025-05-17 16:06:56 +00:00
Pavel Sobolev
8c7b1e5274 text-engine: 0.1.1 -> 0.1.1-unstable-2024-09-16
(cherry picked from commit 81da8104df)
2025-05-17 16:06:56 +00:00
Pavel Sobolev
221000ded9 text-engine: refactor
(cherry picked from commit 9ba7647102)
2025-05-17 16:06:56 +00:00
Niklas Korz
dba3461752 [Backport release-25.05] scummvm: fix aarch64-darwin ranlib path (#408023) 2025-05-17 17:45:09 +02:00
Emily
06d4b5774d [Backport release-25.05] sourcehut.*: update (#408022) 2025-05-17 17:42:24 +02:00
ash
de09ce1ab6 nixos/doc/rl-2505: Fix wording of users.users subuid allocation note
Co-authored-by: Leona Maroni <dev@leona.is>
(cherry picked from commit 75097de8fb)
2025-05-17 15:36:40 +00:00
Niklas Korz
cd972b65cc scummvm: fix aarch64-darwin ranlib path
(cherry picked from commit a0d202cd8d)
2025-05-17 15:35:58 +00:00
Marcin Serwin
f4668fe0d4 nixos/sourcehut: adapt to new versions
(cherry picked from commit fa148f9b48)
2025-05-17 15:34:17 +00:00
Marcin Serwin
2670b88ba9 srht-gen-oauth-tok: fix html parsing
(cherry picked from commit ea5a3a6d7e)
2025-05-17 15:34:17 +00:00
Marcin Serwin
469317e669 sourcehut.*: use latest sqlalchemy
(cherry picked from commit 1a3b8285af)
2025-05-17 15:34:17 +00:00
Marcin Serwin
95b5581067 sourcehut.todosrht: 0.75.10 -> 0.77.5
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
(cherry picked from commit 8ade1de14b)
2025-05-17 15:34:17 +00:00
Marcin Serwin
2d62b4567b sourcehut.pastesrht: 0.15.4 -> 0.16.1
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
(cherry picked from commit 11aa859305)
2025-05-17 15:34:17 +00:00
Marcin Serwin
8e03048ed3 sourcehut.pagessrht: 0.15.7 -> 0.16.0
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
(cherry picked from commit aa9753baab)
2025-05-17 15:34:17 +00:00
Marcin Serwin
b42dae80f9 sourcehut.metasrht: 0.69.8 -> 0.72.11
(cherry picked from commit 83b3f1d98c)
2025-05-17 15:34:17 +00:00
Marcin Serwin
2caf79ffc1 sourcehut.mansrht: 0.16.5 -> 0.18.1
(cherry picked from commit 0b0a6d144c)
2025-05-17 15:34:17 +00:00
Marcin Serwin
8d5cacf26f sourcehut.listssrht: 0.57.18 -> 0.62.3
(cherry picked from commit b0fdbb362b)
2025-05-17 15:34:17 +00:00
Marcin Serwin
8a3d510d32 sourcehut.hubsrht: 0.17.7 -> 0.20.2
(cherry picked from commit 84bc40a9a4)
2025-05-17 15:34:17 +00:00
Marcin Serwin
634f3f2059 sourcehut.hgsrht: 0.33.0 -> 0.36.1
(cherry picked from commit b23f4dd3c9)
2025-05-17 15:34:17 +00:00
Marcin Serwin
9ea57dd778 sourcehut.gitsrht: 0.85.9 -> 0.88.10
(cherry picked from commit 2200d55432)
2025-05-17 15:34:17 +00:00
Marcin Serwin
4854c2116d sourcehut.buildsrht: 0.89.15 -> 0.95.1
(cherry picked from commit a7e194630a)
2025-05-17 15:34:17 +00:00
Marcin Serwin
b92803f39b sourcehut.scmsrht: 0.22.24 -> 0.22.28
(cherry picked from commit 4c1ad38c74)
2025-05-17 15:34:17 +00:00
Marcin Serwin
00b283d297 sourcehut.srht: 0.71.8 -> 0.76.1
(cherry picked from commit 522711a2c6)
2025-05-17 15:34:16 +00:00
Aleksana
56787b8952 [Backport release-25.05] cde: drop (#408005) 2025-05-17 23:23:37 +08:00
Niklas Korz
3dafab35ed [Backport release-25.05] shibboleth-sp: fix build for Clang >=19 (#407999) 2025-05-17 17:06:40 +02:00
Niklas Korz
72e7dda22d [Backport release-25.05] xalanc: fix Clang 19 and GCC 15 compat (#408003) 2025-05-17 17:04:02 +02:00
Leona Maroni
cfeb72ebc0 cde: drop
Unmaintained for 7 years and broken

(cherry picked from commit 8bc90bcf87)
2025-05-17 14:59:24 +00:00
Niklas Korz
3adc481229 xalanc: fix Clang 19 and GCC 15 compat
(cherry picked from commit 3714001525)
2025-05-17 14:50:50 +00:00
Aleksana
d21ae91816 [25.05] axmldec: mark as broken (#407987) 2025-05-17 22:46:24 +08:00
Benjamin Sparks
dee1799775 shibboleth-sp: fix build for Clang >=19
(cherry picked from commit 4060d5dab7)
2025-05-17 14:45:58 +00:00
Atemu
00082e69e4 [25.05] dbench: mark as broken (#407955) 2025-05-17 16:42:02 +02:00
K900
32f63121a6 [Backport release-25.05] sgrep: drop (#407994) 2025-05-17 17:37:21 +03:00
K900
3865a29a02 [Backport release-25.05] quickbms: drop (#407995) 2025-05-17 17:37:14 +03:00
Benjamin Sparks
97ca458d08 quickbms: drop
(cherry picked from commit 8e888153c6)
2025-05-17 14:36:24 +00:00
Grimmauld
12ade8b9db sgrep: drop
Fails to build with gcc 14 and unmaintained upstream since 1998 [1].

[1] https://www.cs.helsinki.fi/u/jjaakkol/sgrep.html

(cherry picked from commit a160a4c3f9)
2025-05-17 14:36:13 +00:00
Thomas Gerbet
93a889a660 [Backport release-25.05] directvnc: drop (#407934) 2025-05-17 16:33:00 +02:00
Thomas Gerbet
58035462d6 [Backport release-25.05] suidChroot: drop (#407973) 2025-05-17 16:30:44 +02:00
Leona Maroni
5f4e6b02dc axmldec: mark as broken 2025-05-17 16:21:20 +02:00
Martin Weinelt
d20e3f7dbe [Backport release-25.05] kea: disable on darwin (#407946) 2025-05-17 16:18:37 +02:00
Aleksana
d79b77d84f [25.05] python3Packages.push-receiver: mark as broken (#407876) 2025-05-17 22:13:44 +08:00
Aleksana
a10ad4e3d3 afpfs-ng: mark as broken (#407971) 2025-05-17 22:12:17 +08:00
Atemu
16ceb9fce5 [Backport release-25.05] perl540Packages.SDL: fix build (#407894) 2025-05-17 16:03:05 +02:00
Atemu
889b6a5435 [Backport release-25.05] dd_rescue: 1.99.8 -> 1.99.21 (#407909) 2025-05-17 16:02:42 +02:00
isabel
68513a31af [Backport release-25.05] moonlight: 1.3.18 -> 1.3.19 (#407921) 2025-05-17 15:01:42 +01:00
Aleksana
8236f51965 [Backport release-25.05] evolution-ews: fix patch compiler errors (#407976) 2025-05-17 22:00:34 +08:00
Marcel
ce52733508 evolution-ews: fix patch compiler errors
/build/evolution-ews-3.56.1/src/common/e-ews-common-utils.c:211:13: error: 'true' undeclared (first use in this function)
  211 |         if (true) {
      |             ^~~~
/build/evolution-ews-3.56.1/src/common/e-ews-common-utils.c:15:1: note: 'true' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
   14 | #include "e-ews-common-utils.h"
  +++ |+#include <stdbool.h>
   15 |
/build/evolution-ews-3.56.1/src/common/e-ews-common-utils.c:211:13: note: each undeclared identifier is reported only once for each function it appears in
  211 |         if (true) {
      |             ^~~~

(cherry picked from commit 7128c9546c)
2025-05-17 13:53:40 +00:00
Grimmauld
073a01ae10 suidChroot: drop
The package fails to build with gcc 14.
It has neither maintainer nor homepage link in nixpkgs.
The last commit specifically interacting with `suidChroot` was in 2017,
the last update was in 2015. With no linked repository and no maintenance,
the security of something claiming to be a "Setuid-safe wrapper for chroot" is questionable at best.

(cherry picked from commit 2e6bfdc649)
2025-05-17 13:47:47 +00:00
Leona Maroni
52cc1868e5 afpfs-ng: mark as broken 2025-05-17 15:43:13 +02:00
Leah Amelia Chen
b020a8478b [25.05] libgadu: mark as broken
See #407956
2025-05-17 15:35:04 +02:00
Leona Maroni
d5b2098f59 [Backport release-25.05] python3Packages.pybullet: fix build with GCC 14 (#407893) 2025-05-17 15:29:03 +02:00
Leona Maroni
edbd478b0a dbench: mark as broken 2025-05-17 15:21:40 +02:00
Martin Weinelt
36d055248b [Backport release-25.05] python313Packages.asyncinotify: mark unsupported on darwin (#407940) 2025-05-17 15:08:54 +02:00
Martin Weinelt
b447384d85 [Backport release-25.05] python313Packages.shiboken2: mark broken (#407939) 2025-05-17 15:08:41 +02:00
Martin Weinelt
e2c60e829d [Backport release-25.05] python313Packages.piper-phonemize: fix aarch64-linux build (#407944) 2025-05-17 15:08:06 +02:00
Martin Weinelt
945102941c [Backport release-25.05] python3Packages.slimit: drop (#407942) 2025-05-17 15:08:02 +02:00
Martin Weinelt
ae7af68d65 kea: disable on darwin
Build failure since 2024-12 and I lack interest in debugging this for darwin.

(cherry picked from commit 198377e966)
2025-05-17 13:05:06 +00:00
Adam C. Stephens
88e3cc15e4 [Backport release-25.05] kanidm: add darwin support (#407936) 2025-05-17 09:03:31 -04:00
Martin Weinelt
3e314101b8 python313Packages.piper-phonemize: fix aarch64-linux build
While in the sandbox calls into onnxruntime lead to a coredump.

(cherry picked from commit 5cb66f8889)
2025-05-17 12:59:06 +00:00
Martin Weinelt
0b5b6315dd python3Packages.slimit: drop
(cherry picked from commit 9997a44ddb)
2025-05-17 12:58:52 +00:00
Martin Weinelt
d0b619bf50 pretix: drop dependency on slimit
Was removed some time after 2024.10.

(cherry picked from commit 78029e12b4)
2025-05-17 12:58:52 +00:00
Martin Weinelt
bcbcf2931e python313Packages.vat-moss: disable
Uses the dead and removed cgi battery.

(cherry picked from commit 6fc2efa54e)
2025-05-17 12:58:43 +00:00
Martin Weinelt
3462f52ced python313Packages.asyncinotify: mark unsupported on darwin
```
Check whether the following modules can be imported: asyncinotify
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<string>", line 1, in <lambda>
  File "/nix/store/vfdk6q81hdjqjfiqz8f92hibdck3kmn6-python3-3.12.10/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/nix/store/bk44appr4dabadspjahk3l0ad29vhq8s-python3.12-asyncinotify-4.2.0/lib/python3.12/site-packages/asyncinotify/__init__.py", line 23, in <module>
    from . import _ffi
  File "/nix/store/bk44appr4dabadspjahk3l0ad29vhq8s-python3.12-asyncinotify-4.2.0/lib/python3.12/site-packages/asyncinotify/_ffi.py", line 36, in <module>
    libc.inotify_init.restype = check_return
    ^^^^^^^^^^^^^^^^^
  File "/nix/store/vfdk6q81hdjqjfiqz8f92hibdck3kmn6-python3-3.12.10/lib/python3.12/ctypes/__init__.py", line 392, in __getattr__
    func = self.__getitem__(name)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/vfdk6q81hdjqjfiqz8f92hibdck3kmn6-python3-3.12.10/lib/python3.12/ctypes/__init__.py", line 397, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: dlsym(0x3312f2768, inotify_init): symbol not found
```

(cherry picked from commit 4ca073a957)
2025-05-17 12:58:21 +00:00
Grimmauld
83febaa04d python313Packages.shiboken2: mark broken
The package uses `mkDerivation`+`toPythonModule` in python packages.
This means `disabled` is not an option.

The package already shouldn't work on py 3.12 as per compatibility matrix [1].
While it might be possible to patch this *again*, this poackage is currently a complete mess.

[1] https://wiki.qt.io/Qt_for_Python#Python_compatibility_matrix

(cherry picked from commit 76627c2d55)
2025-05-17 12:57:45 +00:00
Will Gordon
47553f9561 kanidm: add darwin support
Supersedes #402699

(cherry picked from commit 054554bad7)
2025-05-17 12:51:52 +00:00
Grimmauld
ba4dd403c8 directvnc: drop
The package was unmaintained upstream since 2015.
Apart from questionable security (it does not support VNC passwords and is dead upstream),
the build also started to fail since gcc 14.

(cherry picked from commit 529f5be0f6)
2025-05-17 12:51:12 +00:00
Thomas Gerbet
ba44c1f5e5 [Backport release-25.05] brave: 1.78.97 -> 1.78.102 (#407918) 2025-05-17 14:38:23 +02:00
R. Ryantm
3a8de38c27 moonlight: 1.3.18 -> 1.3.19
(cherry picked from commit b94c5fe954)
2025-05-17 12:26:38 +00:00
Sean Buckley
136a017b43 brave: 1.78.97 -> 1.78.102
https://community.brave.com/t/release-channel-1-78-102/618564
(cherry picked from commit 4f97041463)
2025-05-17 12:21:16 +00:00
Martin Weinelt
98b4902624 [Backport release-25.05] home-assistant: 2025.5.1 -> 2025.5.2 (#407841) 2025-05-17 14:04:28 +02:00
Felix Singer
1ba318392e dd_rescue: Set mainProgram to dd_rescue
Signed-off-by: Felix Singer <felixsinger@posteo.net>
(cherry picked from commit 8bf69f4279)
2025-05-17 12:02:50 +00:00
Felix Singer
e9b53bec00 dd_rescue: 1.99.8 -> 1.99.21
Signed-off-by: Felix Singer <felixsinger@posteo.net>
(cherry picked from commit 4fdf69a925)
2025-05-17 12:02:50 +00:00
Grimmauld
e87581acf1 perl540Packages.SDL: fix build
(cherry picked from commit 308a79daab)
2025-05-17 11:11:40 +00:00
Leona Maroni
a94224f33b python3Packages.pybullet: fix build with GCC 14
(cherry picked from commit 295c2bd762)
2025-05-17 11:10:13 +00:00
Aleksana
17f6409a25 [Backport release-25.05] plattenalbum: 2.2.2 -> 2.3.0 (#407864) 2025-05-17 18:18:10 +08:00
Leona Maroni
310d0a163f python3Packages.push-receiver: mark as broken
Issues with protobuf and unmaintained
2025-05-17 12:11:28 +02:00
Martin Weinelt
bd38d2998f [Backport release-25.05] acme: Add csr option (#407854) 2025-05-17 12:10:15 +02:00
Aleksana
47bcfa9279 [Backport release-25.05] curtail: 1.12.0 -> 1.13.0 (#407860) 2025-05-17 17:42:21 +08:00
Aleksana
4098c920bd [Backport release-25.05] ascii-draw: 1.0.0 -> 1.1.0 (#407859) 2025-05-17 17:42:06 +08:00
R. Ryantm
0863c4697f plattenalbum: 2.2.2 -> 2.3.0
(cherry picked from commit c74c886dfd)
2025-05-17 09:38:52 +00:00
R. Ryantm
4bc4ab8a6f fflogs: 8.17.1 -> 8.17.13
(cherry picked from commit 79053f72f4)
2025-05-17 09:36:48 +00:00
R. Ryantm
c7a91607c5 curtail: 1.12.0 -> 1.13.0
(cherry picked from commit 9e08cce04f)
2025-05-17 09:36:20 +00:00
R. Ryantm
714187085b ascii-draw: 1.0.0 -> 1.1.0
(cherry picked from commit d7b9252836)
2025-05-17 09:33:13 +00:00
R. Ryantm
ba0e6ff45d varia: 2025.1.24-1 -> 2025.4.22
(cherry picked from commit 9ea1f044a1)
2025-05-17 09:26:41 +00:00
Lucas Savva
1531a60f75 doc/rl-2505: relnote security.acme changes
(cherry picked from commit 123d134411)
2025-05-17 09:24:50 +00:00
Lucas Savva
6077ac74ae nixos/tests/acme: Add CSR test
(cherry picked from commit eeaa42f670)
2025-05-17 09:24:49 +00:00
C0D3 M4513R
dcc7993ccc acme: Add csr option
Signed-off-by: C0D3 M4513R <28912031+C0D3-M4513R@users.noreply.github.com>
(cherry picked from commit 754412b4ae)
2025-05-17 09:24:49 +00:00
Aleksana
848e7b5ee8 [Backport release-25.05] musl-obstack: fix build on darwin (#407846) 2025-05-17 17:18:14 +08:00
Aleksana
5fca624091 [Backport release-25.05] doc/tauri: fix example, make openssl linux-only (#407849) 2025-05-17 17:18:00 +08:00
Aleksana
da83cd318a [Backport release-25.05] whipper: add mainProgram (#407848) 2025-05-17 17:08:50 +08:00
Aleksana
5e1337458e [Backport release-25.05] wayland: Remove meta.mainProgram (#407847) 2025-05-17 17:08:45 +08:00
kuflierl
975f283ba1 shh: rev2 switch to upstreamed patches for strace path fixing, clean up check patch, enable manpages and autocomplete with upstream patches,
update script, make cross-compile possible, make docgen feature and generation optional, add changelog

Signed-off-by: kuflierl <41301536+kuflierl@users.noreply.github.com>
(cherry picked from commit 3dc449dadb)
2025-05-17 09:08:43 +00:00
TomaSajt
fdb1dfbfe6 cinny-desktop: make more dependencies optional, don't double wrap binary
(cherry picked from commit bdefe3b4c3)
2025-05-17 09:08:32 +00:00
Aleksana
34a4af7373 [Backport release-25.05] feishu: add mainProgram (#407845) 2025-05-17 17:08:21 +08:00
Niko Cantero
b280fd97dc matrix-continuwuity: init at 0.5.0-rc.5; nixos/matrix-continuwuity: init
(cherry picked from commit c878ad10fb)
2025-05-17 09:05:49 +00:00
TomaSajt
a105a3b79e doc/tauri: fix example, make openssl linux-only
(cherry picked from commit 0605191248)
2025-05-17 09:04:41 +00:00
Robert Helgesson
0e672d7f1e whipper: add mainProgram
(cherry picked from commit 3e7e1fec67)
2025-05-17 09:04:20 +00:00
Jan Tojnar
04d53b3712 wayland: Remove meta.mainProgram
This has been missed in 921bd99f8d,
when that binary has been split out into an eponymous package.
The package does not contain any executable programs any more.

(cherry picked from commit ba6e8ff3d8)
2025-05-17 09:04:09 +00:00
usertam
2e754a054d musl-obstack: fix build on darwin
(cherry picked from commit dc44a14cd0)
2025-05-17 09:03:57 +00:00
wxt
e1da2e7d9c feishu: add mainProgram
(cherry picked from commit cb441dc8d7)
2025-05-17 09:03:45 +00:00
Martin Weinelt
49521440ea home-assistant.python.pkgs.pytest-homeassistant-custom-component: 0.13.244 -> 0.13.245
https://github.com/MatthewFlamm/pytest-homeassistant-custom-component/blob/refs/tags/0.13.245/CHANGELOG.md
(cherry picked from commit c07e0efd57)
2025-05-17 08:39:39 +00:00
Martin Weinelt
f2fae4bdb8 python313Packages.homeassistant-stubs: 2025.5.1 -> 2025.5.2
https://github.com/KapJI/homeassistant-stubs/releases/tag/2025.5.2
(cherry picked from commit 65d68f45ff)
2025-05-17 08:39:39 +00:00
Martin Weinelt
04909f870d home-assistant: 2025.5.1 -> 2025.5.2
https://github.com/home-assistant/core/releases/tag/2025.5.2
(cherry picked from commit 894d4bc710)
2025-05-17 08:39:39 +00:00
Martin Weinelt
ee4720152f python313Packages.aiodiscover: 2.6.1 -> 2.7.0
https://github.com/bdraco/aiodiscover/releases/tag/v2.7.0
(cherry picked from commit 87b22feba5)
2025-05-17 08:39:39 +00:00
Martin Weinelt
ffac217f45 python313Packages.pysmartthings: 3.2.1 -> 3.2.2
https://github.com/andrewsayre/pysmartthings/releases/tag/v3.2.2
(cherry picked from commit e0d0b2a61b)
2025-05-17 08:39:39 +00:00
Martin Weinelt
3854de6082 python313Packages.pysensibo: 1.1.0 -> 1.2.1
https://github.com/andrey-git/pysensibo/releases/tag/1.2.1
(cherry picked from commit 84d103f9ff)
2025-05-17 08:39:39 +00:00
Martin Weinelt
47694cb024 python313Packages.ical: 9.2.2 -> 9.2.4
https://github.com/allenporter/ical/releases/tag/9.2.4
(cherry picked from commit bad00c9ec5)
2025-05-17 08:39:38 +00:00
Martin Weinelt
488ba64069 python313Packages.deebot-client: 13.1.0 -> 13.2.0
https://github.com/DeebotUniverse/client.py/releases/tag/13.2.0
(cherry picked from commit efe860c6d7)
2025-05-17 08:39:38 +00:00
SchweGELBin
6a66795c9b mautrix-whatsapp: 0.12.0 -> 0.12.1
(cherry picked from commit 5cdb6e4c63)
2025-05-17 08:10:30 +00:00
Arne Keller
2a41154f7a [Backport release-25.05] memos: 0.13.2 -> 0.24.2, move to by-name, adopt (#407826) 2025-05-17 09:14:51 +02:00
kuflierl
3f3d22a7cc memos: 0.13.2 -> 0.24.2, move to by-name, adopt
special thanks to @tecosaur for https://github.com/NixOS/nixpkgs/issues/257131#issuecomment-2643372737, which i used as inspiration for my changes

Co-authored-by: TEC <git@tecosaur.net>
(cherry picked from commit 29373c41f0)
2025-05-17 06:56:10 +00:00
Sarah Clark
3d5992de65 tftui: accept posthog 4
(cherry picked from commit 6174410ae7)
2025-05-16 23:47:44 +00:00
Wolfgang Walther
2e1496bf86 [Backport release-25.05] postgresqlPackages.pg_tle: 1.5.0 -> 1.5.1 (#407723) 2025-05-16 20:51:46 +00:00
R. Ryantm
3fc0ab1767 postgresqlPackages.pg_tle: 1.5.0 -> 1.5.1
(cherry picked from commit 6b52d2e642)
2025-05-16 20:26:49 +00:00
SchweGELBin
e87fc3bfc3 libsignal-ffi: 0.70.0 -> 0.72.1
(cherry picked from commit 9fc2679779)
2025-05-16 19:33:41 +00:00
SchweGELBin
2ff29b5d1f mautrix-signal: 0.8.2 -> 0.8.3
(cherry picked from commit 7ba3fb2cd0)
2025-05-16 19:33:41 +00:00
Mynacol
3bdadfe65b kexec-tools: Set meta.mainProgram to kexec
(cherry picked from commit cb8dcb7793)
2025-05-16 21:23:17 +02:00
Wolfgang Walther
f9e2fbc96b [Backport release-25.05] haskellPackages.postgres-websockets: fix at run-time (#407709) 2025-05-16 19:20:54 +00:00
Wolfgang Walther
1682a0cf73 haskellPackages.postgres-websockets: fix at run-time
Reason for the failure is still unclear and it was not possible to
reproduce outside nixpkgs, yet.

https://github.com/diogob/postgres-websockets/pull/101#issuecomment-2881016449
(cherry picked from commit 4e216d5059)
2025-05-16 19:10:00 +00:00
Vladimír Čunát
c46c1bbaef thunderbird: fix calendar again after icu77 switch (#407684) 2025-05-16 19:49:14 +02:00
Vladimír Čunát
9312c4398c thunderbird: fix calendar again after icu77 switch 2025-05-16 08:08:57 +02:00
544 changed files with 10977 additions and 24923 deletions

View File

@@ -5,7 +5,6 @@ on:
paths:
- .github/workflows/check-format.yml
pull_request_target:
types: [opened, synchronize, reopened, edited]
permissions: {}

View File

@@ -27,7 +27,7 @@ on:
paths:
- .github/workflows/codeowners-v2.yml
pull_request_target:
types: [opened, ready_for_review, synchronize, reopened, edited]
types: [opened, ready_for_review, synchronize, reopened]
permissions: {}

49
.github/workflows/edited.yml vendored Normal file
View File

@@ -0,0 +1,49 @@
# Some workflows depend on the base branch of the PR, but changing the base branch is not included in the default trigger events, which would be `opened`, `synchronize` or `reopened`.
# Instead it causes an `edited` event.
# Since `edited` is also triggered when PR title/body is changed, we use this wrapper workflow, to run the other workflows conditionally only.
# There are already feature requests for adding a `base_changed` event:
# - https://github.com/orgs/community/discussions/35058
# - https://github.com/orgs/community/discussions/64119
#
# Instead of adding this to each workflow's pull_request_target event, we trigger this in a separate workflow.
# This has the advantage, that we can actually skip running those jobs for simple edits like changing the title or description.
# The actual trigger happens by closing and re-opening the pull request, which triggers the default pull_request_target events.
# This is much simpler and reliable than other approaches.
name: "Edited base branch"
on:
pull_request_target:
types: [edited]
permissions: {}
jobs:
base:
name: Trigger jobs
runs-on: ubuntu-24.04
if: github.event.changes.base.ref.from && github.event.changes.base.ref.from != github.event.pull_request.base.ref
steps:
# Use a GitHub App to create the PR so that CI gets triggered
# The App is scoped to Repository > Contents and Pull Requests: write for Nixpkgs
# We only need Pull Requests: write here, but the app is also used for backports.
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
id: app-token
with:
app-id: ${{ vars.NIXPKGS_CI_APP_ID }}
private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }}
permission-pull-requests: write
- env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
REPOSITORY: ${{ github.repository }}
NUMBER: ${{ github.event.number }}
run: |
gh api \
--method PATCH \
/repos/"$REPOSITORY"/pulls/"$NUMBER" \
-f "state=closed"
gh api \
--method PATCH \
/repos/"$REPOSITORY"/pulls/"$NUMBER" \
-f "state=open"

View File

@@ -154,9 +154,12 @@ jobs:
--arg beforeResultDir ./targetResult \
--arg afterResultDir "$(realpath prResult)" \
--arg touchedFilesJson ./touched-files.json \
--argstr githubAuthorId "$AUTHOR_ID" \
-o comparison
cat comparison/step-summary.md >> "$GITHUB_STEP_SUMMARY"
env:
AUTHOR_ID: ${{ github.event.pull_request.user.id }}
- name: Upload the combined results
if: steps.targetRunId.outputs.targetRunId
@@ -211,10 +214,10 @@ jobs:
- name: Labelling pull request
if: ${{ github.event_name == 'pull_request_target' && github.repository_owner == 'NixOS' }}
run: |
# Get all currently set rebuild labels
# Get all currently set labels that we manage
gh api \
/repos/"$REPOSITORY"/issues/"$NUMBER"/labels \
--jq '.[].name | select(startswith("10.rebuild"))' \
--jq '.[].name | select(startswith("10.rebuild") or . == "11.by: package-maintainer")' \
| sort > before
# And the labels that should be there

View File

@@ -7,7 +7,6 @@ name: "Label PR"
on:
pull_request_target:
types: [edited, opened, synchronize, reopened]
permissions:
contents: read

View File

@@ -10,11 +10,6 @@ on:
paths:
- .github/workflows/nixpkgs-vet.yml
pull_request_target:
# This workflow depends on the base branch of the PR, but changing the base branch is not included in the default trigger events, which would be `opened`, `synchronize` or `reopened`.
# Instead it causes an `edited` event, so we need to add it explicitly here.
# While `edited` is also triggered when the PR title/body is changed, this PR action is fairly quick, and PRs don't get edited **that** often, so it shouldn't be a problem.
# There is a feature request for adding a `base_changed` event: https://github.com/orgs/community/discussions/35058
types: [opened, synchronize, reopened, edited]
permissions: {}

View File

@@ -5,8 +5,6 @@ on:
paths:
- .github/workflows/no-channel.yml
pull_request_target:
# Re-run should be triggered when the base branch is updated, instead of silently failing
types: [opened, synchronize, reopened, edited]
permissions: {}

View File

@@ -35,10 +35,12 @@ jobs:
into: staging-next-25.05
- from: staging-next-25.05
into: staging-25.05
- from: master staging
- name: merge-base(master,staging) → haskell-updates
from: master staging
into: haskell-updates
uses: ./.github/workflows/periodic-merge.yml
with:
from: ${{ matrix.pairs.from }}
into: ${{ matrix.pairs.into }}
name: ${{ matrix.pairs.name || format('{0} → {1}', matrix.pairs.from, matrix.pairs.into) }}
secrets: inherit

View File

@@ -35,4 +35,5 @@ jobs:
with:
from: ${{ matrix.pairs.from }}
into: ${{ matrix.pairs.into }}
name: ${{ format('{0} → {1}', matrix.pairs.from, matrix.pairs.into) }}
secrets: inherit

View File

@@ -15,7 +15,6 @@ on:
jobs:
merge:
runs-on: ubuntu-24.04-arm
name: ${{ inputs.from }} → ${{ inputs.into }}
steps:
# Use a GitHub App to create the PR so that CI gets triggered
# The App is scoped to Repository > Contents and Pull Requests: write for Nixpkgs

View File

@@ -471,7 +471,7 @@ pkgs/development/interpreters/lfe/ @NixOS/beam
pkgs/by-name/oc/octodns/ @anthonyroussel
# Teleport
pkgs/servers/teleport @arianvp @justinas @sigma @tomberek @freezeboy @techknowlogick @JuliusFreudenberger
pkgs/by-name/te/teleport* @arianvp @justinas @sigma @tomberek @freezeboy @techknowlogick @JuliusFreudenberger
# Warp-terminal
pkgs/by-name/wa/warp-terminal/ @emilytrau @imadnyc @donteatoreo @johnrtitor

View File

@@ -10,6 +10,7 @@
beforeResultDir,
afterResultDir,
touchedFilesJson,
githubAuthorId,
byName ? false,
}:
let
@@ -114,7 +115,15 @@ let
# Adds "10.rebuild-*-stdenv" label if the "stdenv" attribute was changed
++ lib.mapAttrsToList (kernel: _: "10.rebuild-${kernel}-stdenv") (
lib.filterAttrs (_: kernelRebuilds: kernelRebuilds ? "stdenv") rebuildsByKernel
);
)
# Adds the "11.by: package-maintainer" label if all of the packages directly
# changed are maintained by the PR's author. (https://github.com/NixOS/ofborg/blob/df400f44502d4a4a80fa283d33f2e55a4e43ee90/ofborg/src/tagger.rs#L83-L88)
++ lib.optional (
maintainers ? ${githubAuthorId}
&& lib.all (lib.flip lib.elem maintainers.${githubAuthorId}) (
lib.flatten (lib.attrValues maintainers)
)
) "11.by: package-maintainer";
}
);

View File

@@ -8,7 +8,6 @@
procps,
nixVersions,
jq,
sta,
python3,
}:
@@ -31,11 +30,14 @@ let
);
};
nix = nixVersions.nix_2_24;
nix = nixVersions.latest;
supportedSystems = builtins.fromJSON (builtins.readFile ../supportedSystems.json);
attrpathsSuperset =
{
evalSystem,
}:
runCommand "attrpaths-superset.json"
{
src = nixpkgs;
@@ -55,6 +57,7 @@ let
-I "$src" \
--option restrict-eval true \
--option allow-import-from-derivation false \
--option eval-system "${evalSystem}" \
--arg enableWarnings false > $out/paths.json
'';
@@ -65,7 +68,7 @@ let
# because `--argstr system` would only be passed to the ci/default.nix file!
evalSystem,
# The path to the `paths.json` file from `attrpathsSuperset`
attrpathFile ? "${attrpathsSuperset}/paths.json",
attrpathFile ? "${attrpathsSuperset { inherit evalSystem; }}/paths.json",
# The number of attributes per chunk, see ./README.md for more info.
chunkSize,
checkMeta ? true,
@@ -184,10 +187,7 @@ let
rm "$chunkOutputDir"/stats/"$seq_end"
fi
# Make sure the glob doesn't break when there's no files
shopt -s nullglob
cat "$chunkOutputDir"/result/* > $out/paths
cat "$chunkOutputDir"/stats/* > $out/stats.jsonstream
'';
combine =
@@ -198,7 +198,6 @@ let
{
nativeBuildInputs = [
jq
sta
];
}
''
@@ -221,39 +220,6 @@ let
) | from_entries
' > $out/outpaths.json
# Computes min, mean, error, etc. for a list of values and outputs a JSON from that
statistics() {
local stat=$1
sta --transpose |
jq --raw-input --argjson stat "$stat" -n '
[
inputs |
split("\t") |
{ key: .[0], value: (.[1] | fromjson) }
] |
from_entries |
{
key: ($stat | join(".")),
value: .
}'
}
# Gets all available number stats (without .sizes because those are constant and not interesting)
readarray -t stats < <(jq -cs '.[0] | del(.sizes) | paths(type == "number")' ${resultsDir}/*/stats.jsonstream)
# Combines the statistics from all evaluations
{
echo "{ \"key\": \"minAvailMemory\", \"value\": $(cat ${resultsDir}/*/min-avail-memory | sta --brief --min) }"
echo "{ \"key\": \"minFreeSwap\", \"value\": $(cat ${resultsDir}/*/min-free-swap | sta --brief --min) }"
cat ${resultsDir}/*/total-time | statistics '["totalTime"]'
for stat in "''${stats[@]}"; do
cat ${resultsDir}/*/stats.jsonstream |
jq --argjson stat "$stat" 'getpath($stat)' |
statistics "$stat"
done
} |
jq -s from_entries > $out/stats.json
mkdir -p $out/stats
for d in ${resultsDir}/*; do

View File

@@ -30,8 +30,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
# Assuming our app's frontend uses `npm` as a package manager
npmDeps = fetchNpmDeps {
name = "${finalAttrs.pname}-npm-deps-${finalAttrs.version}";
inherit src;
name = "${finalAttrs.pname}-${finalAttrs.version}-npm-deps";
inherit (finalAttrs) src;
hash = "...";
};
@@ -51,17 +51,16 @@ rustPlatform.buildRustPackage (finalAttrs: {
wrapGAppsHook4
];
buildInputs =
[ openssl ]
++ lib.optionals stdenv.hostPlatform.isLinux [
glib-networking # Most Tauri apps need networking
webkitgtk_4_1
];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
glib-networking # Most Tauri apps need networking
openssl
webkitgtk_4_1
];
# Set our Tauri source directory
cargoRoot = "src-tauri";
# And make sure we build there too
buildAndTestSubdir = cargoRoot;
buildAndTestSubdir = finalAttrs.cargoRoot;
# ...
})

View File

@@ -133,7 +133,8 @@
"release-notes.html#sec-nixpkgs-release-25.05-highlights"
],
"sec-nixpkgs-release-25.05-incompatibilities": [
"release-notes.html#sec-nixpkgs-release-25.05-incompatibilities"
"release-notes.html#sec-nixpkgs-release-25.05-incompatibilities",
"release-notes.html#sec-nixpkgs-release-25.05-incompatibilities-nexusmods-app-upgraded"
],
"sec-nixpkgs-release-25.05-incompatibilities-titanium-removed": [
"release-notes.html#sec-nixpkgs-release-25.05-incompatibilities-titanium-removed",
@@ -141,9 +142,6 @@
"index.html#building-a-titanium-app",
"index.html#emulating-or-simulating-the-app"
],
"sec-nixpkgs-release-25.05-incompatibilities-nexusmods-app-upgraded": [
"release-notes.html#sec-nixpkgs-release-25.05-incompatibilities-nexusmods-app-upgraded"
],
"sec-nixpkgs-release-25.05-lib": [
"release-notes.html#sec-nixpkgs-release-25.05-lib"
],

View File

@@ -1,4 +1,4 @@
# Nixpkgs 25.05 (2025.05/??) {#sec-nixpkgs-release-25.05}
# Nixpkgs 25.05 (2025.05/23) {#sec-nixpkgs-release-25.05}
## Highlights {#sec-nixpkgs-release-25.05-highlights}
@@ -17,17 +17,26 @@
- The default GHC version has been updated from 9.6 to 9.8.
`haskellPackages` also uses Stackage LTS 23 (instead of LTS 22) as a baseline.
We aim to remove the old GHC versions 8.10, 9.0 and 9.2 in the next release in accordance with [the new GHC deprecation policy](https://discourse.nixos.org/t/nixpkgs-ghc-deprecation-policy-user-feedback-necessary/64153).
- LLVM has been updated from LLVM 16 (on Darwin) and LLVM 18 (on other platforms) to LLVM 19.
This introduces some backwardsincompatible changes; see the [upstream release notes](https://releases.llvm.org/) for details.
- The Factor programming language packages were reworked. `factor-lang-scope` is now named `factorPackages` and provides a `buildFactorApplication` function to deploy Factor programs as binaries. It has also received proper documentation in the Nixpkgs manual.
- The packaging of Mesa graphics drivers has been significantly reworked, in particular:
- Applications linked against different Mesa versions than installed on the system should now work correctly going forward (however, applications against older Mesa, e.g. from Nixpkgs releases before 25.05, remain broken)
- Packages that used to depend on Mesa for libgbm or libdri should use `libgbm` or `dri-pkgconfig-stub` as inputs, respectively
- OpenSSH has been updated from 9.9p2 to 10.0p2, dropping support for DSA keys and adding a new `ssh-auth` binary to handle user authentication in a different address space from unauthenticated sessions. Additionally, we now enable a configure option by default that attempts to lock sshd into RAM to prevent it from being swapped out, which may improve performance if the system is under memory pressure. See the [full changelog](https://www.openwall.com/lists/oss-security/2025/04/09/1) for more details.
- Emacs has been updated to 30.1.
This introduces some backwardsincompatible changes; see the NEWS for details.
NEWS can been viewed from Emacs by typing `C-h n`, or by clicking `Help->Emacs News` from the menu bar.
It can also be browsed [online](https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-30).
- The `intel` video driver for X.org (from the xf86-video-intel package, which was previously removed because it was non-functional) has been fixed and the driver has been re-introduced.
- The default openexr version has been updated to 3.2.4.
- The default PHP version has been updated to 8.4.
@@ -36,8 +45,6 @@
- The default Elixir version has been updated to 1.18.
- `buildPythonPackage`, `buildPythonApplication` and the Python building setup hooks now support both `__structuredAttrs = true` and `__structuredAttrs = false`.
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
## Backward Incompatibilities {#sec-nixpkgs-release-25.05-incompatibilities}
@@ -57,6 +64,8 @@
The hook can be disabled by providing `dontCheckForBrokenSymlinks = true;` as an argument to `mkDerivation`.
For more information, [check the docs](https://nixos.org/manual/nixpkgs/unstable/#no-broken-symlinks.sh) or [see this PR](https://github.com/NixOS/nixpkgs/pull/370750).
- `gkraken` has been removed. The recommended alternative is `coolercontrol`.
- `opensmtpd-extras` has been deprecated by upstream and is not compatible with
OpenSMTPD 7.6.0 or later. The package has been removed in favor of a set of new
`opensmtpd-table-*` packages.
@@ -65,20 +74,42 @@
configuration settings. Notably, it now defaults to listening on a socket
rather than a port. See [Migrating from version 1.x](https://github.com/roehling/postsrsd/blob/2.0.10/README.rst#migrating-from-version-1x) and [Postfix Setup](https://github.com/roehling/postsrsd?tab=readme-ov-file#postfix-setup) for details.
- `renovate` was updated to v39. See the [upstream release notes](https://docs.renovatebot.com/release-notes-for-major-versions/#version-39) for breaking changes.
Like upstream's docker images, renovate now runs on NodeJS 22.
- The hand written `perlPackages.SearchXapian` bindings have been dropped in favor of the (mostly compatible)
`perlPackages.Xapian`.
- `varnish` was updated from 7.5.0 to 7.7.0, see [Varnish 7.6.0 upgrade guide](https://varnish-cache.org/docs/7.6/whats-new/upgrading-7.6.html) and
[Varnish 7.7.0 upgrade guide](https://varnish-cache.org/docs/7.7/whats-new/upgrading-7.7.html#whatsnew-upgrading-7-7).
- The `config` triple for `aarch64-darwin` has been changed from `aarch64-apple-darwin` to `arm64-apple-darwin` to match the Apple toolchain and LLVMs expectations.
- The `electron` packages will now provide their headers (available via `electron.headers`) in extracted form instead of in a tarball.
- The udev rules of the `libjaylink` package require users to be in the `jlink` instead of `plugdev` group now, since the `plugdev` group is very uncommon for NixOS. Alternatively, access is granted to seat sessions.
- The `ephemeral` package was removed due to upstream archival in early 2022.
- The `gotenberg` package has been updated to 8.16.0, which brings breaking changes to the configuration from version 8.13.0. See the [upstream release notes](https://github.com/gotenberg/gotenberg/releases/tag/v8.13.0) for that release to get all the details.
- `zammad` has had its support for MySQL removed, since it was never working correctly and is now deprecated upstream. Check the [migration guide](https://docs.zammad.org/en/latest/appendix/migrate-to-postgresql.html) for how to convert your database to PostgreSQL.
- The `vocal` package was removed due to upstream archival. The upstream developer suggests using `gnome-podcasts` or `kasts` instead.
- `timescaledb` requires manual upgrade steps.
After you run ALTER EXTENSION, you must run [this SQL script](https://github.com/timescale/timescaledb-extras/blob/master/utils/2.15.X-fix_hypertable_foreign_keys.sql). For more details, see the following pull requests [#6797](https://github.com/timescale/timescaledb/pull/6797).
PostgreSQL 13 is no longer supported in TimescaleDB v2.16.
- `paperless-ngx` has been updated to minor version 2.15 which switched the web server from Gunicorn to Granian. If you set Gunicorn specific envs (usually contain GUNICORN) they must be updated.
- [testers.shellcheck](https://nixos.org/manual/nixpkgs/unstable/#tester-shellcheck) now warns when `name` is not provided.
The `name` argument will become mandatory in a future release.
- `tauon` 7.9.0+ when launched for the first time, migrates its database to a new schema that is not backwards compatible. Older versions will refuse to start at all with that database afterwards. If you need to still use older tauon versions, make sure to back up `~/.local/share/TauonMusicBox`.
- `aws-workspaces` has dropped support for PCoiP networking.
- [GIMP 3.0](https://www.gimp.org/news/2025/03/16/gimp-3-0-released/) available as `gimp3`.
- `grafana-agent` and `services.grafana-agent` have been removed in favor of
@@ -87,10 +118,35 @@
Grafana recommends migrating to `grafana-alloy` (`services.alloy`).
See https://grafana.com/docs/alloy/latest/set-up/migrate/ for details.
- `slskd` has been updated to v0.22.3, which includes breaking changes to `script` integrations. Please review the [changelog](https://github.com/slskd/slskd/releases/tag/0.22.3)
and the accompanying [pull request](https://github.com/slskd/slskd/pull/1292).
- `forgejo` and `forgejo-lts` have been updated to v11.
See upstreams [release blog post](https://forgejo.org/2025-04-release-v11-0/) for more information.
- `unifi` has been updated to v9.1.
This version should be backward compatible with v8.x, however as a result, `unifi8` package has been removed.
- `xdragon` package has been renamed to `dragon-drop`.
`xdragon` is an alias to `dragon-drop` and the package still provides `bin/xdragon`.
`bin/dragon` is no longer supplied.
- `python3Packages.bpycv` has been removed due to being incompatible with Blender 4 and unmaintained.
- `python3Packages.jaeger-client` was removed because it was deprecated upstream. [OpenTelemetry](https://opentelemetry.io) is the recommended replacement.
- `rocmPackages_6` has been updated to ROCm 6.3.
- `rocmPackages_5` has been removed.
- `rocmPackages.rocm-thunk` has been removed and its functionality has been integrated with the ROCm CLR. Use `rocmPackages.clr` instead.
- `rocmPackages.clang-ocl` has been removed. [It was deprecated by AMD in 2023.](https://github.com/ROCm/clang-ocl)
- `nodePackages.meshcommander` has been removed, as the package was deprecated by Intel.
- The default version of `z3` has been updated from 4.8 to 4.13. There are still a few packages that need specific older versions; those will continue to be maintained as long as other packages depend on them but may be removed in the future.
- The `nixLog*` family of functions made available through the standard environment have been rewritten to prefix messages with both the debug level and the function name of the caller.
The `nixLog` function, which logs unconditionally, was also re-introduced and modified to prefix messages with the function name of the caller.
For more information, [see this PR](https://github.com/NixOS/nixpkgs/pull/370742).
@@ -113,6 +169,10 @@
and the [4.2 release](https://github.com/netbox-community/netbox/releases/tag/v4.2.0),
make the required changes to your database, if needed, then upgrade by setting `services.netbox.package = pkgs.netbox_4_2;` in your configuration.
- `nodePackages.expo-cli` has been removed, as it was deprecated by upstream. The suggested replacement is the `npx expo` command.
- The `conduwuit` matrix server implementation has officially been discontinued by upstream and the package has thus been marked as vulnerable, as it is a security-sensitive package that has reached EOL.
- NetBox version 4.0.X available as `netbox_4_0` was removed. Please upgrade to `4.2`.
- `golangci-lint` has reached `v2`. Please read the changes and view the migration guide [here](https://golangci-lint.run/product/changelog/#200).
@@ -127,6 +187,8 @@
- Default ICU version updated from 74 to 76
- The packages `signald`, `signaldctl` and `purple-signald` have been dropped as they are unmaintained upstream and have been incompatible with the official Signal servers for a long while.
- Apache Kafka was updated to `>= 4.0.0`. Please note that this is the first release which operates
entirely without Apache ZooKeeper support, and all clusters need to be migrated to KRaft mode. See
the [release announcement](https://kafka.apache.org/blog#apache_kafka_400_release_announcement)
@@ -232,6 +294,8 @@
- `dwarf-fortress-packages` now only contains one minor version for each major version since version 0.44. Saves should still be compatible, but you may have to change which minor version you were using if it was one other than the newest.
- `tpm2-pkcs11` now is compiled without abrmd (Access Broker and Resource Manager Daemon) support by default, preferring the kernel resource manager. Use `tpm2-pkcs11.abrmd` if you would like a version with abrmd support. Note that the NixOS module picks the correct one automatically based on `security.tpm2.abrmd`.
- `zig_0_9` and `zig_0_10` have been removed, you should upgrade to `zig_0_13` (also available as just `zig`), `zig_0_12` or `zig_0_11` instead.
- `webpack-cli` was updated to major version 6, which has breaking changes from the previous version 5.1.4. See the [upstream release notes](https://github.com/webpack/webpack-cli/releases/tag/webpack-cli%406.0.0) for details on these changes.
@@ -270,7 +334,7 @@
- `nodePackages.meshcommander` has been removed, as the package was deprecated by Intel.
- The default version of `z3` has been updated from 4.8 to 4.14, and all old versions have been dropped. Note that `fstar` still depends on specific versions, and maintains them as overrides.
- The default version of `z3` has been updated from 4.8 to 4.15, and all old versions have been dropped. Note that `fstar` still depends on specific versions, and maintains them as overrides.
- `prometheus` has been updated from 2.55.0 to 3.1.0.
Read the [release blog post](https://prometheus.io/blog/2024/11/14/prometheus-3-0/) and
@@ -328,12 +392,22 @@
- `docker_24` has been removed, as it was EOL with vulnerabilities since June 08, 2024.
- Emacs 28 and 29 have been removed.
- Emacs 28 Macport has been removed, while CVEs of Emacs 29 Macport are patched.
- `containerd` has been updated to v2, which contains breaking changes. See the [containerd
2.0](https://github.com/containerd/containerd/blob/main/docs/containerd-2.0.md) documentation for more
details.
- The `tinycc` package now has the `dev`, `doc` and `lib` outputs, thus,
`tinycc.out` may now only provide the tcc and cross compilers binaries.
- The `testTarget` argument of `haskellPackages.mkDerivation` has been deprecated in favour of `testTargets`.
`testTarget` took a space separated string of targets, whereas the new `testTargets` argument takes a list of targets.
For instance, `testTarget = "foo bar baz"` should become `testTargets = [ "foo" "bar" "baz" ]`.
- `rustPlatform.buildRustPackage` stops handling the deprecated argument `cargoSha256`. Out-of-tree packages that haven't migrated from `cargoSha256` to `cargoHash` now receive errors.
- `nodePackages.stackdriver-statsd-backend` has been removed, as the StackDriver service has been discontinued by Google, and therefore the package no longer works.
- `python3Packages.opentracing` has been removed due to being unmaintained upstream. [OpenTelemetry](https://opentelemetry.io/) is the recommended replacement.
@@ -374,9 +448,16 @@
- `i18n.extraLocales` should now be the preferred way to install additional locales.
- `i18n.supportedLocales` is now considered an implementation detail and will be hidden from the documentation. But the option will still continue to work.
- `i18n.supportedLocales` will now trigger a warning when it omits any locale set in `i18n.defaultLocale`, `i18n.extraLocales` or `i18n.extraLocaleSettings`.
- The options `i18n.defaultCharset` & `i18n.localeCharsets` were added, and they complement `i18n.defaultLocale` & `i18n.extraLocaleSettings` respectively - allowing to control the character set used per locale setting.
- Plasma 5 and Qt 5 based versions of associated software are deprecated in NixOS 25.05, and will be removed in NixOS 25.11. Users are encouraged to upgrade to Plasma 6.
- `titaniumenv`, `titanium`, and `titanium-alloy` have been removed due to lack of maintenance in Nixpkgs []{#sec-nixpkgs-release-25.05-incompatibilities-titanium-removed}.
- [Cursor](https://cursor.com/) — a vscode-based editor that uses AI to help you write code faster — has been packaged as `cursor`.
- `octave` (and `octaveFull`) was updated to version `10.x`. The update broke a few `octavePackages`, and `librsb`. See [the PR's commits](https://github.com/NixOS/nixpkgs/pull/394495/commits) for more details.
- androidenv has been improved:
- All versions specified in composeAndroidPackages now track the latest. Android packages are automatically updated on unstable, and run the androidenv test suite on every update.
- Many androidenv packages are now searchable on [search.nixos.org](https://search.nixos.org).
@@ -386,26 +467,79 @@
- `gerbera` now has wavpack support.
- `buildPythonPackage`, `buildPythonApplication` and the Python building setup hooks now support both `__structuredAttrs = true` and `__structuredAttrs = false`.
- `buildGoModule` now supports a self-referencing `finalAttrs:` parameter
containing the final arguments including overrides.
This allows packaging configuration to be overridden in a consistent manner by
providing an alternative to `rec {}` syntax.
- Caddy can now be built with plugins by using `caddy.withPlugins`, a `passthru` function that accepts an attribute set as a parameter. The `plugins` argument represents a list of Caddy plugins, with each Caddy plugin being a versioned module. The `hash` argument represents the `vendorHash` of the resulting Caddy source code with the plugins added.
Example:
```nix
let
pkgs = import <nixpkgs> { };
in
pkgs.caddy.withPlugins {
plugins = [
# tagged upstream
"github.com/caddy-dns/powerdns@v1.0.1"
# pseudo-version number generated by Go
"github.com/caddy-dns/cloudflare@v0.0.0-20240703190432-89f16b99c18e"
"github.com/mholt/caddy-webdav@v0.0.0-20241008162340-42168ba04c9d"
];
hash = "sha256-wqXSd1Ep9TVpQi570TTb96LwzNYvWL5EBJXMJfYWCAk=";
}
```
To get the necessary hash of the vendored dependencies, omit `hash`. The build will fail and tell you the correct value.
Note that all provided plugins must have versions/tags (string after `@`), even if upstream repo does not tag each release. For untagged plugins, you can either create an empty Go project and run `go get <plugin>` and see changes in `go.mod` to get the pseudo-version number, or provide a commit hash in place of version/tag for the first run, and update the plugin string based on the error output.
- The `godot-export-templates` package now has its content at `share/godot/export_templates/$version` instead of the output root. This makes it more convenient for for symlinking into `~/.local`, but scripts expecting the old layout will need to be changed.
- GOverlay has been updated to 1.2, please check the [upstream changelog](https://github.com/benjamimgois/goverlay/releases) for more details.
- `tpm2-pkcs11` now has the variant `tpm2-pkcs11-fapi`, which has been patched to default to the Feature API backend. It has also been split into `tpm2-pkcs11-esapi`, which _only_ supports the older Enhanced System API backend. Note the [differences](https://github.com/tpm2-software/tpm2-pkcs11/blob/1.9.1/docs/FAPI.md), and that `tpm2-pkcs11` itself still needs `TPM2_PKCS11_BACKEND=fapi` exported in order to use the Feature API, whereas `tpm2-pkcs11-fapi` does not, and `tpm2-pkcs11-esapi` just does not support fapi entirely.
- For matrix homeserver Synapse we are now following the upstream recommendation to enable jemalloc as the memory allocator by default.
- Mattermost, a self-hosted chat collaboration platform supporting calls, playbooks, and boards, has been updated. It now has multiple versions, disabled telemetry, and a native frontend build in nixpkgs, removing all upstream prebuilt blobs.
- A new `pkgs.mattermost.buildPlugin` function has been added, which allows plugins to be built from source, including webapp frontends with a supported package-lock.json. See the Mattermost NixOS test and [manual](https://nixos.org/manual/nixos/unstable#sec-mattermost-plugins-build) for an example.
- The Mattermost frontend is now built from source and can be overridden. Note that the Mattermost derivation containing both the webapp and server is now wrapped to allow them to be built independently, so overrides to both webapp and server look like `mattermost.overrideAttrs (prev: { webapp = prev.webapp.override { ... }; server = prev.server.override { ... }; })` now.
- `pkgs.mattermost` has been updated from 9.11 to 10.5 to track the latest extended support release, since 9.11 will become end-of-life during the lifetime of NixOS 25.05.
- `pkgs.mattermostLatest` is now an option to track the latest (non-prerelease) Mattermost release. We test upgrade migrations from ESR releases (`pkgs.mattermost`) to `pkgs.mattermostLatest`.
- A new hardening flag, `nostrictaliasing` was made available, corresponding to the gcc/clang option `-fno-strict-aliasing`.
- The `stackclashprotection` hardening flag has been enabled by default on compilers that support it.
- In `dovecot` package removed hard coding path to module directory.
- `authelia` version 4.39.0 has made some changes which deprecate older configurations.
They are still expected to be working until future version 5.0.0, but will generate warnings in logs.
Read the [release notes](https://www.authelia.com/blog/4.39-release-notes/) for human readable summaries of the changes.
- `hddfancontrol` has been updated to major release 2. See the [migration guide](https://github.com/desbma/hddfancontrol/tree/master?tab=readme-ov-file#migrating-from-v1x), as there are breaking changes.
- `nextcloud-news-updater` is unmaintained and was removed from nixpkgs.
- KDE Partition Manager `partitionmanager`'s support for ReiserFS is removed.
ReiserFS has not been actively maintained for many years. It has been marked as obsolete since Linux 6.6, and
[is removed](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c01f664e4ca210823b7594b50669bbd9b0a3c3b0)
in Linux 6.13.
- `gerbera` now has wavpack support.
- `signal-desktop` has been migrated to a from source build. No state migration is necessary. In case there's no working source build available (like on Darwin), the the binary build is still available at `signal-desktop-bin`.
- `ddclient` was updated from 3.11.2 to 4.0.0 [Release notes](https://github.com/ddclient/ddclient/releases/tag/v4.0.0)
### NexusMods.App upgraded {#sec-nixpkgs-release-25.05-incompatibilities-nexusmods-app-upgraded}
- `nexusmods-app` has been upgraded from version 0.6.3 to 0.10.2.
- Before upgrading, you **must reset all app state** (mods, games, settings, etc). NexusMods.App will crash if any state from a version older than 0.7.0 is still present.
- Typically, you can can reset to a clean state by running `NexusMods.App uninstall-app`. See Nexus Mod's [how to uninstall the app](https://nexus-mods.github.io/NexusMods.App/users/Uninstall) documentation for more detail and alternative methods.
- This should not be necessary going forward, because loading app state from 0.7.0 or newer is now supported. This is documented in the [0.7.1 changelog](https://github.com/Nexus-Mods/NexusMods.App/releases/tag/v0.7.1).
## Nixpkgs Library {#sec-nixpkgs-release-25.05-lib}
@@ -416,15 +550,7 @@
- [`lib.types.enum`](https://nixos.org/manual/nixos/unstable/#sec-option-types-basic): Previously the `functor.payload` was the list of enum values directly. Now it is an attribute set containing the values in the `values` attribute.
- [`lib.types.separatedString`](https://nixos.org/manual/nixos/unstable/#sec-option-types-string): Previously the `functor.payload` was the separator directly. Now it is an attribute set containing the separator in the `sep` attribute.
- The `tinycc` package now has the `dev`, `doc` and `lib` outputs, thus,
`tinycc.out` may now only provide the tcc and cross compilers binaries.
- The `virtualisation.hypervGuest.videoMode` option has been removed. Standard tooling can now be used to configure display modes for Hyper-V VMs.
- [`lib.packagesFromDirectoryRecursive`] now rejects unknown arguments.
[`lib.packagesFromDirectoryRecursive`]: https://nixos.org/manual/nixpkgs/stable/#function-library-lib.filesystem.packagesFromDirectoryRecursive
- The `godot-export-templates` package now has its content at `share/godot/export_templates/$version` instead of the output root. This makes it more convenient for for symlinking into `~/.local`, but scripts expecting the old layout will need to be changed.
- [`lib.packagesFromDirectoryRecursive`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.filesystem.packagesFromDirectoryRecursive) now rejects unknown arguments.
### Deprecations {#sec-nixpkgs-release-25.05-lib-deprecations}
@@ -438,14 +564,6 @@
- `lib.types.coercedTo`
- `lib.types.either`
- The `testTarget` argument of `haskellPackages.mkDerivation` has been deprecated in favour of `testTargets`.
`testTarget` took a space separated string of targets, whereas the new `testTargets` argument takes a list of targets.
For instance, `testTarget = "foo bar baz"` should become `testTargets = [ "foo" "bar" "baz" ]`.
- Plasma 5 and Qt 5 based versions of associated software are deprecated in NixOS 25.05, and will be removed in NixOS 25.11. Users are encouraged to upgrade to Plasma 6.
- `rustPlatform.buildRustPackage` stops handling the deprecated argument `cargoSha256`. Out-of-tree packages that haven't migrated from `cargoSha256` to `cargoHash` now receive errors.
### Additions and Improvements {#sec-nixpkgs-release-25.05-lib-additions-improvements}
- [`lib.packagesFromDirectoryRecursive`] can now construct nested scopes matching the directory tree passed as input.
- [`lib.packagesFromDirectoryRecursive`](https://nixos.org/manual/nixpkgs/unstable/#function-library-lib.filesystem.packagesFromDirectoryRecursive) can now construct nested scopes matching the directory tree passed as input.

View File

@@ -289,8 +289,7 @@ rec {
*/
availableOn =
platform: pkg:
pkg != null
&& ((!pkg ? meta.platforms) || any (platformMatch platform) pkg.meta.platforms)
((!pkg ? meta.platforms) || any (platformMatch platform) pkg.meta.platforms)
&& all (elem: !platformMatch platform elem) (pkg.meta.badPlatforms or [ ]);
/**

View File

@@ -7195,7 +7195,6 @@
email = "fedi.jamoussi@protonmail.ch";
github = "eljamm";
githubId = 83901271;
keys = [ { fingerprint = "FF59 E027 4EE2 E792 512B BDC8 7630 FDF7 C8FB 1F3F"; } ];
};
elkowar = {
email = "thereal.elkowar@gmail.com";
@@ -7423,6 +7422,11 @@
githubId = 5085029;
name = "Emanuele Peruffo";
};
epireyn = {
github = "epireyn";
githubId = 48213068;
name = "Edgar Pireyn";
};
equirosa = {
email = "eduardo@eduardoquiros.com";
github = "equirosa";
@@ -18218,10 +18222,11 @@
name = "Dakota";
};
ohheyrj = {
email = "richard+nix@ohheyrj.co.uk";
email = "richard@ohheyrj.co.uk";
github = "ohheyrj";
name = "ohheyrj";
githubId = 5339261;
keys = [ { fingerprint = "4258 3FE7 12E9 6071 E84D 53C7 6E1D A270 0B72 746D"; } ];
};
oida = {
email = "oida@posteo.de";
@@ -20967,6 +20972,12 @@
githubId = 807447;
name = "Robert Scott";
};
Rishabh5321 = {
name = "Rishabh Singh";
email = "rishabh98818@gmail.com";
github = "Rishabh5321";
githubId = 40533251;
};
Rishik-Y = {
name = "Rishik Yalamanchili";
email = "202301258@daiict.ac.in";
@@ -24569,6 +24580,12 @@
githubId = 6579555;
name = "Jeroen Jetten";
};
thetaoofsu = {
email = "TheTaoOfSu@protonmail.com";
github = "TheTaoOfSu";
githubId = 45526311;
name = "TheTaoOfSu";
};
theuni = {
email = "ct@flyingcircus.io";
github = "ctheune";
@@ -25084,6 +25101,12 @@
github = "totoroot";
githubId = 39650930;
};
tournev = {
name = "Vincent Tourneur";
email = "vincent@pimoid.fr";
github = "vtourneur";
githubId = 48284424;
};
ToxicFrog = {
email = "toxicfrog@ancilla.ca";
github = "ToxicFrog";

View File

@@ -6,7 +6,7 @@ expressions and associated binaries. The NixOS channels are updated
automatically from NixOS's Git repository after certain tests have
passed and all packages have been built. These channels are:
- *Stable channels*, such as [`nixos-24.11`](https://channels.nixos.org/nixos-24.11).
- *Stable channels*, such as [`nixos-25.05`](https://channels.nixos.org/nixos-25.05).
These only get conservative bug fixes and package upgrades. For
instance, a channel update may cause the Linux kernel on your system
to be upgraded from 4.19.34 to 4.19.38 (a minor bug fix), but not
@@ -19,7 +19,7 @@ passed and all packages have been built. These channels are:
radical changes between channel updates. It's not recommended for
production systems.
- *Small channels*, such as [`nixos-24.11-small`](https://channels.nixos.org/nixos-24.11-small)
- *Small channels*, such as [`nixos-25.05-small`](https://channels.nixos.org/nixos-25.05-small)
or [`nixos-unstable-small`](https://channels.nixos.org/nixos-unstable-small).
These are identical to the stable and unstable channels described above,
except that they contain fewer binary packages. This means they get updated
@@ -38,8 +38,8 @@ supported stable release.
When you first install NixOS, you're automatically subscribed to the
NixOS channel that corresponds to your installation source. For
instance, if you installed from a 24.11 ISO, you will be subscribed to
the `nixos-24.11` channel. To see which NixOS channel you're subscribed
instance, if you installed from a 25.05 ISO, you will be subscribed to
the `nixos-25.05` channel. To see which NixOS channel you're subscribed
to, run the following as root:
```ShellSession
@@ -54,16 +54,16 @@ To switch to a different NixOS channel, do
```
(Be sure to include the `nixos` parameter at the end.) For instance, to
use the NixOS 24.11 stable channel:
use the NixOS 25.05 stable channel:
```ShellSession
# nix-channel --add https://channels.nixos.org/nixos-24.11 nixos
# nix-channel --add https://channels.nixos.org/nixos-25.05 nixos
```
If you have a server, you may want to use the "small" channel instead:
```ShellSession
# nix-channel --add https://channels.nixos.org/nixos-24.11-small nixos
# nix-channel --add https://channels.nixos.org/nixos-25.05-small nixos
```
And if you want to live on the bleeding edge:
@@ -117,6 +117,6 @@ modules. You can also specify a channel explicitly, e.g.
```nix
{
system.autoUpgrade.channel = "https://channels.nixos.org/nixos-24.11";
system.autoUpgrade.channel = "https://channels.nixos.org/nixos-25.05";
}
```

View File

@@ -2001,7 +2001,8 @@
"release-notes.html#sec-nixpkgs-release-25.05"
],
"sec-nixpkgs-release-25.05-incompatibilities": [
"release-notes.html#sec-nixpkgs-release-25.05-incompatibilities"
"release-notes.html#sec-nixpkgs-release-25.05-incompatibilities",
"release-notes.html#sec-nixpkgs-release-25.05-incompatibilities-nexusmods-app-upgraded"
],
"sec-nixpkgs-release-25.05-incompatibilities-titanium-removed": [
"release-notes.html#sec-nixpkgs-release-25.05-incompatibilities-titanium-removed",
@@ -2009,9 +2010,6 @@
"index.html#building-a-titanium-app",
"index.html#emulating-or-simulating-the-app"
],
"sec-nixpkgs-release-25.05-incompatibilities-nexusmods-app-upgraded": [
"release-notes.html#sec-nixpkgs-release-25.05-incompatibilities-nexusmods-app-upgraded"
],
"sec-nixpkgs-release-25.05-lib": [
"release-notes.html#sec-nixpkgs-release-25.05-lib"
],

View File

@@ -1,26 +1,21 @@
# Nixos 25.05 (“Warbler”, 2025.05/??) {#sec-release-25.05}
# Release 25.05 (“Warbler”, 2025.05/23) {#sec-release-25.05}
## Highlights {#sec-release-25.05-highlights}
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
Alongside many enhancements to NixOS modules and general system improvements, this release features the following highlights:
- NixOS now has initial support for the [**COSMIC DE**](https://system76.com/cosmic) which is currently at **Alpha 7**. COSMIC is a Rust-based Desktop Environment by System76, makers of Pop!_OS. You can use COSMIC by enabling the greeter (login manager) with [](#opt-services.displayManager.cosmic-greeter.enable), and the DE itself by enabling [](#opt-services.desktopManager.cosmic.enable). The support in NixOS/Nixpkgs is stable but still considered experimental because of the recent the addition. The COSMIC maintainers will be waiting for one more release of NixOS to determine if the experimental tag should be removed or not. Until then, please report any issues to the [COSMIC DE tracker in Nixpkgs](https://github.com/NixOS/nixpkgs/issues/259641) instead of upstream.
- `nixos-rebuild-ng`, a full rewrite of `nixos-rebuild` in Python, is available for testing. You can enable it by setting [](#opt-system.rebuild.enableNg) in your configuration (this will replace the old `nixos-rebuild`), or by adding `nixos-rebuild-ng` to your `environment.systemPackages` (in this case, it will live side-by-side with `nixos-rebuild` as `nixos-rebuild-ng`). It is expected that the next major version of NixOS (25.11) will enable `system.rebuild.enableNg` by default.
- The `nixos-generate-config` command now supports a optional `--flake` option, which will generate a flake.nix file alongside the `configuration.nix` and `hardware-configuration.nix`, providing an easy introduction into flake-based system configurations.
- A `nixos-rebuild build-image` sub-command has been added.
It allows users to build platform-specific (disk) images from their NixOS configurations. `nixos-rebuild build-image` works similar to the popular [nix-community/nixos-generators](https://github.com/nix-community/nixos-generators) project. See new [section on image building in the NixOS manual](#sec-image-nixos-rebuild-build-image). It is also available for `nixos-rebuild-ng`.
- `nixos-option` has been rewritten to a Nix expression called by a simple bash script. This lowers our maintenance threshold, makes eval errors less verbose, adds support for flake-based configurations, descending into `attrsOf` and `listOf` submodule options, and `--show-trace`.
- The packaging of Mesa graphics drivers has been significantly reworked, in particular:
- Applications linked against different Mesa versions than installed on the system should now work correctly going forward (however, applications against older Mesa, e.g. from Nixpkgs releases before 25.05, remain broken)
- The global Mesa version can now be managed without a mass rebuild by setting [](#opt-hardware.graphics.package)
- Packages that used to depend on Mesa for libgbm or libdri should use `libgbm` or `dri-pkgconfig-stub` as inputs, respectively
- OpenSSH has been updated from 9.9p2 to 10.0p2, dropping support for DSA keys and adding a new `ssh-auth` binary to handle user authentication in a different address space from unauthenticated sessions. Additionally, we now enable a configure option by default that attempts to lock sshd into RAM to prevent it from being swapped out, which may improve performance if the system is under memory pressure. See the [full changelog](https://www.openwall.com/lists/oss-security/2025/04/09/1) for more details.
- The global Mesa version can now be managed without a mass rebuild by setting [](#opt-hardware.graphics.package).
- GNOME has been updated to version 48.
@@ -32,7 +27,10 @@
Refer to the [GNOME release notes](https://release.gnome.org/48/) for more details.
- The `intel` video driver for X.org (from the xf86-video-intel package, which was previously removed because it was non-functional) has been fixed and the driver has been re-introduced.
- [channels.nixos.org](https://channels.nixos.org) now supports the Lockable HTTP Tarball Protocol. This allows using the channel `nixexprs.tar` as Nix Flake input, e.g.:
```
inputs.nixpkgs.url = "https://channels.nixos.org/nixos-25.05/nixexprs.tar.xz";
```
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
@@ -44,8 +42,7 @@
- [programs.amnezia-vpn](#opt-programs.amnezia-vpn.enable): a GUI client which can also deploy a VPN endpoint to a remote server
- {option}`networking.wireguard` adds support for the [AmneziaWG](https://docs.amnezia.org/documentation/amnezia-wg/) variant of the protocol, featuring better masking against Deep Packet Inspection. The variant to be used is set per interface as `networking.wireguard.interfaces.<name>.type`, defaulting to wireguard.
- [Bazecor](https://github.com/Dygmalab/Bazecor), the graphical configurator for Dygma Products.
- [Bazecor](https://github.com/Dygmalab/Bazecor), the graphical configurator for Dygma Products. Available as [programs.bazecor](#opt-programs.bazecor.enable).
- [Bonsai](https://git.sr.ht/~stacyharper/bonsai), a general-purpose event mapper/state machine primarily used to create complex key shortcuts, and as part of the [SXMO](https://sxmo.org/) desktop environment. Available as [services.bonsaid](#opt-services.bonsaid.enable).
@@ -53,9 +50,9 @@
- [Kimai](https://www.kimai.org/), a web-based multi-user time-tracking application. Available as [services.kimai](options.html#opt-services.kimai).
- [Kismet](https://www.kismetwireless.net/), a Wi-Fi, Bluetooth, and RF monitoring application supporting a wide range of hardware. Available as {option}`services.kismet`.
- [Kismet](https://www.kismetwireless.net/), a Wi-Fi, Bluetooth, and RF monitoring application supporting a wide range of hardware. Available as [services.kismet](#opt-services.kismet.enable).
- [vwifi](https://github.com/Raizo62/vwifi), a Wi-Fi simulator daemon leveraging the `mac80211_hwsim` and `vhost_vsock` kernel modules for efficient simulation of multi-node Wi-Fi networks. Available as {option}`services.vwifi`.
- [vwifi](https://github.com/Raizo62/vwifi), a Wi-Fi simulator daemon leveraging the `mac80211_hwsim` and `vhost_vsock` kernel modules for efficient simulation of multi-node Wi-Fi networks. Available as [services.vwifi](#opt-services.vwifi.client.enable).
- [Oncall](https://oncall.tools), a web-based calendar tool designed for scheduling and managing on-call shifts. Available as [services.oncall](options.html#opt-services.oncall).
@@ -65,18 +62,20 @@
- [Omnom](https://github.com/asciimoo/omnom), a webpage bookmarking and snapshotting service. Available as [services.omnom](options.html#opt-services.omnom.enable).
- [Yggdrasil-Jumper](https://github.com/one-d-wide/yggdrasil-jumper) is an independent project that aims to transparently reduce latency of a connection over Yggdrasil network, utilizing NAT traversal to automatically bypass intermediary nodes.
- [Yggdrasil-Jumper](https://github.com/one-d-wide/yggdrasil-jumper), an independent project that aims to transparently reduce latency of a connection over Yggdrasil network, utilizing NAT traversal to automatically bypass intermediary nodes. Available as [services.yggdrasil-jumper](#opt-services.yggdrasil-jumper.enable).
- [xpad-noone](https://github.com/medusalix/xpad-noone) is the original upstream xpad driver from the Linux kernel with support for Xbox One controllers removed especially useful for people who want to use an XBox One controller under the xone driver and an Xbox 360 controller under the xpad driver at the same time. Available as [hardware.xpad-noone](options.html#hardware.xpad-noone).
- [xpad-noone](https://github.com/medusalix/xpad-noone) is the original upstream xpad driver from the Linux kernel with support for Xbox One controllers removed especially useful for people who want to use an XBox One controller under the `xone` driver and an Xbox 360 controller under the `xpad` driver at the same time. Available as [hardware.xpad-noone](options.html#hardware.xpad-noone).
- [uMurmur](https://umurmur.net), minimalistic Mumble server primarily targeted to run on embedded computers. Available as [services.umurmur](options.html#opt-services.umurmur).
- [Zenoh](https://zenoh.io/), a pub/sub/query protocol with low overhead. The Zenoh router daemon is available as [services.zenohd](options.html#opt-services.zenohd.enable)
- [Zenoh](https://zenoh.io/), a pub/sub/query protocol with low overhead. The Zenoh router daemon is available as [services.zenohd](options.html#opt-services.zenohd.enable).
- [ytdl-sub](https://github.com/jmbannon/ytdl-sub), a tool that downloads media via yt-dlp and prepares it for your favorite media player, including Kodi, Jellyfin, Plex, Emby, and modern music players. Available as [services.ytdl-sub](options.html#opt-services.ytdl-sub.instances).
- [MaryTTS](https://github.com/marytts/marytts), an open-source, multilingual text-to-speech synthesis system written in pure Java. Available as [services.marytts](options.html#opt-services.marytts).
- [Continuwuity](https://continuwuity.org/), a federated chat server implementing the Matrix protocol, forked from Conduwuit. Available as [services.matrix-continuwuity](#opt-services.matrix-continuwuity.enable).
- [Reposilite](https://reposilite.com), a lightweight and easy-to-use repository manager for Maven-based artifacts in the JVM ecosystem. Available as [services.reposilite](options.html#opt-services.reposilite).
- [networking.modemmanager](options.html#opt-networking.modemmanager) has been split out of [networking.networkmanager](options.html#opt-networking.networkmanager). NetworkManager still enables ModemManager by default, but options exist now to run NetworkManager without ModemManager.
@@ -97,6 +96,8 @@
- [crab-hole](https://github.com/LuckyTurtleDev/crab-hole), a cross platform Pi-hole clone written in Rust using hickory-dns/trust-dns. Available as [services.crab-hole](#opt-services.crab-hole.enable).
- [agnos](https://github.com/krtab/agnos), a program that obtains TLS certificates from an ACME provider via the DNS-01 challenge without using third-party DNS provider APIs. Available as [security.agnos](#opt-security.agnos.enable).
- [zwave-js-ui](https://zwave-js.github.io/zwave-js-ui/), a full featured Z-Wave Control Panel and MQTT Gateway. Available as [services.zwave-js-ui](#opt-services.zwave-js-ui.enable).
- [Pinchflat](https://github.com/kieraneglin/pinchflat), a selfhosted YouTube media manager used to track channels and download videos on release. Available as [services.pinchflat](#opt-services.pinchflat.enable).
@@ -125,7 +126,7 @@
- [agorakit](https://github.com/agorakit/agorakit), an organization tool for citizens' collectives. Available with [services.agorakit](options.html#opt-services.agorakit.enable).
- [vivid](https://github.com/sharkdp/vivid), a generator for LS_COLOR. Available as [programs.vivid](#opt-programs.vivid.enable).
- [vivid](https://github.com/sharkdp/vivid), a generator for `LS_COLOR`. Available as [programs.vivid](#opt-programs.vivid.enable).
- [matrix-alertmanager](https://github.com/jaywink/matrix-alertmanager), a bot to receive Alertmanager webhook events and forward them to chosen Matrix rooms. Available as [services.matrix-alertmanager](options.html#opt-services.matrix-alertmanager.enable).
@@ -135,13 +136,13 @@
- [grav](https://getgrav.org/), a modern flat-file CMS. Available with [services.grav](options.html#opt-services.grav.enable).
- [duckdns](https://www.duckdns.org), free dynamic DNS. Available with [services.duckdns](options.html#opt-services.duckdns.enable)
- [duckdns](https://www.duckdns.org), free dynamic DNS. Available with [services.duckdns](options.html#opt-services.duckdns.enable).
- [Zoxide](https://github.com/ajeetdsouza/zoxide), a smarter cd command, inspired by z and autojump. Available as [programs.zoxide](options.html#opt-programs.zoxide.enable)
- [Zoxide](https://github.com/ajeetdsouza/zoxide), a smarter cd command, inspired by z and autojump. Available as [programs.zoxide](options.html#opt-programs.zoxide.enable).
- [victorialogs](https://docs.victoriametrics.com/victorialogs/), log database from VictoriaMetrics. Available as [services.victorialogs](#opt-services.victorialogs.enable)
- [victorialogs](https://docs.victoriametrics.com/victorialogs/), log database from VictoriaMetrics. Available as [services.victorialogs](#opt-services.victorialogs.enable).
- [gokapi](https://github.com/Forceu/Gokapi), Lightweight selfhosted Firefox Send alternative without public upload. AWS S3 supported. Available with [services.gokapi](options.html#opt-services.gokapi.enable)
- [gokapi](https://github.com/Forceu/Gokapi), Lightweight selfhosted Firefox Send alternative without public upload. AWS S3 supported. Available with [services.gokapi](options.html#opt-services.gokapi.enable).
- [nostr-rs-relay](https://git.sr.ht/~gheartsfield/nostr-rs-relay/), This is a nostr relay, written in Rust. Available as [services.nostr-rs-relay](options.html#opt-services.nostr-rs-relay.enable).
@@ -149,7 +150,7 @@
- [strfry](https://github.com/hoytech/strfry), a relay for the nostr protocol. Available as [services.strfry](options.html#opt-services.strfry.enable).
- [Prometheus Node Cert Exporter](https://github.com/amimof/node-cert-exporter), a prometheus exporter to check for SSL cert expiry. Available under [services.prometheus.exporters.node-cert](#opt-services.prometheus.exporters.node-cert.enable).
- [Prometheus Node Cert Exporter](https://github.com/amimof/node-cert-exporter), a prometheus exporter to check for SSL cert expiry. Available as [services.prometheus.exporters.node-cert](#opt-services.prometheus.exporters.node-cert.enable).
- [Actual Budget](https://actualbudget.org/), a local-first personal finance app. Available as [services.actual](#opt-services.actual.enable).
@@ -165,7 +166,7 @@
- [alertmanager-ntfy](https://github.com/alexbakker/alertmanager-ntfy), forwards Prometheus Alertmanager notifications to ntfy.sh. Available as [services.prometheus.alertmanager-ntfy](#opt-services.prometheus.alertmanager-ntfy.enable).
- [Stash](https://github.com/stashapp/stash), An organizer for your adult videos/images, written in Go. Available as [services.stash](#opt-services.stash.enable).
- [Stash](https://github.com/stashapp/stash), an organizer for your adult videos/images, written in Go. Available as [services.stash](#opt-services.stash.enable).
- [vsmartcard-vpcd](https://frankmorgner.github.io/vsmartcard/virtualsmartcard/README.html), a virtual smart card driver. Available as [services.vsmartcard-vpcd](#opt-services.vsmartcard-vpcd.enable).
@@ -205,7 +206,7 @@
- [KanBoard](https://github.com/kanboard/kanboard), a project management tool that focuses on the Kanban methodology. Available as [services.kanboard](#opt-services.kanboard.enable).
- [git-worktree-switcher](https://github.com/mateusauler/git-worktree-switcher), switch between git worktrees with speed. Available as [programs.git-worktree-switcher](#opt-programs.git-worktree-switcher.enable)
- [git-worktree-switcher](https://github.com/mateusauler/git-worktree-switcher), switch between git worktrees with speed. Available as [programs.git-worktree-switcher](#opt-programs.git-worktree-switcher.enable).
- [GLPI-Agent](https://github.com/glpi-project/glpi-agent), GLPI Agent. Available as [services.glpiAgent](options.html#opt-services.glpiAgent.enable).
@@ -215,25 +216,23 @@
- [Rebuilderd](https://github.com/kpcyrd/rebuilderd) an independent verification of binary packages - Reproducible Builds. Available as [services.rebuilderd](#opt-services.rebuilderd.enable).
- [Limine](https://github.com/limine-bootloader/limine) a modern, advanced, portable, multiprotocol bootloader and boot manager. Available as [boot.loader.limine](#opt-boot.loader.limine.enable)
- [Limine](https://github.com/limine-bootloader/limine) a modern, advanced, portable, multiprotocol bootloader and boot manager. Available as [boot.loader.limine](#opt-boot.loader.limine.enable).
- [Orthanc](https://orthanc.uclouvain.be/) a lightweight, RESTful DICOM server for healthcare and medical research. Available as [services.orthanc](#opt-services.orthanc.enable).
- [Docling Serve](https://github.com/docling-project/docling-serve) running [Docling](https://github.com/docling-project/docling) as an API service. Available as [services.docling-serve](#opt-services.docling-serve.enable).
- [Pareto Security](https://paretosecurity.com/) is an alternative to corporate compliance solutions for companies that care about security but know it doesn't have to be invasive. Available as [services.paretosecurity](#opt-services.paretosecurity.enable)
- [Cursor](https://cursor.com/) is a vscode-based editor that uses AI to help you write code faster.
- [Pareto Security](https://paretosecurity.com/) is an alternative to corporate compliance solutions for companies that care about security but know it doesn't have to be invasive. Available as [services.paretosecurity](#opt-services.paretosecurity.enable).
- [GNU Rush](https://gnu.org/software/rush/) is a Restricted User Shell, designed for systems providing limited remote access to their resources. Available as [programs.rush](#opt-programs.rush.enable).
- [ipfs-cluster](https://ipfscluster.io/), Pinset orchestration for IPFS. Available as [services.ipfs-cluster](#opt-services.ipfs-cluster.enable)
- [ipfs-cluster](https://ipfscluster.io/), Pinset orchestration for IPFS. Available as [services.ipfs-cluster](#opt-services.ipfs-cluster.enable).
- [bitbox-bridge](https://github.com/BitBoxSwiss/bitbox-bridge), a bridge software that connects BitBox hardware wallets to computers & web wallets like [Rabby](https://rabby.io/). Allows one to interact & transact with smart contracts, Web3 websites & financial services without storing private keys anywhere other than the hardware wallet. Available as [services.bitbox-bridge](#opt-services.bitbox-bridge.enable).
- [GoDNS](https://github.com/TimothyYe/godns), a dynamic DNS client written in Go, which supports multiple DNS providers. Available as [services.godns](option.html#opt-services.godns.enable).
- [CookCLI](https://cooklang.org/cli/) Server, a web UI for cooklang recipes.
- [CookCLI](https://cooklang.org/cli/) Server, a web UI for cooklang recipes. Available as [services.cook-cli](#opt-services.cook-cli.enable).
- [Prometheus eBPF Exporter](https://github.com/cloudflare/ebpf_exporter),
Prometheus exporter for custom eBPF metrics. Available as
@@ -253,8 +252,6 @@
and error starting 25.05 with instructions the following instructions:
The canonical source for NixOS AMIs is the AWS API. Please see https://nixos.org/download/#nixos-amazon or https://nixos.github.io/amis/ for instructions.
- The udev rules of the libjaylink package require users to be in the `jlink` instead of `plugdev` group now, since the `plugdev` group is very uncommon for NixOS. Alternatively, access is granted to seat sessions.
- The latest available version of Nextcloud is v31 (available as `pkgs.nextcloud31`). The installation logic is as follows:
- If [`services.nextcloud.package`](#opt-services.nextcloud.package) is specified explicitly, this package will be installed (**recommended**)
- If [`system.stateVersion`](#opt-system.stateVersion) is >=24.11, `pkgs.nextcloud30` will be installed by default.
@@ -268,11 +265,20 @@
[not recommended by upstream](https://docs.nextcloud.com/server/30/admin_manual/installation/system_requirements.html)
and thus doesn't qualify as default.
- PowerDNS Recursor has been updated to version 5.1.2, which comes with a new YAML configuration format (`recursor.yml`)
and deprecates the previous format (`recursor.conf`). Accordingly, the NixOS option `services.pdns-recursor.settings`
has been renamed to [old-settings](#opt-services.pdns-recursor.old-settings) and will be provided for backward compatibility
until the next NixOS release. Users are asked to migrate their settings to the new [yaml-settings](#opt-services.pdns-recursor.old-settings)
option following this [guide](https://doc.powerdns.com/recursor/appendices/yamlconversion.html).
Note that options other than `services.pdns-recursor.settings` are unaffacted by this change.
- The `virtualisation.hypervGuest.videoMode` option has been removed. Standard tooling can now be used to configure display modes for Hyper-V VMs.
- Nextcloud's default FPM pool settings have been increased according to upstream recommentations. It's advised
to review the new defaults and description of
[](#opt-services.nextcloud.poolSettings).
- In `users.users` allocation on systems with multiple users it could happen that collided with others. Now these users get new subuid ranges assigned. When this happens, a warning is issued on the first activation. If the subuids were used (e.g. with rootless container managers like podman), please change the ownership of affected files accordingly.
- In `users.users` subuid allocation on systems with multiple users it could happen that some users' allocated subuid ranges collided with others. Now these users get new subuid ranges assigned. When this happens, a warning is issued on the first activation. If the subuids were used (e.g. with rootless container managers like podman), please change the ownership of affected files accordingly.
- The `services.locate` module does no longer support findutil's `locate` due to its inferior performance compared to `mlocate` and `plocate`. The new default is `plocate`.
As the `service.locate.localuser` option only applied when using findutil's `locate`, it has also been removed.
@@ -280,12 +286,6 @@
- `services.paperless` now installs `paperless-manage` as a normal system package instead of creating a symlink in `/var/lib/paperless`.
`paperless-manage` now also changes to the appropriate user when being executed.
- The `gotenberg` package has been updated to 8.16.0, which brings breaking changes to the configuration from version 8.13.0. See the [upstream release notes](https://github.com/gotenberg/gotenberg/releases/tag/v8.13.0)
for that release to get all the details. The `services.gotenberg` module has been updated appropriately to ensure your configuration is valid with this new release.
- `varnish` was updated from 7.5.0 to 7.7.0, see [Varnish 7.6.0 upgrade guide](https://varnish-cache.org/docs/7.6/whats-new/upgrading-7.6.html) and
[Varnish 7.7.0 upgrade guide](https://varnish-cache.org/docs/7.7/whats-new/upgrading-7.7.html#whatsnew-upgrading-7-7).
- `asusd` has been upgraded to version 6 which supports multiple aura devices. To account for this, the single `auraConfig` configuration option has been replaced with `auraConfigs` which is an attribute set of config options per each device. The config files may also be now specified as either source files or text strings; to account for this you will need to specify that `text` is used for your existing configs, e.g.:
```diff
-services.asusd.asusdConfig = '''file contents'''
@@ -294,21 +294,13 @@
- `linuxPackages.nvidiaPackages.stable` now defaults to the `production` variant instead of `latest`.
- `paperless-ngx` has been updated to minor version 2.15 which switched the web server from Gunicorn to Granian. If you set Gunicorn specific envs (usually contain GUNICORN) they must be updated. Also `services.paperless.address` no longer accepts a domain name and Granian also does not support listening on unix domain sockets.
- `timescaledb` requires manual upgrade steps.
After you run ALTER EXTENSION, you must run [this SQL script](https://github.com/timescale/timescaledb-extras/blob/master/utils/2.15.X-fix_hypertable_foreign_keys.sql). For more details, see the following pull requests [#6797](https://github.com/timescale/timescaledb/pull/6797).
PostgreSQL 13 is no longer supported in TimescaleDB v2.16.
- `services.paperless.address` no longer accepts a domain name or Unix domain socket.
- `networking.wireguard.enable = true` does not always add `wireguard-tools` to system packages anymore. Only when wireguard interfaces are configured, the backing implementation packages are added to system PATH.
- `virtualisation/azure-common.nix`'s filesystem and grub configurations have been moved to `virtualisation/azure-image.nix`. This makes `azure-common.nix` more generic so it could be used for users who generate Azure image using other methods (e.g. nixos-generators and disko). For existing users depending on these configurations, please also import `azure-image.nix`.
- `zammad` has had its support for MySQL removed, since it was never working correctly and is now deprecated upstream. Check the [migration guide](https://docs.zammad.org/en/latest/appendix/migrate-to-postgresql.html) for how to convert your database to PostgreSQL.
- `tauon` 7.9.0+ when launched for the first time, migrates its database to a new schema that is not backwards compatible. Older versions will refuse to start at all with that database afterwards. If you need to still use older tauon versions, make sure to back up `~/.local/share/TauonMusicBox`.
- `aws-workspaces` has dropped support for PCoiP networking.
- `services.signald` has been removed as `signald` is unmaintained upstream and has been incompatible to official Signal servers for a long while.
- The `earlyoom` service is now using upstream systemd service, which enables
hardening and filesystem isolation by default. If you need filesystem write
@@ -329,58 +321,18 @@
- `services.bird2` has been renamed to `services.bird` and the default bird package has been switched to `bird3`. `bird2` can still be chosen via the `services.bird.package` option.
- `renovate` was updated to v39. See the [upstream release notes](https://docs.renovatebot.com/release-notes-for-major-versions/#version-39) for breaking changes.
Like upstream's docker images, renovate now runs on NodeJS 22.
- The behavior of the `networking.nat.externalIP` and `networking.nat.externalIPv6` options has been changed. `networking.nat.forwardPorts` now only forwards packets destined for the specified IP addresses.
- `gitlab` has been updated from 17.x to 18.x and requires `postgresql` >= 16, as stated in the [documentation](https://docs.gitlab.com/18.0/install/requirements/#postgresql). Check the [upgrade guide](#module-services-postgres-upgrading) in the NixOS manual on how to upgrade your PostgreSQL installation.
- `services.gitlab` now requires the setting of `activeRecordPrimaryKeyFile`, `activeRecordDeterministicKeyFile`, `activeRecordSaltFile` as GitLab introduced Rails ActiveRecord encryption.
- `python3Packages.bpycv` has been removed due to being incompatible with Blender 4 and unmaintained.
- `python3Packages.jaeger-client` was removed because it was deprecated upstream. [OpenTelemetry](https://opentelemetry.io) is the recommended replacement.
- `rocmPackages_6` has been updated to ROCm 6.3.
- `rocmPackages_5` has been removed.
- `rocmPackages.rocm-thunk` has been removed and its functionality has been integrated with the ROCm CLR. Use `rocmPackages.clr` instead.
- `rocmPackages.clang-ocl` has been removed. [It was deprecated by AMD in 2023.](https://github.com/ROCm/clang-ocl)
- `nodePackages.meshcommander` has been removed, as the package was deprecated by Intel.
- The default version of `z3` has been updated from 4.8 to 4.13. There are still a few packages that need specific older versions; those will continue to be maintained as long as other packages depend on them but may be removed in the future.
- `prometheus` has been updated from 2.55.0 to 3.1.0.
Read the [release blog post](https://prometheus.io/blog/2024/11/14/prometheus-3-0/) and
[migration guide](https://prometheus.io/docs/prometheus/3.1/migration/).
- The Mattermost module ([`services.mattermost`](#opt-services.mattermost.enable)) and packages (`mattermost` and `mmctl`) have been substantially updated:
- `services.mattermost.listenAddress` has been split into [](#opt-services.mattermost.host) and [](#opt-services.mattermost.port). If your `listenAddress` contained a port, you will need to edit your configuration. This will be the only truly breaking change in this release for most configurations.
- [](#opt-services.mattermost.preferNixConfig) now defaults to true if you advance [](#opt-system.stateVersion) to 25.05. This means that if you have [](#opt-services.mattermost.mutableConfig) set, NixOS will override settings set in the Admin Console to those that you define in the module configuration. It is recommended to leave this at the default, even if you used a fully mutable configuration before, because it will ensure that your Mattermost data directories are correct. If you moved your data directories, you may want to review the module changes before upgrading.
- Mattermost now supports peer authentication on both MySQL and Postgres database backends. Updating [](#opt-system.stateVersion) to 25.05 or later will result in peer authentication being used by default if the Mattermost server would otherwise be connecting to localhost. This is the recommended configuration.
- Note that the Mattermost module will create an account _without_ a well-known UID if the username differs from the default (`mattermost`). If you used Mattermost with a nonstandard username, you may want to review the module changes before upgrading.
- `kanata` was updated to v1.8.0, which introduces several breaking changes.
See the release notes of
[v1.7.0](https://github.com/jtroo/kanata/releases/tag/v1.7.0) and
[v1.8.0](https://github.com/jtroo/kanata/releases/tag/v1.8.0)
for more information.
- `authelia` version 4.39.0 has made changes on the default claims for ID Tokens, to mirror the standard claims from the specification.
This change may affect some clients in unexpected ways, so manual intervention may be required.
Read the [release notes](https://www.authelia.com/blog/4.39-release-notes/), along with [the guide](https://www.authelia.com/integration/openid-connect/openid-connect-1.0-claims/#restore-functionality-prior-to-claims-parameter) to work around issues that may be encountered.
- `ags` was updated to v2, which is just a CLI for Astal now. Components are available as a different package set `astal.*`.
If you want to use v1, it is available as `ags_1` package.
See the release notes of
[v2.0.0](https://github.com/Aylur/ags/releases/tag/v2.0.0)
for more information.
- `nodePackages.expo-cli` has been removed, as it was deprecated by upstream. The suggested replacement is the `npx expo` command.
- DokuWiki with the Caddy webserver (`services.dokuwiki.webserver = "caddy"`) now sets up sites with Caddy's automatic HTTPS instead of HTTP-only.
To keep the old behavior for a site `example.com`, set `services.caddy.virtualHosts."example.com".hostName = "http://example.com"`.
If you set custom Caddy options for a DokuWiki site, migrate these options by removing `http://` from `services.caddy.virtualHosts."http://example.com"`.
@@ -389,21 +341,10 @@
Given a site example.com, http://example.com now 301 redirects to https://example.com.
To keep the old behavior for a site `example.com`, set `services.caddy.virtualHosts."example.com".hostName = "http://example.com"`.
- `slskd` has been updated to v0.22.3, which includes breaking changes to `script` integrations. Please review the [changelog](https://github.com/slskd/slskd/releases/tag/0.22.3)
and the accompanying [pull request](https://github.com/slskd/slskd/pull/1292).
- `forgejo` and `forgejo-lts` have been updated to v11.
See upstreams [release blog post](https://forgejo.org/2025-04-release-v11-0/) for more information.
- `unifi` has been updated to v9.1.
This version should be backward compatible with v8.x, however as a result, `unifi8` package has been removed.
- The behavior of `services.hostapd.radios.<name>.networks.<name>.authentication.enableRecommendedPairwiseCiphers` was changed to not include `CCMP-256` anymore.
Since all configured pairwise ciphers have to be supported by the radio, this caused startup failures on many devices which is hard to debug in hostapd.
- The `conduwuit` matrix server implementation has officially been discontinued by upstream and the package has thus been marked as vulnerable, as it is a security-sensitive package that has reached EOL.
- `gkraken` software and `hardware.gkraken.enable` option have been removed, use `coolercontrol` via `programs.coolercontrol.enable` option instead.
- The `hardware.gkraken` module has been removed. The recommended alternative is [`programs.coolercontrol`](#opt-programs.coolercontrol.enable).
- To avoid delaying user logins unnecessarily the `multi-user.target` is no longer ordered after `network-online.target`.
System services requiring a connection to start correctly must explicitly state so, i.e.
@@ -434,7 +375,7 @@
Names are now known at evaluation time and customizable via the new options `image.baseName`, `image.extension`, `image.fileName` and `image.filePath` with the latter returning a path relative to the derivations out path (e.g. `iso/${image.fileName` for iso images).
| `system.build` Option | Old Filename | New Filename |
|--------------------------+------------------------------------------------------------+-----------------------------------------------------------------|
| ------------------------ | ---------------------------------------------------------- | ----------------------------------------------------------------|
| amazonImage | nixos-amazon-image-25.05pre-git-x86_64-linux.vhd | nixos-image-amazon-25.05pre-git-x86_64-linux.vhd |
| azureImage | disk.vhd | nixos-image-azure-25.05pre-git-x86_64-linux.vhd |
| digitalOceanImage | nixos.qcow2.gz | nixos-image-digital-ocean-25.05pre-git-x86_64-linux.qcow2.gz |
@@ -457,10 +398,10 @@
- `security.apparmor.policies.<name>.enforce` and `security.apparmor.policies.<name>.enable` were removed.
Configuring the state of apparmor policies must now be done using `security.apparmor.policies.<name>.state` tristate option.
- `services.graylog.package` now defaults to `graylog-6_0` as previous default `graylog-5_1` is EOL and therefore removed.
Check the migration guides on [5.1→5.2](https://go2docs.graylog.org/5-2/upgrading_graylog/upgrading_to_graylog_5.2.x.htm) and [5.2→6.0](https://go2docs.graylog.org/6-0/upgrading_graylog/upgrading_to_graylog_6.0.x.html) for breaking changes.
- `programs.clash-verge.tunMode` was deprecated and removed because now service mode is necessary to start program. Without `programs.clash-verge.enable`, clash-verge-rev will refuse to start.
- `services.discourse` now requires PostgreSQL 15 per default. Please update before upgrading.
@@ -499,6 +440,8 @@
- PAM services for `i3lock`/`i3lock-color`, `vlock`, `xlock`, and `xscreensaver` now default to disabled unless other corresponding NixOS options are set (`programs.i3lock.enable`, `console.enable`, `services.xserver.enable`, and `services.xscreensaver.enable`, respectively). If for some reason you want one of them back without setting the corresponding option, set, e.g., `security.pam.services.xlock.enable = true`.
- The `nixos-generate-config` command now supports a optional `--flake` option, which will generate a flake.nix file alongside the `configuration.nix` and `hardware-configuration.nix`, providing an easy introduction into flake-based system configurations.
- [`system.stateVersion`](#opt-system.stateVersion) is now validated and must be in the `"YY.MM"` format, ideally corresponding to a prior NixOS release.
- [`hardware.xone`](options.html#opt-hardware.xone.enable) will also enable [`hardware.xpad-noone`](options.html#opt-hardware.xpad-noone.enable) to provide Xbox 360 driver by default.
@@ -542,21 +485,15 @@
- `networking.wireguard` now has an optional networkd backend. It is enabled by default when `networking.useNetworkd` is enabled, and it can be enabled alongside scripted networking with `networking.wireguard.useNetworkd`. Some `networking.wireguard` options have slightly different behavior with the networkd and script-based backends, documented in each option.
- The `stackclashprotection` hardening flag has been enabled by default on compilers that support it.
- `services.rss-bridge` now has a `package` option as well as support for `caddy` as reverse proxy.
- `services.avahi.ipv6` now defaults to true.
- A new hardening flag, `nostrictaliasing` was made available, corresponding to the gcc/clang option `-fno-strict-aliasing`.
- In the `services.xserver.displayManager.startx` module, two new options [generateScript](#opt-services.xserver.displayManager.startx.generateScript) and [extraCommands](#opt-services.xserver.displayManager.startx.extraCommands) have been added to to declaratively configure the .xinitrc script.
- All services that require a root certificate bundle now use the value of a new read-only option, `security.pki.caBundle`.
- hddfancontrol has been updated to major release 2. See the [migration guide](https://github.com/desbma/hddfancontrol/tree/master?tab=readme-ov-file#migrating-from-v1x), as there are breaking changes. The settings options have been modified to use an attrset, enabling configurations with multiple instances of the daemon running at once, eg, for two separate drive bays.
- `nextcloud-news-updater` is unmaintained and was removed from nixpkgs.
- [`services.hddfancontrol`](#opt-services.hddfancontrol.enable) has been modified to use an attribute set for settings, enabling configurations with multiple instances of the daemon running at once (e.g., for two separate drive bays).
- `services.cloudflared` now uses a dynamic user, and its `user` and `group` options have been removed. If the user or group is still necessary, they can be created manually.
@@ -580,68 +517,26 @@
- There is a new set of NixOS test tools for testing virtual Wi-Fi networks in many different topologies. See the {option}`services.vwifi` module, {option}`services.kismet` NixOS test, and [manual](https://nixos.org/manual/nixpkgs/unstable/#sec-nixos-test-wifi) for documentation and examples.
- The paperless module now has an option for regular automatic export of
documents data using the integrated document exporter.
- The paperless module now has an option for regular automatic export of documents data using the integrated document exporter.
- Exposed the `paperless-manage` script package via the `services.paperless.manage` read-only option.
- New options for the declarative configuration of the user space part of ALSA have been introduced under [hardware.alsa](options.html#opt-hardware.alsa.enable), including setting the default capture and playback device, defining sound card aliases and volume controls.
Note: these are intended for users not running a sound server like PulseAudio or PipeWire, but having ALSA as their only sound system.
- `services.k3s` now provides the `autoDeployCharts` option that allows to automatically deploy Helm charts via the k3s Helm controller.
- Caddy can now be built with plugins by using `caddy.withPlugins`, a `passthru` function that accepts an attribute set as a parameter. The `plugins` argument represents a list of Caddy plugins, with each Caddy plugin being a versioned module. The `hash` argument represents the `vendorHash` of the resulting Caddy source code with the plugins added.
Example:
```nix
services.caddy = {
enable = true;
package = pkgs.caddy.withPlugins {
plugins = [
# tagged upstream
"github.com/caddy-dns/powerdns@v1.0.1"
# pseudo-version number generated by Go
"github.com/caddy-dns/cloudflare@v0.0.0-20240703190432-89f16b99c18e"
"github.com/mholt/caddy-webdav@v0.0.0-20241008162340-42168ba04c9d"
];
hash = "sha256-wqXSd1Ep9TVpQi570TTb96LwzNYvWL5EBJXMJfYWCAk=";
};
};
```
To get the necessary hash of the vendored dependencies, omit `hash`. The build will fail and tell you the correct value.
Note that all provided plugins must have versions/tags (string after `@`), even if upstream repo does not tag each release. For untagged plugins, you can either create an empty Go project and run `go get <plugin>` and see changes in `go.mod` to get the pseudo-version number, or provide a commit hash in place of version/tag for the first run, and update the plugin string based on the error output.
- `buildGoModule` now supports a self-referencing `finalAttrs:` parameter
containing the final arguments including overrides.
This allows packaging configuration to be overridden in a consistent manner by
providing an alternative to `rec {}` syntax.
- [Mattermost](#opt-services.mattermost.enable), a self-hosted chat collaboration platform supporting calls, playbooks, and boards, has been updated. It now has multiple versions, disabled telemetry, and a native frontend build in nixpkgs, removing all upstream prebuilt blobs.
- A new `pkgs.mattermost.buildPlugin` function has been added, which allows plugins to be built from source, including webapp frontends with a supported package-lock.json. See the Mattermost NixOS test and [manual](https://nixos.org/manual/nixpkgs/unstable/#sec-mattermost-plugins-build) for an example.
- Mattermost telemetry reporting is now disabled by default, though security update notifications are enabled. Look at [`services.mattermost.telemetry`](#opt-services.mattermost.telemetry.enableDiagnostics) for options to control this behavior.
- The Mattermost frontend is now built from source and can be overridden. Note that the Mattermost derivation containing both the webapp and server is now wrapped to allow them to be built independently, so overrides to both webapp and server look like `mattermost.overrideAttrs (prev: { webapp = prev.webapp.override { ... }; server = prev.server.override { ... }; })` now.
- `pkgs.mattermost` has been updated from 9.11 to 10.5 to track the latest extended support release, since 9.11 will become end-of-life during the lifetime of NixOS 25.05.
- `pkgs.mattermostLatest` is now an option to track the latest (non-prerelease) Mattermost release. We test upgrade migrations from ESR releases (`pkgs.mattermost`) to `pkgs.mattermostLatest`.
- The Mattermost module will produce eval warnings if a database password would end up in the Nix store, and recommend alternatives such as peer authentication or using the environment file.
- We now support `mmctl` for Mattermost administration if both [](#opt-services.mattermost.socket.enable) and [](#opt-services.mattermost.socket.export) are set, which export the Mattermost control socket path into the system environment.
- KDE Partition Manager `partitionmanager`'s support for ReiserFS is removed.
ReiserFS has not been actively maintained for many years. It has been marked as obsolete since Linux 6.6, and
[is removed](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c01f664e4ca210823b7594b50669bbd9b0a3c3b0)
in Linux 6.13.
- `services.geoclue2` now uses [beaconDB](https://beacondb.net/) as a default geolocation service, replacing Mozilla Location Services which was [retired in June 2024](https://github.com/mozilla/ichnaea/issues/2065).
- `authelia` version 4.39.0 has made some changes which deprecate older configurations.
They are still expected to be working until future version 5.0.0, but will generate warnings in logs.
Read the [release notes](https://www.authelia.com/blog/4.39-release-notes/) for human readable summaries of the changes.
- `security.acme` now supports renewal using CSRs (Certificate Signing Request) through the options `security.acme.*.csr` and `security.acme.*.csrKey`.
- `programs.fzf.keybindings` now supports the fish shell.
- `gerbera` now has wavpack support.
- `octave` (and `octaveFull`) was updated to version `10.x`. The update broke a few `octavePackages`, and `librsb`. See [the PR's commits](https://github.com/NixOS/nixpkgs/pull/394495/commits) for more details.
- A toggle has been added under `users.users.<name>.enable` to allow toggling individual users conditionally. If set to false, the user account will not be created.
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->

View File

@@ -10,7 +10,7 @@
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
- Create the first release note entry in this section!
- [gtklock](https://github.com/jovanlanik/gtklock), a GTK-based lockscreen for Wayland. Available as [programs.gtklock](#opt-programs.gtklock.enable).
## Backward Incompatibilities {#sec-release-25.11-incompatibilities}

View File

@@ -83,7 +83,7 @@ in
# Use a priority just below mkOptionDefault (1500) instead of lib.mkDefault
# to avoid breaking existing configs using that.
config.virtualisation.diskSize = lib.mkOverride 1490 (3 * 1024);
config.virtualisation.diskSize = lib.mkOverride 1490 (4 * 1024);
config.virtualisation.diskSizeAutoSupported = !config.ec2.zfs.enable;
config.system.nixos.tags = [ "amazon" ];
@@ -140,7 +140,7 @@ in
echo "file ${cfg.format} $rootDisk" >> $out/nix-support/hydra-build-products
${pkgs.jq}/bin/jq -n \
--arg system_label ${lib.escapeShellArg config.system.nixos.label} \
--arg system_version ${lib.escapeShellArg config.system.nixos.version} \
--arg system ${lib.escapeShellArg pkgs.stdenv.hostPlatform.system} \
--arg root_logical_bytes "$(${pkgs.qemu_kvm}/bin/qemu-img info --output json "$rootDisk" | ${pkgs.jq}/bin/jq '."virtual-size"')" \
--arg boot_logical_bytes "$(${pkgs.qemu_kvm}/bin/qemu-img info --output json "$bootDisk" | ${pkgs.jq}/bin/jq '."virtual-size"')" \
@@ -148,7 +148,7 @@ in
--arg root "$rootDisk" \
--arg boot "$bootDisk" \
'{}
| .label = $system_label
| .label = $system_version
| .boot_mode = $boot_mode
| .system = $system
| .disks.boot.logical_bytes = $boot_logical_bytes
@@ -181,13 +181,13 @@ in
echo "file ${cfg.format} $diskImage" >> $out/nix-support/hydra-build-products
${pkgs.jq}/bin/jq -n \
--arg system_label ${lib.escapeShellArg config.system.nixos.label} \
--arg system_version ${lib.escapeShellArg config.system.nixos.version} \
--arg system ${lib.escapeShellArg pkgs.stdenv.hostPlatform.system} \
--arg logical_bytes "$(${pkgs.qemu_kvm}/bin/qemu-img info --output json "$diskImage" | ${pkgs.jq}/bin/jq '."virtual-size"')" \
--arg boot_mode "${amiBootMode}" \
--arg file "$diskImage" \
'{}
| .label = $system_label
| .label = $system_version
| .boot_mode = $boot_mode
| .system = $system
| .logical_bytes = $logical_bytes

View File

@@ -5,15 +5,21 @@
...
}:
let
sanitizeUTF8Capitalization =
lang: (lib.replaceStrings [ "utf8" "utf-8" "UTF8" ] [ "UTF-8" "UTF-8" "UTF-8" ] lang);
aggregatedLocales =
(builtins.map
(l: (lib.replaceStrings [ "utf8" "utf-8" "UTF8" ] [ "UTF-8" "UTF-8" "UTF-8" ] l) + "/UTF-8")
(
[ config.i18n.defaultLocale ]
++ (lib.optionals (builtins.isList config.i18n.extraLocales) config.i18n.extraLocales)
++ (lib.attrValues (lib.filterAttrs (n: v: n != "LANGUAGE") config.i18n.extraLocaleSettings))
)
)
[
"${config.i18n.defaultLocale}/${config.i18n.defaultCharset}"
]
++ lib.pipe config.i18n.extraLocaleSettings [
# See description of extraLocaleSettings for why is this ignored here.
(lib.filterAttrs (n: v: n != "LANGUAGE"))
(lib.mapAttrs (n: v: (sanitizeUTF8Capitalization v)))
(lib.mapAttrsToList (LCRole: lang: lang + "/" + (config.i18n.localeCharsets.${LCRole} or "UTF-8")))
]
++ (builtins.map sanitizeUTF8Capitalization (
lib.optionals (builtins.isList config.i18n.extraLocales) config.i18n.extraLocales
))
++ (lib.optional (builtins.isString config.i18n.extraLocales) config.i18n.extraLocales);
in
{
@@ -48,16 +54,24 @@ in
default = "en_US.UTF-8";
example = "nl_NL.UTF-8";
description = ''
The default locale. It determines the language for program
messages, the format for dates and times, sort order, and so on.
It also determines the character set, such as UTF-8.
The default locale. It determines the language for program messages,
the format for dates and times, sort order, and so on. Setting the
default character set is done via {option}`i18n.defaultCharset`.
'';
};
defaultCharset = lib.mkOption {
type = lib.types.str;
default = "UTF-8";
example = "ISO-8859-8";
description = ''
The default locale character set.
'';
};
extraLocales = lib.mkOption {
type = lib.types.either (lib.types.listOf lib.types.str) (lib.types.enum [ "all" ]);
default = [ ];
example = [ "nl_NL.UTF-8" ];
example = [ "nl_NL.UTF-8/UTF-8" ];
description = ''
Additional locales that the system should support, besides the ones
configured with {option}`i18n.defaultLocale` and
@@ -74,9 +88,30 @@ in
LC_TIME = "de_DE.UTF-8";
};
description = ''
A set of additional system-wide locale settings other than
`LANG` which can be configured with
{option}`i18n.defaultLocale`.
A set of additional system-wide locale settings other than `LANG`
which can be configured with {option}`i18n.defaultLocale`. Note that
the `/UTF-8` suffix used in {option}`i18n.extraLocales` indicates a
character set, and it must not be added manually here. To use a
non-`UTF-8` character set such as ISO-XXXX-8, the
{option}`i18n.localeCharsets` can be used.
Note that if the [`LANGUAGE`
key](https://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html)
is used in this option, it is ignored when computing the locales
required to be installed, because the possible values of this key are
more diverse and flexible then the others.
'';
};
localeCharsets = lib.mkOption {
type = lib.types.attrsOf lib.types.str;
default = { };
example = {
LC_MESSAGES = "ISO-8859-15";
LC_TIME = "ISO-8859-1";
};
description = ''
Per each {option}`i18n.extraLocaleSettings`, choose the character set
to use for it. Essentially defaults to UTF-8 for all of them.
'';
};

View File

@@ -331,6 +331,7 @@
./programs/vivid.nix
./programs/wavemon.nix
./programs/wayland/cardboard.nix
./programs/wayland/gtklock.nix
./programs/wayland/hyprland.nix
./programs/wayland/hyprlock.nix
./programs/wayland/labwc.nix
@@ -603,7 +604,6 @@
./services/games/archisteamfarm.nix
./services/games/armagetronad.nix
./services/games/crossfire-server.nix
./services/games/deliantra-server.nix
./services/games/factorio.nix
./services/games/freeciv.nix
./services/games/mchprs.nix
@@ -752,6 +752,7 @@
./services/matrix/appservice-discord.nix
./services/matrix/appservice-irc.nix
./services/matrix/conduit.nix
./services/matrix/continuwuity.nix
./services/matrix/dendrite.nix
./services/matrix/hebbot.nix
./services/matrix/hookshot.nix
@@ -903,7 +904,6 @@
./services/misc/servarr/whisparr.nix
./services/misc/serviio.nix
./services/misc/sickbeard.nix
./services/misc/signald.nix
./services/misc/siproxd.nix
./services/misc/snapper.nix
./services/misc/soft-serve.nix

View File

@@ -126,6 +126,20 @@ in
# TODO system.switch.enable = false;?
system.disableInstallerTools = true;
# Allow the system derivation to be substituted, so that
# users are less likely to run into a state where they need
# the builder running to build the builder if they just want
# to make a tweak that only affects the macOS side of things,
# like changing the QEMU args.
#
# TODO(winter): Move to qemu-vm? Trying it here for now as a
# low impact change that'll probably improve people's experience.
#
# (I have no clue what is going on in https://github.com/nix-darwin/nix-darwin/issues/1081
# though, as this fix would only apply to one person in that thread... hopefully someone
# comes across with a reproducer if this doesn't do it.)
system.systemBuilderArgs.allowSubstitutes = true;
nix.settings = {
min-free = cfg.min-free;

View File

@@ -8,7 +8,6 @@ function osc7-pwd() {
function chpwd-osc7-pwd() {
(( ZSH_SUBSHELL )) || osc7-pwd
}
add-zsh-hook -Uz chpwd chpwd-osc7-pwd
precmd() {
print -Pn "\e]133;A\e\\"
@@ -23,3 +22,6 @@ function precmd {
function preexec {
print -n "\e]133;C\e\\"
}
autoload -U add-zsh-hook
add-zsh-hook -Uz chpwd chpwd-osc7-pwd

View File

@@ -0,0 +1,78 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.programs.gtklock;
configFormat = pkgs.formats.ini {
listToValue = builtins.concatStringsSep ";";
};
inherit (lib)
types
mkOption
mkEnableOption
mkPackageOption
;
in
{
options.programs.gtklock = {
enable = mkEnableOption "gtklock, a GTK-based lockscreen for Wayland";
package = mkPackageOption pkgs "gtklock" { };
config = mkOption {
type = configFormat.type;
example = lib.literalExpression ''
{
main = {
idle-hide = true;
idle-timeout = 10;
};
}'';
description = ''
Configuration for gtklock.
See [`gtklock(1)`](https://github.com/jovanlanik/gtklock/blob/master/man/gtklock.1.scd) man page for details.
'';
};
style = mkOption {
type = with types; nullOr str;
default = null;
description = ''
CSS Stylesheet for gtklock.
See [gtklock's wiki](https://github.com/jovanlanik/gtklock/wiki#Styling) for details.
'';
};
modules = mkOption {
type = with types; listOf package;
default = [ ];
example = lib.literalExpression ''
with pkgs; [
gtklock-playerctl-module
gtklock-powerbar-module
gtklock-userinfo-module
]'';
description = "gtklock modules to load.";
};
};
config = lib.mkIf cfg.enable {
programs.gtklock.config.main = {
style = lib.mkIf (cfg.style != null) "${pkgs.writeText "style.css" cfg.style}";
modules = lib.mkIf (cfg.modules != [ ]) (
map (pkg: "${pkg}/lib/gtklock/${lib.removePrefix "gtklock-" pkg.pname}.so") cfg.modules
);
};
environment.etc."xdg/gtklock/config.ini".source = configFormat.generate "config.ini" cfg.config;
environment.systemPackages = [ cfg.package ];
security.pam.services.gtklock = { };
};
}

View File

@@ -318,6 +318,10 @@ in
The conduwuit project has been discontinued by upstream.
See https://github.com/NixOS/nixpkgs/pull/397902 for more information.
'')
(mkRemovedOptionModule [ "services" "signald" ] ''
The signald project is unmaintained and has long been incompatible with the
official Signal servers.
'')
# Do NOT add any option renames here, see top of the file
];

View File

@@ -236,13 +236,16 @@ let
# Create hashes for cert data directories based on configuration
# Flags are separated to avoid collisions
hashData = with builtins; ''
${lib.concatStringsSep " " data.extraLegoFlags} -
${lib.concatStringsSep " " data.extraLegoRunFlags} -
${lib.concatStringsSep " " data.extraLegoRenewFlags} -
${toString acmeServer} ${toString data.dnsProvider}
${toString data.ocspMustStaple} ${data.keyType}
'';
hashData =
with builtins;
''
${lib.concatStringsSep " " data.extraLegoFlags} -
${lib.concatStringsSep " " data.extraLegoRunFlags} -
${lib.concatStringsSep " " data.extraLegoRenewFlags} -
${toString acmeServer} ${toString data.dnsProvider}
${toString data.ocspMustStaple} ${data.keyType}
''
+ (lib.optionalString (data.csr != null) (" - " + data.csr));
certDir = mkHash hashData;
# TODO remove domainHash usage entirely. Waiting on go-acme/lego#1532
domainHash = mkHash "${lib.concatStringsSep " " extraDomains} ${data.domain}";
@@ -286,18 +289,24 @@ let
"--accept-tos" # Checking the option is covered by the assertions
"--path"
"."
"-d"
data.domain
"--email"
data.email
"--key-type"
data.keyType
]
++ protocolOpts
++ lib.optionals (acmeServer != null) [
"--server"
acmeServer
]
++ lib.optionals (data.csr != null) [
"--csr"
data.csr
]
++ lib.optionals (data.csr == null) [
"--key-type"
data.keyType
"-d"
data.domain
]
++ lib.concatMap (name: [
"-d"
name
@@ -327,6 +336,8 @@ let
webroots = lib.remove null (
lib.unique (builtins.map (certAttrs: certAttrs.webroot) (lib.attrValues config.security.acme.certs))
);
certificateKey = if data.csrKey != null then "${data.csrKey}" else "certificates/${keyName}.key";
in
{
inherit accountHash cert selfsignedDeps;
@@ -529,7 +540,7 @@ let
# Check if we can renew.
# We can only renew if the list of domains has not changed.
# We also need an account key. Avoids #190493
if cmp -s domainhash.txt certificates/domainhash.txt && [ -e 'certificates/${keyName}.key' ] && [ -e 'certificates/${keyName}.crt' ] && [ -n "$(find accounts -name '${data.email}.key')" ]; then
if cmp -s domainhash.txt certificates/domainhash.txt && [ -e '${certificateKey}' ] && [ -e 'certificates/${keyName}.crt' ] && [ -n "$(find accounts -name '${data.email}.key')" ]; then
# Even if a cert is not expired, it may be revoked by the CA.
# Try to renew, and silently fail if the cert is not expired.
@@ -564,7 +575,7 @@ let
touch out/renewed
echo Installing new certificate
cp -vp 'certificates/${keyName}.crt' out/fullchain.pem
cp -vp 'certificates/${keyName}.key' out/key.pem
cp -vp '${certificateKey}' out/key.pem
cp -vp 'certificates/${keyName}.issuer.crt' out/chain.pem
ln -sf fullchain.pem out/cert.pem
cat out/key.pem out/fullchain.pem > out/full.pem
@@ -845,6 +856,18 @@ let
description = "Domain to fetch certificate for (defaults to the entry name).";
};
csr = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = "Path to a certificate signing request to apply when fetching the certificate.";
};
csrKey = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = "Path to the private key to the matching certificate signing request.";
};
extraDomainNames = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
@@ -1113,6 +1136,17 @@ in
used for variables suffixed by "_FILE".
'';
}
{
assertion = lib.all (
certOpts:
(certOpts.csr == null && certOpts.csrKey == null)
|| (certOpts.csr != null && certOpts.csrKey != null)
) certs;
message = ''
When passing a certificate signing request both `security.acme.certs.${cert}.csr` and `security.acme.certs.${cert}.csrKey` need to be set.
'';
}
]) cfg.certs
));

View File

@@ -75,8 +75,8 @@ in
package = lib.mkOption {
description = "tpm2-pkcs11 package to use";
type = lib.types.package;
default = pkgs.tpm2-pkcs11;
defaultText = lib.literalExpression "pkgs.tpm2-pkcs11";
default = if cfg.abrmd.enable then pkgs.tpm2-pkcs11.abrmd else pkgs.tpm2-pkcs11;
defaultText = lib.literalExpression "if config.security.tpm2.abrmd.enable then pkgs.tpm2-pkcs11.abrmd else pkgs.tpm2-pkcs11";
};
};

View File

@@ -20,6 +20,7 @@ in
config = mkIf cfg.enable {
environment.systemPackages = [ cfg.package ];
systemd.services.display-manager.path = [ cfg.package ];
services.speechd.enable = true;
};
}

View File

@@ -28,7 +28,7 @@ in
type = lib.types.lines;
description = ''
(Deprecated) Configuration for Spotifyd. For syntax and directives, see
<https://docs.spotifyd.rs/config/File.html>.
<https://docs.spotifyd.rs/configuration/index.html#config-file>.
'';
};
@@ -40,7 +40,7 @@ in
};
description = ''
Configuration for Spotifyd. For syntax and directives, see
<https://docs.spotifyd.rs/config/File.html>.
<https://docs.spotifyd.rs/configuration/index.html#config-file>.
'';
};
};

View File

@@ -1,182 +0,0 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.services.deliantra-server;
serverPort = 13327;
in
{
options.services.deliantra-server = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
If enabled, the Deliantra game server will be started at boot.
'';
};
package = lib.mkPackageOption pkgs "deliantra-server" {
extraDescription = ''
::: {.note}
This will also be used for map/arch data, if you don't change {option}`dataDir`
:::
'';
};
dataDir = lib.mkOption {
type = lib.types.str;
default = "${pkgs.deliantra-data}";
defaultText = lib.literalExpression ''"''${pkgs.deliantra-data}"'';
description = ''
Where to store readonly data (maps, archetypes, sprites, etc).
Note that if you plan to use the live map editor (rather than editing
the maps offline and then nixos-rebuilding), THIS MUST BE WRITEABLE --
copy the deliantra-data someplace writeable (say,
/var/lib/deliantra/data) and update this option accordingly.
'';
};
stateDir = lib.mkOption {
type = lib.types.str;
default = "/var/lib/deliantra";
description = ''
Where to store runtime data (save files, persistent items, etc).
If left at the default, this will be automatically created on server
startup if it does not already exist. If changed, it is the admin's
responsibility to make sure that the directory exists and is writeable
by the `crossfire` user.
'';
};
openFirewall = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether to open ports in the firewall for the server.
'';
};
configFiles = lib.mkOption {
type = lib.types.attrsOf lib.types.str;
description = ''
Contents of the server configuration files. These will be appended to
the example configurations the server comes with and overwrite any
default settings defined therein.
The example here is not comprehensive. See the files in
/etc/deliantra-server after enabling this module for full documentation.
'';
example = lib.literalExpression ''
{
dm_file = '''
admin:secret_password:localhost
alice:xyzzy:*
''';
motd = "Welcome to Deliantra!";
settings = '''
# Settings for game mechanics.
stat_loss_on_death true
armor_max_enchant 7
''';
config = '''
# Settings for the server daemon.
hiscore_url https://deliantra.example.net/scores/
max_map_reset 86400
''';
}
'';
default = {
motd = "";
};
};
};
config = lib.mkIf cfg.enable {
users.users.deliantra = {
description = "Deliantra server daemon user";
home = cfg.stateDir;
createHome = false;
isSystemUser = true;
group = "deliantra";
};
users.groups.deliantra = { };
# Merge the cfg.configFiles setting with the default files shipped with
# Deliantra.
# For most files this consists of reading
# ${deliantra}/etc/deliantra-server/${name} and appending the user setting
# to it.
environment.etc =
lib.attrsets.mapAttrs'
(
name: value:
lib.attrsets.nameValuePair "deliantra-server/${name}" {
mode = "0644";
text =
# Deliantra doesn't come with a motd file, but respects it if present
# in /etc.
(lib.optionalString (name != "motd") (
lib.fileContents "${cfg.package}/etc/deliantra-server/${name}"
))
+ "\n${value}";
}
)
(
{
motd = "";
settings = "";
config = "";
dm_file = "";
}
// cfg.configFiles
);
systemd.services.deliantra-server = {
description = "Deliantra Server Daemon";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
environment = {
DELIANTRA_DATADIR = "${cfg.dataDir}";
DELIANTRA_LOCALDIR = "${cfg.stateDir}";
DELIANTRA_CONFDIR = "/etc/deliantra-server";
};
serviceConfig = lib.mkMerge [
{
ExecStart = "${cfg.package}/bin/deliantra-server";
Restart = "always";
User = "deliantra";
Group = "deliantra";
WorkingDirectory = cfg.stateDir;
}
(lib.mkIf (cfg.stateDir == "/var/lib/deliantra") {
StateDirectory = "deliantra";
})
];
# The deliantra server needs access to a bunch of files at runtime that
# are not created automatically at server startup; they're meant to be
# installed in $PREFIX/var/deliantra-server by `make install`. And those
# files need to be writeable, so we can't just point at the ones in the
# nix store. Instead we take the approach of copying them out of the store
# on first run. If `bookarch` already exists, we assume the rest of the
# files do as well, and copy nothing -- otherwise we risk ovewriting
# server state information every time the server is upgraded.
preStart = ''
if [ ! -e "${cfg.stateDir}"/bookarch ]; then
${pkgs.rsync}/bin/rsync -a --chmod=u=rwX,go=rX \
"${cfg.package}/var/deliantra-server/" "${cfg.stateDir}/"
fi
'';
};
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ serverPort ];
};
};
}

View File

@@ -0,0 +1,268 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.services.matrix-continuwuity;
defaultUser = "continuwuity";
defaultGroup = "continuwuity";
format = pkgs.formats.toml { };
configFile = format.generate "continuwuity.toml" cfg.settings;
in
{
meta.maintainers = with lib.maintainers; [
nyabinary
snaki
];
options.services.matrix-continuwuity = {
enable = lib.mkEnableOption "continuwuity";
user = lib.mkOption {
type = lib.types.nonEmptyStr;
description = ''
The user {command}`continuwuity` is run as.
'';
default = defaultUser;
};
group = lib.mkOption {
type = lib.types.nonEmptyStr;
description = ''
The group {command}`continuwuity` is run as.
'';
default = defaultGroup;
};
extraEnvironment = lib.mkOption {
type = lib.types.attrsOf lib.types.str;
description = "Extra Environment variables to pass to the continuwuity server.";
default = { };
example = {
RUST_BACKTRACE = "yes";
};
};
package = lib.mkPackageOption pkgs "matrix-continuwuity" { };
settings = lib.mkOption {
type = lib.types.submodule {
freeformType = format.type;
options = {
global.server_name = lib.mkOption {
type = lib.types.nonEmptyStr;
example = "example.com";
description = "The server_name is the name of this server. It is used as a suffix for user and room ids.";
};
global.address = lib.mkOption {
type = lib.types.nullOr (lib.types.listOf lib.types.nonEmptyStr);
default = null;
example = [
"127.0.0.1"
"::1"
];
description = ''
Addresses (IPv4 or IPv6) to listen on for connections by the reverse proxy/tls terminator.
If set to `null`, continuwuity will listen on IPv4 and IPv6 localhost.
Must be `null` if `unix_socket_path` is set.
'';
};
global.port = lib.mkOption {
type = lib.types.listOf lib.types.port;
default = [ 6167 ];
description = ''
The port(s) continuwuity will be running on.
You need to set up a reverse proxy in your web server (e.g. apache or nginx),
so all requests to /_matrix on port 443 and 8448 will be forwarded to the continuwuity
instance running on this port.
'';
};
global.unix_socket_path = lib.mkOption {
type = lib.types.nullOr lib.types.path;
default = null;
description = ''
Listen on a UNIX socket at the specified path. If listening on a UNIX socket,
listening on an address will be disabled. The `address` option must be set to
`null` (the default value). The option {option}`services.continuwuity.group` must
be set to a group your reverse proxy is part of.
This will automatically add a system user "continuwuity" to your system if
{option}`services.continuwuity.user` is left at the default, and a "continuwuity"
group if {option}`services.continuwuity.group` is left at the default.
'';
};
global.unix_socket_perms = lib.mkOption {
type = lib.types.ints.positive;
default = 660;
description = "The default permissions (in octal) to create the UNIX socket with.";
};
global.max_request_size = lib.mkOption {
type = lib.types.ints.positive;
default = 20000000;
description = "Max request size in bytes. Don't forget to also change it in the proxy.";
};
global.allow_registration = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether new users can register on this server.
Registration with token requires `registration_token` or `registration_token_file` to be set.
If set to true without a token configured, and
`yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse`
is set to true, users can freely register.
'';
};
global.allow_encryption = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Whether new encrypted rooms can be created. Note: existing rooms will continue to work.";
};
global.allow_federation = lib.mkOption {
type = lib.types.bool;
default = true;
description = ''
Whether this server federates with other servers.
'';
};
global.trusted_servers = lib.mkOption {
type = lib.types.listOf lib.types.nonEmptyStr;
default = [ "matrix.org" ];
description = ''
Servers listed here will be used to gather public keys of other servers
(notary trusted key servers).
Currently, continuwuity doesn't support inbound batched key requests, so
this list should only contain other Synapse servers.
Example: `[ "matrix.org" "constellatory.net" "tchncs.de" ]`
'';
};
global.database_path = lib.mkOption {
readOnly = true;
type = lib.types.path;
default = "/var/lib/continuwuity/";
description = ''
Path to the continuwuity database, the directory where continuwuity will save its data.
Note that database_path cannot be edited because of the service's reliance on systemd StateDir.
'';
};
global.allow_announcements_check = lib.mkOption {
type = lib.types.bool;
default = true;
description = ''
If enabled, continuwuity will send a simple GET request periodically to
<https://continuwuity.org/.well-known/continuwuity/announcements> for any new announcements made.
'';
};
};
};
default = { };
# TOML does not allow null values, so we use null to omit those fields
apply = lib.filterAttrsRecursive (_: v: v != null);
description = ''
Generates the continuwuity.toml configuration file. Refer to
<https://continuwuity.org/configuration.html>
for details on supported values.
'';
};
};
config = lib.mkIf cfg.enable {
assertions = [
{
assertion = !(cfg.settings ? global.unix_socket_path) || !(cfg.settings ? global.address);
message = ''
In `services.continuwuity.settings.global`, `unix_socket_path` and `address` cannot be set at the
same time.
Leave one of the two options unset or explicitly set them to `null`.
'';
}
{
assertion = cfg.user != defaultUser -> config ? users.users.${cfg.user};
message = "If `services.continuwuity.user` is changed, the configured user must already exist.";
}
{
assertion = cfg.group != defaultGroup -> config ? users.groups.${cfg.group};
message = "If `services.continuwuity.group` is changed, the configured group must already exist.";
}
];
users.users = lib.mkIf (cfg.user == defaultUser) {
${defaultUser} = {
group = cfg.group;
home = cfg.settings.global.database_path;
isSystemUser = true;
};
};
users.groups = lib.mkIf (cfg.group == defaultGroup) {
${defaultGroup} = { };
};
systemd.services.continuwuity = {
description = "Continuwuity Matrix Server";
documentation = [ "https://continuwuity.org/" ];
wantedBy = [ "multi-user.target" ];
wants = [ "network-online.target" ];
after = [ "network-online.target" ];
environment = lib.mkMerge [
{ CONDUWUIT_CONFIG = configFile; }
cfg.extraEnvironment
];
startLimitBurst = 5;
startLimitIntervalSec = 60;
serviceConfig = {
DynamicUser = true;
User = cfg.user;
Group = cfg.group;
DevicePolicy = "closed";
LockPersonality = true;
MemoryDenyWriteExecute = true;
NoNewPrivileges = true;
ProtectClock = true;
ProtectControlGroups = true;
ProtectHome = true;
ProtectHostname = true;
ProtectKernelLogs = true;
ProtectKernelModules = true;
ProtectKernelTunables = true;
ProtectProc = "invisible";
ProtectSystem = "strict";
PrivateDevices = true;
PrivateMounts = true;
PrivateTmp = true;
PrivateUsers = true;
PrivateIPC = true;
RemoveIPC = true;
RestrictAddressFamilies = [
"AF_INET"
"AF_INET6"
"AF_UNIX"
];
RestrictNamespaces = true;
RestrictRealtime = true;
RestrictSUIDSGID = true;
SystemCallArchitectures = "native";
SystemCallFilter = [
"@system-service @resources"
"~@clock @debug @module @mount @reboot @swap @cpu-emulation @obsolete @timer @chown @setuid @privileged @keyring @ipc"
];
SystemCallErrorNumber = "EPERM";
StateDirectory = "continuwuity";
StateDirectoryMode = "0700";
RuntimeDirectory = "continuwuity";
RuntimeDirectoryMode = "0750";
ExecStart = lib.getExe cfg.package;
Restart = "on-failure";
RestartSec = 10;
};
};
};
}

View File

@@ -1237,8 +1237,8 @@ in
message = "services.gitlab.secrets.activeRecordSaltFile must be set!";
}
{
assertion = versionAtLeast postgresqlPackage.version "14.9";
message = "PostgreSQL >= 14.9 is required to run GitLab 17. Follow the instructions in the manual section for upgrading PostgreSQL here: https://nixos.org/manual/nixos/stable/index.html#module-services-postgres-upgrading";
assertion = versionAtLeast postgresqlPackage.version "16";
message = "PostgreSQL >= 16 is required to run GitLab 18. Follow the instructions in the manual section for upgrading PostgreSQL here: https://nixos.org/manual/nixos/stable/index.html#module-services-postgres-upgrading";
}
];

View File

@@ -366,11 +366,21 @@ in
Whether to configure Tika and Gotenberg to process Office and e-mail files with OCR.
'';
};
manage = lib.mkOption {
type = lib.types.package;
readOnly = true;
description = ''
The package derivation for the `paperless-manage` wrapper script.
Useful for other modules that need to add this specific script to a service's PATH.
'';
};
};
config = lib.mkIf cfg.enable (
lib.mkMerge [
{
services.paperless.manage = manage;
environment.systemPackages = [ manage ];
services.redis.servers.paperless.enable = lib.mkIf enableRedis true;

View File

@@ -1,116 +0,0 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.services.signald;
dataDir = "/var/lib/signald";
defaultUser = "signald";
in
{
options.services.signald = {
enable = lib.mkEnableOption "signald, the unofficial daemon for interacting with Signal";
user = lib.mkOption {
type = lib.types.str;
default = defaultUser;
description = "User under which signald runs.";
};
group = lib.mkOption {
type = lib.types.str;
default = defaultUser;
description = "Group under which signald runs.";
};
socketPath = lib.mkOption {
type = lib.types.str;
default = "/run/signald/signald.sock";
description = "Path to the signald socket";
};
};
config = lib.mkIf cfg.enable {
users.users = lib.optionalAttrs (cfg.user == defaultUser) {
${defaultUser} = {
group = cfg.group;
isSystemUser = true;
};
};
users.groups = lib.optionalAttrs (cfg.group == defaultUser) {
${defaultUser} = { };
};
systemd.services.signald = {
description = "A daemon for interacting with the Signal Private Messenger";
wants = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
serviceConfig = {
User = cfg.user;
Group = cfg.group;
ExecStart = "${pkgs.signald}/bin/signald -d ${dataDir} -s ${cfg.socketPath}";
ExecStartPre = "${pkgs.signald}/bin/signald -d ${dataDir} -s ${cfg.socketPath} --migrate-data";
Restart = "on-failure";
StateDirectory = "signald";
RuntimeDirectory = "signald";
StateDirectoryMode = "0750";
RuntimeDirectoryMode = "0750";
BindReadOnlyPaths = [
"/nix/store"
"-/etc/resolv.conf"
"-/etc/nsswitch.conf"
"-/etc/hosts"
"-/etc/localtime"
];
CapabilityBoundingSet = "";
# ProtectClock= adds DeviceAllow=char-rtc r
DeviceAllow = "";
# Use a static user so other applications can access the files
#DynamicUser = true;
LockPersonality = true;
# Needed for java
#MemoryDenyWriteExecute = true;
NoNewPrivileges = true;
PrivateDevices = true;
PrivateMounts = true;
# Needs network access
#PrivateNetwork = true;
PrivateTmp = true;
PrivateUsers = true;
ProcSubset = "pid";
ProtectClock = true;
ProtectHome = true;
ProtectHostname = true;
# Would re-mount paths ignored by temporary root
#ProtectSystem = "strict";
ProtectControlGroups = true;
ProtectKernelLogs = true;
ProtectKernelModules = true;
ProtectKernelTunables = true;
ProtectProc = "invisible";
RestrictAddressFamilies = [
"AF_INET"
"AF_INET6"
"AF_UNIX"
];
RestrictNamespaces = true;
RestrictRealtime = true;
RestrictSUIDSGID = true;
SystemCallArchitectures = "native";
SystemCallFilter = [
"@system-service"
"~@privileged @resources @setuid @keyring"
];
TemporaryFileSystem = "/:ro";
# Does not work well with the temporary root
#UMask = "0066";
};
};
};
}

View File

@@ -97,13 +97,14 @@ let
# Those paths are mounted using BindPaths= or BindReadOnlyPaths=
# for services needing access to them.
"builds.sr.ht::worker".buildlogs = "/var/log/sourcehut/buildsrht-worker";
"git.sr.ht".post-update-script = "/usr/bin/gitsrht-update-hook";
"git.sr.ht".post-update-script = "/usr/bin/git.sr.ht-update-hook";
"git.sr.ht".repos = cfg.settings."git.sr.ht".repos;
"hg.sr.ht".changegroup-script = "/usr/bin/hgsrht-hook-changegroup";
"hg.sr.ht".changegroup-script = "/usr/bin/hg.sr.ht-hook-changegroup";
"hg.sr.ht".repos = cfg.settings."hg.sr.ht".repos;
# Making this a per service option despite being in a global section,
# so that it uses the redis-server used by the service.
"sr.ht".redis-host = cfg.${srv}.redis.host;
"sr.ht".assets = "${cfg.${srv}.package}/share/sourcehut";
}
)
)
@@ -376,7 +377,7 @@ in
redis = mkOption {
description = "The Redis connection used for the Celery worker.";
type = types.str;
default = "redis+socket:///run/redis-sourcehut-buildsrht/redis.sock?virtual_host=2";
default = "redis+socket:///run/redis-sourcehut-builds.sr.ht/redis.sock?virtual_host=2";
};
shell = mkOption {
description = ''
@@ -436,8 +437,8 @@ in
This setting is propagated to newer and existing repositories.
'';
type = types.path;
default = "${pkgs.sourcehut.gitsrht}/bin/gitsrht-update-hook";
defaultText = "\${pkgs.sourcehut.gitsrht}/bin/gitsrht-update-hook";
default = "${cfg.git.package}/bin/git.sr.ht-update-hook";
defaultText = "\${pkgs.sourcehut.gitsrht}/bin/git.sr.ht-update-hook";
};
repos = mkOption {
description = ''
@@ -446,12 +447,12 @@ in
the gitsrht's user as read and write access to it.
'';
type = types.str;
default = "/var/lib/sourcehut/gitsrht/repos";
default = "/var/lib/sourcehut/git.sr.ht/repos";
};
webhooks = mkOption {
description = "The Redis connection used for the webhooks worker.";
type = types.str;
default = "redis+socket:///run/redis-sourcehut-gitsrht/redis.sock?virtual_host=1";
default = "redis+socket:///run/redis-sourcehut-git.sr.ht/redis.sock?virtual_host=1";
};
};
options."git.sr.ht::api" = {
@@ -477,8 +478,8 @@ in
This setting is propagated to newer and existing repositories.
'';
type = types.str;
default = "${pkgs.sourcehut.hgsrht}/bin/hgsrht-hook-changegroup";
defaultText = "\${pkgs.sourcehut.hgsrht}/bin/hgsrht-hook-changegroup";
default = "${cfg.hg.package}/bin/hg.sr.ht-hook-changegroup";
defaultText = "\${pkgs.sourcehut.hgsrht}/bin/hg.sr.ht-hook-changegroup";
};
repos = mkOption {
description = ''
@@ -487,7 +488,7 @@ in
the hgsrht's user as read and write access to it.
'';
type = types.str;
default = "/var/lib/sourcehut/hgsrht/repos";
default = "/var/lib/sourcehut/hg.sr.ht/repos";
};
srhtext = mkOptionNullOrStr ''
Path to the srht mercurial extension
@@ -507,7 +508,7 @@ in
webhooks = mkOption {
description = "The Redis connection used for the webhooks worker.";
type = types.str;
default = "redis+socket:///run/redis-sourcehut-hgsrht/redis.sock?virtual_host=1";
default = "redis+socket:///run/redis-sourcehut-hg.sr.ht/redis.sock?virtual_host=1";
};
};
@@ -529,12 +530,12 @@ in
redis = mkOption {
description = "The Redis connection used for the Celery worker.";
type = types.str;
default = "redis+socket:///run/redis-sourcehut-listssrht/redis.sock?virtual_host=2";
default = "redis+socket:///run/redis-sourcehut-lists.sr.ht/redis.sock?virtual_host=2";
};
webhooks = mkOption {
description = "The Redis connection used for the webhooks worker.";
type = types.str;
default = "redis+socket:///run/redis-sourcehut-listssrht/redis.sock?virtual_host=1";
default = "redis+socket:///run/redis-sourcehut-lists.sr.ht/redis.sock?virtual_host=1";
};
};
options."lists.sr.ht::worker" = {
@@ -584,7 +585,7 @@ in
webhooks = mkOption {
description = "The Redis connection used for the webhooks worker.";
type = types.str;
default = "redis+socket:///run/redis-sourcehut-metasrht/redis.sock?virtual_host=1";
default = "redis+socket:///run/redis-sourcehut-meta.sr.ht/redis.sock?virtual_host=1";
};
welcome-emails = mkEnableOption "sending stock sourcehut welcome emails after signup";
};
@@ -691,7 +692,7 @@ in
webhooks = mkOption {
description = "The Redis connection used for the webhooks worker.";
type = types.str;
default = "redis+socket:///run/redis-sourcehut-todosrht/redis.sock?virtual_host=1";
default = "redis+socket:///run/redis-sourcehut-todo.sr.ht/redis.sock?virtual_host=1";
};
};
options."todo.sr.ht::mail" = {
@@ -763,7 +764,7 @@ in
};
git = {
package = mkPackageOption pkgs "git" {
gitPackage = mkPackageOption pkgs "git" {
example = "gitFull";
};
fcgiwrap.preforkProcess = mkOption {
@@ -774,7 +775,7 @@ in
};
hg = {
package = mkPackageOption pkgs "mercurial" { };
mercurialPackage = mkPackageOption pkgs "mercurial" { };
cloneBundles = mkOption {
type = types.bool;
default = false;
@@ -806,6 +807,7 @@ in
config = mkIf cfg.enable (mkMerge [
{
# TODO: make configurable
environment.systemPackages = [ pkgs.sourcehut.coresrht ];
services.sourcehut.settings = {
@@ -875,14 +877,14 @@ in
set -e
set -x
cd /etc/ssh/sourcehut/subdir
${pkgs.sourcehut.gitsrht}/bin/gitsrht-dispatch "$@"
${cfg.git.package}/bin/git.sr.ht-dispatch "$@"
'';
};
systemd.tmpfiles.settings."10-sourcehut-gitsrht" = mkIf cfg.git.enable (mkMerge [
(builtins.listToAttrs (
map
(name: {
name = "/var/log/sourcehut/gitsrht-${name}";
name = "/var/log/sourcehut/git.sr.ht-${name}";
value.f = {
inherit (cfg.git) user group;
mode = "0644";
@@ -903,7 +905,7 @@ in
]);
systemd.services.sshd = {
preStart = mkIf cfg.hg.enable ''
chown ${cfg.hg.user}:${cfg.hg.group} /var/log/sourcehut/hgsrht-keys
chown ${cfg.hg.user}:${cfg.hg.group} /var/log/sourcehut/hg.sr.ht-keys
'';
serviceConfig = {
LogsDirectory = "sourcehut";
@@ -919,62 +921,62 @@ in
"${pkgs.writeShellScript "buildsrht-keys-wrapper" ''
set -e
cd /run/sourcehut/buildsrht/subdir
exec -a "$0" ${pkgs.sourcehut.buildsrht}/bin/buildsrht-keys "$@"
exec -a "$0" ${cfg.builds.package}/bin/builds.sr.ht-keys "$@"
''}:/usr/bin/buildsrht-keys"
"${pkgs.sourcehut.buildsrht}/bin/master-shell:/usr/bin/master-shell"
"${pkgs.sourcehut.buildsrht}/bin/runner-shell:/usr/bin/runner-shell"
"${cfg.builds.package}/bin/master-shell:/usr/bin/master-shell"
"${cfg.builds.package}/bin/runner-shell:/usr/bin/runner-shell"
]
++ optionals cfg.git.enable [
# /path/to/gitsrht-keys calls /path/to/gitsrht-shell,
# or [git.sr.ht] shell= if set.
"${pkgs.writeShellScript "gitsrht-keys-wrapper" ''
set -e
cd /run/sourcehut/gitsrht/subdir
exec -a "$0" ${pkgs.sourcehut.gitsrht}/bin/gitsrht-keys "$@"
''}:/usr/bin/gitsrht-keys"
cd /run/sourcehut/git.sr.ht/subdir
exec -a "$0" ${cfg.git.package}/bin/git.sr.ht-keys "$@"
''}:/usr/bin/git.sr.ht-keys"
"${pkgs.writeShellScript "gitsrht-shell-wrapper" ''
set -e
cd /run/sourcehut/gitsrht/subdir
export PATH="${cfg.git.package}/bin:$PATH"
export SRHT_CONFIG=/run/sourcehut/gitsrht/config.ini
exec -a "$0" ${pkgs.sourcehut.gitsrht}/bin/gitsrht-shell "$@"
''}:/usr/bin/gitsrht-shell"
cd /run/sourcehut/git.sr.ht/subdir
export PATH="${cfg.git.gitPackage}/bin:$PATH"
export SRHT_CONFIG=/run/sourcehut/git.sr.ht/config.ini
exec -a "$0" ${cfg.git.package}/bin/git.sr.ht-shell "$@"
''}:/usr/bin/git.sr.ht-shell"
"${pkgs.writeShellScript "gitsrht-update-hook" ''
set -e
export SRHT_CONFIG=/run/sourcehut/gitsrht/config.ini
export SRHT_CONFIG=/run/sourcehut/git.sr.ht/config.ini
# hooks/post-update calls /usr/bin/gitsrht-update-hook as hooks/stage-3
# but this wrapper being a bash script, it overrides $0 with /usr/bin/gitsrht-update-hook
# hence this hack to put hooks/stage-3 back into gitsrht-update-hook's $0
if test "''${STAGE3:+set}"
then
exec -a hooks/stage-3 ${pkgs.sourcehut.gitsrht}/bin/gitsrht-update-hook "$@"
exec -a hooks/stage-3 ${cfg.git.package}/bin/git.sr.ht-update-hook "$@"
else
export STAGE3=set
exec -a "$0" ${pkgs.sourcehut.gitsrht}/bin/gitsrht-update-hook "$@"
exec -a "$0" ${cfg.git.package}/bin/git.sr.ht-update-hook "$@"
fi
''}:/usr/bin/gitsrht-update-hook"
''}:/usr/bin/git.sr.ht-update-hook"
]
++ optionals cfg.hg.enable [
# /path/to/hgsrht-keys calls /path/to/hgsrht-shell,
# or [hg.sr.ht] shell= if set.
"${pkgs.writeShellScript "hgsrht-keys-wrapper" ''
set -e
cd /run/sourcehut/hgsrht/subdir
exec -a "$0" ${pkgs.sourcehut.hgsrht}/bin/hgsrht-keys "$@"
''}:/usr/bin/hgsrht-keys"
"${pkgs.writeShellScript "hgsrht-shell-wrapper" ''
cd /run/sourcehut/hg.sr.ht/subdir
exec -a "$0" ${cfg.hg.package}/bin/hg.sr.ht-keys "$@"
''}:/usr/bin/hg.sr.ht-keys"
"${pkgs.writeShellScript "hg.sr.ht-shell-wrapper" ''
set -e
cd /run/sourcehut/hgsrht/subdir
exec -a "$0" ${pkgs.sourcehut.hgsrht}/bin/hgsrht-shell "$@"
''}:/usr/bin/hgsrht-shell"
cd /run/sourcehut/hg.sr.ht/subdir
exec -a "$0" ${cfg.hg.package}/bin/hg.sr.ht-shell "$@"
''}:/usr/bin/hg.sr.ht-shell"
# Mercurial's changegroup hooks are run relative to their repository's directory,
# but hgsrht-hook-changegroup looks up ./config.ini
"${pkgs.writeShellScript "hgsrht-hook-changegroup" ''
set -e
test -e "''$PWD"/config.ini ||
ln -s /run/sourcehut/hgsrht/config.ini "''$PWD"/config.ini
exec -a "$0" ${pkgs.sourcehut.hgsrht}/bin/hgsrht-hook-changegroup "$@"
''}:/usr/bin/hgsrht-hook-changegroup"
ln -s /run/sourcehut/hg.sr.ht/config.ini "''$PWD"/config.ini
exec -a "$0" ${cfg.hg.package}/bin/hg.sr.ht-hook-changegroup "$@"
''}:/usr/bin/hg.sr.ht-hook-changegroup"
];
};
};
@@ -985,17 +987,17 @@ in
(import ./service.nix "builds" {
inherit configIniOfService;
srvsrht = "buildsrht";
pkgname = "buildsrht";
port = 5002;
extraServices.buildsrht-api = {
extraServices."build.sr.ht-api" = {
serviceConfig.Restart = "always";
serviceConfig.RestartSec = "5s";
serviceConfig.ExecStart = "${pkgs.sourcehut.buildsrht}/bin/buildsrht-api -b ${cfg.listenAddress}:${
serviceConfig.ExecStart = "${cfg.builds.package}/bin/builds.sr.ht-api -b ${cfg.listenAddress}:${
toString (cfg.builds.port + 100)
}";
};
# TODO: a celery worker on the master and worker are apparently needed
extraServices.buildsrht-worker =
extraServices."build.sr.ht-worker" =
let
qemuPackage = pkgs.qemu_kvm;
serviceName = "buildsrht-worker";
@@ -1024,7 +1026,7 @@ in
fi
'';
serviceConfig = {
ExecStart = "${pkgs.sourcehut.buildsrht}/bin/buildsrht-worker";
ExecStart = "${cfg.builds.package}/bin/builds.sr.ht-worker";
BindPaths = [ cfg.settings."builds.sr.ht::worker".buildlogs ];
LogsDirectory = [ "sourcehut/${serviceName}" ];
RuntimeDirectory = [ "sourcehut/${serviceName}/subdir" ];
@@ -1055,7 +1057,7 @@ in
name = "buildsrht-worker-images-pre";
paths = image_dirs;
# FIXME: not working, apparently because ubuntu/latest is a broken link
# ++ [ "${pkgs.sourcehut.buildsrht}/lib/images" ];
# ++ [ "${cfg.builds.package}/lib/images" ];
};
image_dir = pkgs.runCommand "buildsrht-worker-images" { } ''
mkdir -p $out/images
@@ -1072,7 +1074,7 @@ in
{
# Note that git.sr.ht::dispatch is not a typo,
# gitsrht-dispatch always use this section
"git.sr.ht::dispatch"."/usr/bin/buildsrht-keys" =
"git.sr.ht::dispatch"."/usr/bin/builds.sr.ht-keys" =
mkDefault "${cfg.builds.user}:${cfg.builds.group}";
}
(mkIf cfg.builds.enableWorker {
@@ -1113,8 +1115,10 @@ in
(import ./service.nix "git" (
let
baseService = {
path = [ cfg.git.package ];
serviceConfig.BindPaths = [ "${cfg.settings."git.sr.ht".repos}:/var/lib/sourcehut/gitsrht/repos" ];
path = [ cfg.git.gitPackage ];
serviceConfig.BindPaths = [
"${cfg.settings."git.sr.ht".repos}:/var/lib/sourcehut/git.sr.ht/repos"
];
};
in
{
@@ -1123,23 +1127,23 @@ in
baseService
{
serviceConfig.StateDirectory = [
"sourcehut/gitsrht"
"sourcehut/gitsrht/repos"
"sourcehut/git.sr.ht"
"sourcehut/git.sr.ht/repos"
];
preStart = mkIf (versionOlder config.system.stateVersion "22.05") (mkBefore ''
# Fix Git hooks of repositories pre-dating https://github.com/NixOS/nixpkgs/pull/133984
(
set +f
shopt -s nullglob
for h in /var/lib/sourcehut/gitsrht/repos/~*/*/hooks/{pre-receive,update,post-update}
do ln -fnsv /usr/bin/gitsrht-update-hook "$h"; done
for h in /var/lib/sourcehut/git.sr.ht/repos/~*/*/hooks/{pre-receive,update,post-update}
do ln -fnsv /usr/bin/git.sr.ht-update-hook "$h"; done
)
'');
}
];
port = 5001;
webhooks = true;
extraTimers.gitsrht-periodic = {
extraTimers."git.sr.ht-periodic" = {
service = baseService;
timerConfig.OnCalendar = [ "*:0/20" ];
};
@@ -1149,7 +1153,7 @@ in
# Probably could use gitsrht-shell if output is restricted to just parameters...
users.users.${cfg.git.user}.shell = pkgs.bash;
services.sourcehut.settings = {
"git.sr.ht::dispatch"."/usr/bin/gitsrht-keys" = mkDefault "${cfg.git.user}:${cfg.git.group}";
"git.sr.ht::dispatch"."/usr/bin/git.sr.ht-keys" = mkDefault "${cfg.git.user}:${cfg.git.group}";
};
systemd.services.sshd = baseService;
}
@@ -1164,49 +1168,50 @@ in
'';
};
locations."~ ^/([^/]+)/([^/]+)/(HEAD|info/refs|objects/info/.*|git-upload-pack).*$" = {
root = "/var/lib/sourcehut/gitsrht/repos";
root = "/var/lib/sourcehut/git.sr.ht/repos";
fastcgiParams = {
GIT_HTTP_EXPORT_ALL = "";
GIT_PROJECT_ROOT = "$document_root";
PATH_INFO = "$uri";
SCRIPT_FILENAME = "${cfg.git.package}/bin/git-http-backend";
SCRIPT_FILENAME = "${cfg.git.gitPackage}/bin/git-http-backend";
};
extraConfig = ''
auth_request /authorize;
fastcgi_read_timeout 500s;
fastcgi_pass unix:/run/gitsrht-fcgiwrap.sock;
fastcgi_pass unix:/run/git.sr.ht-fcgiwrap.sock;
gzip off;
'';
};
};
systemd.sockets.gitsrht-fcgiwrap = {
systemd.sockets."git.sr.ht-fcgiwrap" = {
before = [ "nginx.service" ];
wantedBy = [
"sockets.target"
"gitsrht.service"
"git.sr.ht.service"
];
# This path remains accessible to nginx.service, which has no RootDirectory=
socketConfig.ListenStream = "/run/gitsrht-fcgiwrap.sock";
socketConfig.ListenStream = "/run/git.sr.ht-fcgiwrap.sock";
socketConfig.SocketUser = nginx.user;
socketConfig.SocketMode = "600";
};
})
];
extraServices.gitsrht-api.serviceConfig = {
extraServices."git.sr.ht-api".serviceConfig = {
Restart = "always";
RestartSec = "5s";
ExecStart = "${pkgs.sourcehut.gitsrht}/bin/gitsrht-api -b ${cfg.listenAddress}:${toString (cfg.git.port + 100)}";
BindPaths = [ "${cfg.settings."git.sr.ht".repos}:/var/lib/sourcehut/gitsrht/repos" ];
ExecStart = "${cfg.git.package}/bin/git.sr.ht-api -b ${cfg.listenAddress}:${toString (cfg.git.port + 100)}";
BindPaths = [ "${cfg.settings."git.sr.ht".repos}:/var/lib/sourcehut/git.sr.ht/repos" ];
};
extraServices.gitsrht-fcgiwrap = mkIf cfg.nginx.enable {
extraServices."git.sr.ht-fcgiwrap" = mkIf cfg.nginx.enable {
serviceConfig = {
# Socket is passed by gitsrht-fcgiwrap.socket
ExecStart = "${pkgs.fcgiwrap}/sbin/fcgiwrap -c ${toString cfg.git.fcgiwrap.preforkProcess}";
ExecStart = "${pkgs.fcgiwrap}/bin/fcgiwrap -c ${toString cfg.git.fcgiwrap.preforkProcess}";
# No need for config.ini
ExecStartPre = mkForce [ ];
User = null;
DynamicUser = true;
BindReadOnlyPaths = [ "${cfg.settings."git.sr.ht".repos}:/var/lib/sourcehut/gitsrht/repos" ];
# FIXME: Fails to start with dynamic user
# User = null;
# DynamicUser = true;
BindReadOnlyPaths = [ "${cfg.settings."git.sr.ht".repos}:/var/lib/sourcehut/git.sr.ht/repos" ];
IPAddressDeny = "any";
InaccessiblePaths = [
"-+/run/postgresql"
@@ -1232,8 +1237,8 @@ in
(import ./service.nix "hg" (
let
baseService = {
path = [ cfg.hg.package ];
serviceConfig.BindPaths = [ "${cfg.settings."hg.sr.ht".repos}:/var/lib/sourcehut/hgsrht/repos" ];
path = [ cfg.hg.mercurialPackage ];
serviceConfig.BindPaths = [ "${cfg.settings."hg.sr.ht".repos}:/var/lib/sourcehut/hg.sr.ht/repos" ];
};
in
{
@@ -1242,26 +1247,26 @@ in
baseService
{
serviceConfig.StateDirectory = [
"sourcehut/hgsrht"
"sourcehut/hgsrht/repos"
"sourcehut/hg.sr.ht"
"sourcehut/hg.sr.ht/repos"
];
}
];
port = 5010;
webhooks = true;
extraTimers.hgsrht-periodic = {
extraTimers."hg.sr.ht-periodic" = {
service = baseService;
timerConfig.OnCalendar = [ "*:0/20" ];
};
extraTimers.hgsrht-clonebundles = mkIf cfg.hg.cloneBundles {
extraTimers."hg.sr.ht-clonebundles" = mkIf cfg.hg.cloneBundles {
service = baseService;
timerConfig.OnCalendar = [ "daily" ];
timerConfig.AccuracySec = "1h";
};
extraServices.hgsrht-api = {
extraServices."hg.sr.ht-api" = {
serviceConfig.Restart = "always";
serviceConfig.RestartSec = "5s";
serviceConfig.ExecStart = "${pkgs.sourcehut.hgsrht}/bin/hgsrht-api -b ${cfg.listenAddress}:${toString (cfg.hg.port + 100)}";
serviceConfig.ExecStart = "${cfg.hgsrht.package}/bin/hg.sr.ht-api -b ${cfg.listenAddress}:${toString (cfg.hg.port + 100)}";
};
extraConfig = mkMerge [
{
@@ -1269,7 +1274,7 @@ in
services.sourcehut.settings = {
# Note that git.sr.ht::dispatch is not a typo,
# gitsrht-dispatch always uses this section.
"git.sr.ht::dispatch"."/usr/bin/hgsrht-keys" = mkDefault "${cfg.hg.user}:${cfg.hg.group}";
"git.sr.ht::dispatch"."/usr/bin/hg.sr.ht-keys" = mkDefault "${cfg.hg.user}:${cfg.hg.group}";
};
systemd.services.sshd = baseService;
}
@@ -1290,7 +1295,7 @@ in
# so someone would need to know or guess a SHA value to download anything.
# TODO: proxyPass to an hg serve service?
locations."~ ^/[~^][a-z0-9_]+/[a-zA-Z0-9_.-]+/\\.hg/bundles/.*$" = {
root = "/var/lib/nginx/hgsrht/repos";
root = "/var/lib/nginx/hg.sr.ht/repos";
extraConfig = ''
auth_request /authorize;
gzip off;
@@ -1299,7 +1304,7 @@ in
};
systemd.services.nginx = {
serviceConfig.BindReadOnlyPaths = [
"${cfg.settings."hg.sr.ht".repos}:/var/lib/nginx/hgsrht/repos"
"${cfg.settings."hg.sr.ht".repos}:/var/lib/nginx/hg.sr.ht/repos"
];
};
})
@@ -1330,23 +1335,23 @@ in
inherit configIniOfService;
port = 5006;
webhooks = true;
extraServices.listssrht-api = {
extraServices."lists.sr.ht-api" = {
serviceConfig.Restart = "always";
serviceConfig.RestartSec = "5s";
serviceConfig.ExecStart = "${pkgs.sourcehut.listssrht}/bin/listssrht-api -b ${cfg.listenAddress}:${
serviceConfig.ExecStart = "${cfg.lists.package}/bin/lists.sr.ht-api -b ${cfg.listenAddress}:${
toString (cfg.lists.port + 100)
}";
};
# Receive the mail from Postfix and enqueue them into Redis and PostgreSQL
extraServices.listssrht-lmtp = {
extraServices."lists.sr.ht-lmtp" = {
wants = [ "postfix.service" ];
unitConfig.JoinsNamespaceOf = optional cfg.postfix.enable "postfix.service";
serviceConfig.ExecStart = "${pkgs.sourcehut.listssrht}/bin/listssrht-lmtp";
serviceConfig.ExecStart = "${cfg.lists.package}/bin/lists.sr.ht-lmtp";
# Avoid crashing: os.chown(sock, os.getuid(), sock_gid)
serviceConfig.PrivateUsers = mkForce false;
};
# Dequeue the mails from Redis and dispatch them
extraServices.listssrht-process = {
extraServices."lists.sr.ht-process" = {
serviceConfig = {
preStart = ''
cp ${pkgs.writeText "${srvsrht}-webhooks-celeryconfig.py" cfg.lists.process.celeryConfig} \
@@ -1392,7 +1397,7 @@ in
OnCalendar = [ "daily" ];
AccuracySec = "1h";
};
extraServices.metasrht-api = {
extraServices."meta.sr.ht-api" = {
serviceConfig.Restart = "always";
serviceConfig.RestartSec = "5s";
preStart =
@@ -1414,7 +1419,7 @@ in
) cfg.settings
)
);
serviceConfig.ExecStart = "${pkgs.sourcehut.metasrht}/bin/metasrht-api -b ${cfg.listenAddress}:${toString (cfg.meta.port + 100)}";
serviceConfig.ExecStart = "${cfg.meta.package}/bin/meta.sr.ht-api -b ${cfg.listenAddress}:${toString (cfg.meta.port + 100)}";
};
extraConfig = {
assertions = [
@@ -1428,14 +1433,14 @@ in
}
];
environment.systemPackages = optional cfg.meta.enable (
pkgs.writeShellScriptBin "metasrht-manageuser" ''
pkgs.writeShellScriptBin "meta.sr.ht-manageuser" ''
set -eux
if test "$(${pkgs.coreutils}/bin/id -n -u)" != '${cfg.meta.user}'
then exec sudo -u '${cfg.meta.user}' "$0" "$@"
else
# In order to load config.ini
if cd /run/sourcehut/metasrht
then exec ${pkgs.sourcehut.metasrht}/bin/metasrht-manageuser "$@"
if cd /run/sourcehut/meta.sr.ht
then exec ${cfg.meta.package}/bin/meta.sr.ht-manageuser "$@"
else cat <<EOF
Please run: sudo systemctl start metasrht
EOF
@@ -1452,8 +1457,9 @@ in
port = 5112;
mainService =
let
package = cfg.pages.package;
srvsrht = "pagessrht";
version = pkgs.sourcehut.${srvsrht}.version;
version = package.version;
stateDir = "/var/lib/sourcehut/${srvsrht}";
iniKey = "pages.sr.ht";
in
@@ -1467,13 +1473,13 @@ in
if test ! -e ${stateDir}/db; then
${postgresql.package}/bin/psql '${
cfg.settings.${iniKey}.connection-string
}' -f ${pkgs.sourcehut.pagessrht}/share/sql/schema.sql
}' -f ${cfg.pages.package}/share/sql/schema.sql
echo ${version} >${stateDir}/db
fi
${optionalString cfg.settings.${iniKey}.migrate-on-upgrade ''
# Just try all the migrations because they're not linked to the version
for sql in ${pkgs.sourcehut.pagessrht}/share/sql/migrations/*.sql; do
for sql in ${package}/share/sql/migrations/*.sql; do
${postgresql.package}/bin/psql '${cfg.settings.${iniKey}.connection-string}' -f "$sql" || true
done
''}
@@ -1482,7 +1488,7 @@ in
touch ${stateDir}/webhook
'';
serviceConfig = {
ExecStart = mkForce "${pkgs.sourcehut.pagessrht}/bin/pages.sr.ht -b ${cfg.listenAddress}:${toString cfg.pages.port}";
ExecStart = mkForce "${cfg.pages.package}/bin/pages.sr.ht -b ${cfg.listenAddress}:${toString cfg.pages.port}";
};
};
})
@@ -1490,10 +1496,10 @@ in
(import ./service.nix "paste" {
inherit configIniOfService;
port = 5011;
extraServices.pastesrht-api = {
extraServices."paste.sr.ht-api" = {
serviceConfig.Restart = "always";
serviceConfig.RestartSec = "5s";
serviceConfig.ExecStart = "${pkgs.sourcehut.pastesrht}/bin/pastesrht-api -b ${cfg.listenAddress}:${
serviceConfig.ExecStart = "${cfg.paste.package}/bin/paste.sr.ht-api -b ${cfg.listenAddress}:${
toString (cfg.paste.port + 100)
}";
};
@@ -1503,15 +1509,15 @@ in
inherit configIniOfService;
port = 5003;
webhooks = true;
extraServices.todosrht-api = {
extraServices."todo.sr.ht-api" = {
serviceConfig.Restart = "always";
serviceConfig.RestartSec = "5s";
serviceConfig.ExecStart = "${pkgs.sourcehut.todosrht}/bin/todosrht-api -b ${cfg.listenAddress}:${toString (cfg.todo.port + 100)}";
serviceConfig.ExecStart = "${cfg.todo.package}/bin/todo.sr.ht-api -b ${cfg.listenAddress}:${toString (cfg.todo.port + 100)}";
};
extraServices.todosrht-lmtp = {
extraServices."todo.sr.ht-lmtp" = {
wants = [ "postfix.service" ];
unitConfig.JoinsNamespaceOf = optional cfg.postfix.enable "postfix.service";
serviceConfig.ExecStart = "${pkgs.sourcehut.todosrht}/bin/todosrht-lmtp";
serviceConfig.ExecStart = "${cfg.todo.package}/bin/todo.sr.ht-lmtp";
# Avoid crashing: os.chown(sock, os.getuid(), sock_gid)
serviceConfig.PrivateUsers = mkForce false;
};

View File

@@ -1,7 +1,8 @@
srv:
{
configIniOfService,
srvsrht ? "${srv}srht", # Because "buildsrht" does not follow that pattern (missing an "s").
pkgname ? "${srv}srht", # Because "buildsrht" does not follow that pattern (missing an "s").
srvsrht ? "${srv}.sr.ht",
iniKey ? "${srv}.sr.ht",
webhooks ? false,
extraTimers ? { },
@@ -28,7 +29,7 @@ let
mkIf
mkMerge
;
inherit (lib.options) mkEnableOption mkOption;
inherit (lib.options) mkEnableOption mkOption mkPackageOption;
inherit (lib.strings) concatStringsSep hasSuffix optionalString;
inherit (config.services) postgresql;
redis = config.services.redis.servers."sourcehut-${srvsrht}";
@@ -162,6 +163,8 @@ in
{
enable = mkEnableOption "${srv} service";
package = mkPackageOption pkgs [ "sourcehut" pkgname ] { };
user = mkOption {
type = types.str;
default = srvsrht;
@@ -276,7 +279,7 @@ in
forceSSL = mkDefault true;
locations."/".proxyPass = "http://${cfg.listenAddress}:${toString srvCfg.port}";
locations."/static" = {
root = "${pkgs.sourcehut.${srvsrht}}/${pkgs.sourcehut.python.sitePackages}/${srvsrht}";
root = "${srvCfg.package}/${pkgs.sourcehut.python.sitePackages}/${srvsrht}";
extraConfig = mkDefault ''
expires 30d;
'';
@@ -367,12 +370,12 @@ in
StateDirectory = [ "sourcehut/${srvsrht}" ];
StateDirectoryMode = "2750";
ExecStart =
"${cfg.python}/bin/gunicorn ${srvsrht}.app:app --name ${srvsrht} --bind ${cfg.listenAddress}:${toString srvCfg.port} "
"${cfg.python}/bin/gunicorn ${pkgname}.app:app --name ${srvsrht} --bind ${cfg.listenAddress}:${toString srvCfg.port} "
+ concatStringsSep " " srvCfg.gunicorn.extraArgs;
};
preStart =
let
package = pkgs.sourcehut.${srvsrht};
package = srvCfg.package;
version = package.version;
stateDir = "/var/lib/sourcehut/${srvsrht}";
in
@@ -385,7 +388,7 @@ in
if test ! -e ${stateDir}/db; then
# Setup the initial database.
# Note that it stamps the alembic head afterward
${package}/bin/${srvsrht}-initdb
${postgresql.package}/bin/psql -d ${srvsrht} -f ${package}/share/sourcehut/${srvsrht}-schema.sql
echo ${version} >${stateDir}/db
fi
@@ -401,7 +404,7 @@ in
# See https://lists.sr.ht/~sircmpwn/sr.ht-admins/<20190302181207.GA13778%40cirno.my.domain>
if test ! -e ${stateDir}/webhook; then
# Update ${iniKey}'s users' profile copy to the latest
${cfg.python}/bin/srht-update-profiles ${iniKey}
${cfg.python}/bin/sr.ht-update-profiles ${iniKey}
touch ${stateDir}/webhook
fi
'';
@@ -424,7 +427,7 @@ in
Type = "simple";
Restart = "always";
ExecStart =
"${cfg.python}/bin/celery --app ${srvsrht}.webhooks worker --hostname ${srvsrht}-webhooks@%%h "
"${cfg.python}/bin/celery --app ${pkgname}.webhooks worker --hostname ${srvsrht}-webhooks@%%h "
+ concatStringsSep " " srvCfg.webhooks.extraArgs;
# Avoid crashing: os.getloadavg()
ProcSubset = mkForce "all";
@@ -443,7 +446,7 @@ in
];
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.sourcehut.${srvsrht}}/bin/${timerName}";
ExecStart = "${srvCfg.package}/bin/${timerName}";
};
}
(timer.service or { })

View File

@@ -87,7 +87,7 @@ in
assertions = [
{
assertion = hasAttr "AUTH_AUTHORITY" cfg.settings;
message = "The setting AUTH_AUTHORITY is required for the dasboard to function.";
message = "The setting AUTH_AUTHORITY is required for the dashboard to function.";
}
];

View File

@@ -38,12 +38,34 @@ let
else
"";
configDir = pkgs.writeTextDir "recursor.conf" (
concatStringsSep "\n" (flip mapAttrsToList cfg.settings (name: val: "${name}=${serialize val}"))
);
settingsFormat = pkgs.formats.yaml { };
mkDefaultAttrs = mapAttrs (n: v: mkDefault v);
mkForwardZone = mapAttrsToList (
zone: uri: {
inherit zone;
forwarders = [ uri ];
}
);
configFile =
if cfg.old-settings != { } then
# Convert recursor.conf to recursor.yml and merge it
let
conf = pkgs.writeText "recursor.conf" (
concatStringsSep "\n" (mapAttrsToList (name: val: "${name}=${serialize val}") cfg.old-settings)
);
yaml = settingsFormat.generate "recursor.yml" cfg.yaml-settings;
in
pkgs.runCommand "recursor-merged.yml" { } ''
${pkgs.pdns-recursor}/bin/rec_control show-yaml --config ${conf} > override.yml
${pkgs.yq-go}/bin/yq '. *= load("override.yml")' ${yaml} > $out
''
else
settingsFormat.generate "recursor.yml" cfg.yaml-settings;
in
{
options.services.pdns-recursor = {
@@ -175,7 +197,7 @@ in
'';
};
settings = mkOption {
old-settings = mkOption {
type = configType;
default = { };
example = literalExpression ''
@@ -184,11 +206,34 @@ in
log-common-errors = true;
}
'';
description = ''
Older PowerDNS Recursor settings. Use this option to configure
Recursor settings not exposed in a NixOS option or to bypass one.
See the full documentation at
<https://doc.powerdns.com/recursor/settings.html>
for the available options.
::: {.warning}
This option is provided for backward compatibility only
and will be removed in the next release of NixOS.
:::
'';
};
yaml-settings = mkOption {
type = settingsFormat.type;
default = { };
example = literalExpression ''
{
loglevel = 8;
log-common-errors = true;
}
'';
description = ''
PowerDNS Recursor settings. Use this option to configure Recursor
settings not exposed in a NixOS option or to bypass one.
See the full documentation at
<https://doc.powerdns.com/recursor/settings.html>
<https://doc.powerdns.com/recursor/yamlsettings.html>
for the available options.
'';
};
@@ -205,42 +250,44 @@ in
config = mkIf cfg.enable {
environment.etc."pdns-recursor".source = configDir;
environment.etc."/pdns-recursor/recursor.yml".source = configFile;
services.pdns-recursor.settings = mkDefaultAttrs {
local-address = cfg.dns.address;
local-port = cfg.dns.port;
allow-from = cfg.dns.allowFrom;
services.pdns-recursor.yaml-settings = {
incoming = mkDefaultAttrs {
listen = cfg.dns.address;
port = cfg.dns.port;
allow_from = cfg.dns.allowFrom;
};
webserver-address = cfg.api.address;
webserver-port = cfg.api.port;
webserver-allow-from = cfg.api.allowFrom;
webservice = mkDefaultAttrs {
address = cfg.api.address;
port = cfg.api.port;
allow_from = cfg.api.allowFrom;
};
forward-zones = mapAttrsToList (zone: uri: "${zone}.=${uri}") cfg.forwardZones;
forward-zones-recurse = mapAttrsToList (zone: uri: "${zone}.=${uri}") cfg.forwardZonesRecurse;
export-etc-hosts = cfg.exportHosts;
dnssec = cfg.dnssecValidation;
serve-rfc1918 = cfg.serveRFC1918;
lua-config-file = pkgs.writeText "recursor.lua" cfg.luaConfig;
recursor = mkDefaultAttrs {
forward_zones = mkForwardZone cfg.forwardZones;
forward_zones_recurse = mkForwardZone cfg.forwardZonesRecurse;
export_etc_hosts = cfg.exportHosts;
serve_rfc1918 = cfg.serveRFC1918;
lua_config_file = pkgs.writeText "recursor.lua" cfg.luaConfig;
daemon = false;
write_pid = false;
};
daemon = false;
write-pid = false;
log-timestamp = false;
disable-syslog = true;
dnssec = mkDefaultAttrs {
validation = cfg.dnssecValidation;
};
logging = mkDefaultAttrs {
timestamp = false;
disable_syslog = true;
};
};
systemd.packages = [ pkgs.pdns-recursor ];
systemd.services.pdns-recursor = {
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = [
""
"${pkgs.pdns-recursor}/bin/pdns_recursor --config-dir=${configDir}"
];
};
};
systemd.services.pdns-recursor.wantedBy = [ "multi-user.target" ];
users.users.pdns-recursor = {
isSystemUser = true;
@@ -250,6 +297,15 @@ in
users.groups.pdns-recursor = { };
warnings = lib.optional (cfg.old-settings != { }) ''
pdns-recursor has changed its configuration file format from pdns-recursor.conf
(mapped to `services.pdns-recursor.old-settings`) to the newer pdns-recursor.yml
(mapped to `services.pdns-recursor.yaml-settings`).
Support for the older format will be removed in a future version, so please migrate
your settings over. See <https://doc.powerdns.com/recursor/yamlsettings.html>.
'';
};
imports = [
@@ -258,6 +314,19 @@ in
"pdns-recursor"
"extraConfig"
] "To change extra Recursor settings use services.pdns-recursor.settings instead.")
(mkRenamedOptionModule
[
"services"
"pdns-recursor"
"settings"
]
[
"services"
"pdns-recursor"
"old-settings"
]
)
];
meta.maintainers = with lib.maintainers; [ rnhmjoj ];

View File

@@ -129,6 +129,22 @@ in
config = lib.mkIf cfg.enable {
warnings = lib.optional (lib.versionOlder cfg.package.version "1.12") ''
Meilisearch 1.11 will be removed in NixOS 25.11. As it was the last
version not to support dumpless upgrades, you will have to manually
migrate your data before that. Instructions can be found at
https://www.meilisearch.com/docs/learn/update_and_migration/updating#using-a-dump
and afterwards, you can set `services.meilisearch.package = pkgs.meilisearch;`
to use the latest version.
'';
services.meilisearch.package = lib.mkDefault (
if lib.versionAtLeast config.system.stateVersion "25.05" then
pkgs.meilisearch
else
pkgs.meilisearch_1_11
);
# used to restore dumps
environment.systemPackages = [ cfg.package ];

View File

@@ -10,6 +10,8 @@
let
inherit (lib)
concatStringsSep
escapeShellArg
hasInfix
mapAttrs
mapAttrsToList
mkOption
@@ -84,10 +86,18 @@ in
};
config = {
assertions = mapAttrsToList (name: _: {
assertion = !hasInfix "/" name;
message = ''
Specialisation names must not contain forward slashes.
Invalid specialisation name: ${name}
'';
}) config.specialisation;
system.systemBuilderCommands = ''
mkdir $out/specialisation
${concatStringsSep "\n" (
mapAttrsToList (name: path: "ln -s ${path} $out/specialisation/${name}") children
mapAttrsToList (name: path: "ln -s ${path} $out/specialisation/${escapeShellArg name}") children
)}
'';
};

View File

@@ -74,6 +74,7 @@ def is_encrypted(device: str) -> bool:
def is_fs_type_supported(fs_type: str) -> bool:
return fs_type.startswith('vfat')
paths = {}
def get_copied_path_uri(path: str, target: str) -> str:
result = ''
@@ -85,6 +86,8 @@ def get_copied_path_uri(path: str, target: str) -> str:
if not os.path.exists(dest_path):
copy_file(path, dest_path)
else:
paths[dest_path] = True
path_with_prefix = os.path.join('/limine', target, dest_file)
result = f'boot():{path_with_prefix}'
@@ -165,14 +168,29 @@ def config_entry(levels: int, bootspec: BootSpec, label: str, time: str) -> str:
return entry
def generate_config_entry(profile: str, gen: str) -> str:
def generate_config_entry(profile: str, gen: str, special: bool) -> str:
time = datetime.datetime.fromtimestamp(os.stat(get_system_path(profile,gen), follow_symlinks=False).st_mtime).strftime("%F %H:%M:%S")
boot_json = json.load(open(os.path.join(get_system_path(profile, gen), 'boot.json'), 'r'))
boot_spec = bootjson_to_bootspec(boot_json)
entry = config_entry(2, boot_spec, f'Generation {gen}', time)
for spec, spec_boot_spec in boot_spec.specialisations.items():
entry += config_entry(2, spec_boot_spec, f'Generation {gen}, Specialisation {spec}', str(time))
specialisation_list = boot_spec.specialisations.items()
depth = 2
entry = ""
if len(specialisation_list) > 0:
depth += 1
entry += '/' * (depth-1)
if special:
entry += '+'
entry += f'Generation {gen}' + '\n'
entry += config_entry(depth, boot_spec, f'Default', str(time))
else:
entry += config_entry(depth, boot_spec, f'Generation {gen}', str(time))
for spec, spec_boot_spec in specialisation_list:
entry += config_entry(depth, spec_boot_spec, f'{spec}', str(time))
return entry
@@ -203,7 +221,10 @@ def copy_file(from_path: str, to_path: str):
if not os.path.exists(dirname):
os.makedirs(dirname)
shutil.copyfile(from_path, to_path)
shutil.copyfile(from_path, to_path + ".tmp")
os.rename(to_path + ".tmp", to_path)
paths[to_path] = True
def option_from_config(name: str, config_path: List[str], conversion: Callable[[str], str] | None = None) -> str:
if config(*config_path):
@@ -245,12 +266,10 @@ def main():
if not os.path.exists(limine_dir):
os.makedirs(limine_dir)
if os.path.exists(os.path.join(limine_dir, 'kernels')):
print(f'nuking {os.path.join(limine_dir, "kernels")}')
shutil.rmtree(os.path.join(limine_dir, 'kernels'))
os.makedirs(os.path.join(limine_dir, "kernels"))
else:
for dir, dirs, files in os.walk(limine_dir, topdown=True):
for file in files:
paths[os.path.join(dir, file)] = False
profiles = [('system', get_gens())]
@@ -261,22 +280,19 @@ def main():
editor_enabled = 'yes' if config('enableEditor') else 'no'
hash_mismatch_panic = 'yes' if config('panicOnChecksumMismatch') else 'no'
last_gen = get_gens()[-1]
last_gen_json = json.load(open(os.path.join(get_system_path('system', last_gen), 'boot.json'), 'r'))
last_gen_boot_spec = bootjson_to_bootspec(last_gen_json)
config_file = config('extraConfig') + '\n'
config_file += textwrap.dedent(f'''
timeout: {timeout}
editor_enabled: {editor_enabled}
hash_mismatch_panic: {hash_mismatch_panic}
graphics: yes
default_entry: 2
default_entry: {3 if len(last_gen_boot_spec.specialisations.items()) > 0 else 2}
''')
if os.path.exists(os.path.join(limine_dir, 'wallpapers')):
print(f'nuking {os.path.join(limine_dir, "wallpapers")}')
shutil.rmtree(os.path.join(limine_dir, 'wallpapers'))
if len(config('style', 'wallpapers')) > 0:
os.makedirs(os.path.join(limine_dir, 'wallpapers'))
for wallpaper in config('style', 'wallpapers'):
config_file += f'''wallpaper: {get_copied_path_uri(wallpaper, 'wallpapers')}\n'''
@@ -306,8 +322,11 @@ def main():
group_name = 'default profile' if profile == 'system' else f"profile '{profile}'"
config_file += f'/+NixOS {group_name}\n'
isFirst = True
for gen in sorted(gens, key=lambda x: x, reverse=True):
config_file += generate_config_entry(profile, gen)
config_file += generate_config_entry(profile, gen, isFirst)
isFirst = False
config_file_path = os.path.join(limine_dir, 'limine.conf')
config_file += '\n# NixOS boot entries end here\n\n'
@@ -318,6 +337,8 @@ def main():
file.truncate()
file.write(config_file.strip())
paths[config_file_path] = True
for dest_path, source_path in config('additionalFiles').items():
dest_path = os.path.join(limine_dir, dest_path)
@@ -363,9 +384,16 @@ def main():
efibootmgr = os.path.join(config('efiBootMgrPath'), 'bin', 'efibootmgr')
efi_partition = find_mounted_device(config('efiMountPoint'))
efi_disk = find_disk_device(efi_partition)
efibootmgr_output = subprocess.check_output([efibootmgr], stderr=subprocess.STDOUT, universal_newlines=True)
create_flag = '-c'
# Check the output of `efibootmgr` to find if limine is already installed and present in the boot record
if matches := re.findall(r'Boot[0-9a-fA-F]{4}\*? Limine', efibootmgr_output):
create_flag = '-C' # if present, keep the same boot order
efibootmgr_output = subprocess.check_output([
efibootmgr,
'-c',
create_flag,
'-d', efi_disk,
'-p', efi_partition.removeprefix(efi_disk).removeprefix('p'),
'-l', f'\\efi\\limine\\{boot_file}',
@@ -409,4 +437,9 @@ def main():
'Failed to deploy BIOS stage 1 Limine bootloader!\n' +
'You might want to try enabling the `boot.loader.limine.forceMbr` option.')
print("removing unused boot files...")
for path in paths:
if not paths[path]:
os.remove(path)
main()

View File

@@ -116,22 +116,19 @@ in
};
config = {
systemd.additionalUpstreamSystemUnits =
[
"systemd-journald.socket"
"systemd-journald@.socket"
"systemd-journald-varlink@.socket"
"systemd-journald.service"
"systemd-journald@.service"
"systemd-journal-flush.service"
"systemd-journal-catalog-update.service"
"systemd-journald-sync@.service"
]
++ (lib.optional (!config.boot.isContainer) "systemd-journald-audit.socket")
++ [
"systemd-journald-dev-log.socket"
"syslog.socket"
];
systemd.additionalUpstreamSystemUnits = [
"systemd-journald.socket"
"systemd-journald@.socket"
"systemd-journald-varlink@.socket"
"systemd-journald.service"
"systemd-journald@.service"
"systemd-journal-flush.service"
"systemd-journal-catalog-update.service"
"systemd-journald-sync@.service"
"systemd-journald-audit.socket"
"systemd-journald-dev-log.socket"
"syslog.socket"
];
systemd.sockets.systemd-journald-audit.wantedBy = [
"systemd-journald.service"

View File

@@ -99,6 +99,45 @@ in
"builtin-3.${domain}".listenHTTP = ":80";
};
};
csr.configuration =
let
conf = pkgs.writeText "openssl.csr.conf" ''
[req]
default_bits = 2048
prompt = no
default_md = sha256
req_extensions = req_ext
distinguished_name = dn
[ dn ]
CN = ${config.networking.fqdn}
[ req_ext ]
subjectAltName = @alt_names
[ alt_names ]
DNS.1 = ${config.networking.fqdn}
'';
csrData =
pkgs.runCommandNoCC "csr-and-key"
{
buildInputs = [ pkgs.openssl ];
}
''
mkdir -p $out
openssl req -new -newkey rsa:2048 -nodes \
-keyout $out/key.pem \
-out $out/request.csr \
-config ${conf}
'';
in
{
security.acme.certs."${config.networking.fqdn}" = {
csr = "${csrData}/request.csr";
csrKey = "${csrData}/key.pem";
};
};
};
};
};
@@ -211,5 +250,10 @@ in
with subtest("Validate permissions (self-signed)"):
check_permissions(builtin, cert, "acme")
with subtest("Can renew using a CSR"):
builtin.succeed(f"systemctl clean acme-{cert}.service --what=state")
switch_to(builtin, "csr")
check_issuer(builtin, cert, "pebble")
'';
}

View File

@@ -781,6 +781,7 @@ in
matrix-alertmanager = runTest ./matrix/matrix-alertmanager.nix;
matrix-appservice-irc = runTest ./matrix/appservice-irc.nix;
matrix-conduit = handleTest ./matrix/conduit.nix { };
matrix-continuwuity = runTest ./matrix/continuwuity.nix;
matrix-synapse = handleTest ./matrix/synapse.nix { };
matrix-synapse-workers = handleTest ./matrix/synapse-workers.nix { };
mautrix-meta-postgres = handleTest ./matrix/mautrix-meta-postgres.nix { };
@@ -993,6 +994,7 @@ in
orthanc = runTest ./orthanc.nix;
owncast = handleTest ./owncast.nix { };
outline = handleTest ./outline.nix { };
i18n = runTest ./i18n.nix;
image-contents = handleTest ./image-contents.nix { };
openvscode-server = handleTest ./openvscode-server.nix { };
open-webui = runTest ./open-webui.nix;
@@ -1018,7 +1020,7 @@ in
paperless = handleTest ./paperless.nix { };
parsedmarc = handleTest ./parsedmarc { };
password-option-override-ordering = handleTest ./password-option-override-ordering.nix { };
pdns-recursor = handleTest ./pdns-recursor.nix { };
pdns-recursor = runTest ./pdns-recursor.nix;
pds = handleTest ./pds.nix { };
peerflix = handleTest ./peerflix.nix { };
peering-manager = handleTest ./web-apps/peering-manager.nix { };

View File

@@ -5,13 +5,10 @@ let
in
{
name = "bitbox-bridge";
meta = {
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [
izelnakri
tensor5
];
};
meta.maintainers = with lib.maintainers; [
izelnakri
tensor5
];
nodes.machine = {
services.bitbox-bridge = {

View File

@@ -48,6 +48,10 @@ import ./make-test-python.nix (
print(scanimage)
assert """device `brother5:net1;dev0' is a Brother b ADS-1200""" in scanimage
assert """device `brother5:net1;dev1' is a Brother a ADS-1200""" in scanimage
# Confirm systemd-udevd no longer logs errors about SYSFS
logs = machine.succeed('journalctl --unit systemd-udevd')
assert "Invalid key 'SYSFS'" not in logs
'';
}
)

View File

@@ -14,4 +14,9 @@
# Don't use a desktop manager.
services.displayManager.defaultSession = lib.mkDefault "none+icewm";
services.xserver.windowManager.icewm.enable = true;
# Help with OCR
environment.etc."icewm/theme".text = ''
Theme="gtk2/default.theme"
'';
}

View File

@@ -10,10 +10,7 @@
{
name = testName;
meta = {
platforms = lib.platforms.linux;
maintainers = lib.teams.cosmic.members;
};
meta.maintainers = lib.teams.cosmic.members;
nodes.machine = {
imports = [ ./common/user-account.nix ];

View File

@@ -19,6 +19,9 @@
We do that by creating a trusted CA and issuing a cert that includes
all of the test domains as subject-alternative names and then spoofs the
hostnames in /etc/hosts.
- We started skipping the test_http2_headers test due to log format differences
between the nghttpd2 version in nixpkgs and the outdated one curl-impersonate
uses upstream for its tests.
*/
import ./make-test-python.nix (
@@ -125,7 +128,7 @@ import ./make-test-python.nix (
# Run tests
cd tests
pytest . --install-dir ../usr --capture-interface eth1
pytest . --install-dir ../usr --capture-interface eth1 --exitfirst -k 'not test_http2_headers'
'';
in
{

View File

@@ -1,6 +1,6 @@
# Checks that `security.pki` options are working in curl and the main browser
# engines: Gecko (via Firefox), Chromium, QtWebEngine (via qutebrowser) and
# WebKitGTK (via Midori). The test checks that certificates issued by a custom
# engines: Gecko (via Firefox), Chromium, QtWebEngine (via qutebrowser).
# The test checks that certificates issued by a custom
# trusted CA are accepted but those from an unknown CA are rejected.
{
@@ -210,8 +210,4 @@ in
args = "-T";
error = "Certificate error";
};
midori = {
args = "-p";
error = "Security";
};
}

43
nixos/tests/i18n.nix Normal file
View File

@@ -0,0 +1,43 @@
{ lib, ... }:
{
name = "glibLocales-custom-builds";
meta.maintainers = with lib.maintainers; [ doronbehar ];
nodes = {
nonUTF8Charset = {
i18n = {
defaultLocale = "en_US";
defaultCharset = "ISO-8859-1";
};
};
extraLocales1 = {
i18n = {
defaultLocale = "en_US.UTF-8";
extraLocales = [
"nl_NL.UTF-8/UTF-8"
];
};
};
extraLocaleSettings = {
i18n = {
defaultLocale = "en_US.UTF-8";
extraLocaleSettings = {
LC_MESSAGES = "en_US.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
};
};
localeCharsets = {
i18n = {
defaultLocale = "en_US.UTF-8";
extraLocaleSettings = {
LC_TIME = "de_DE";
};
localeCharsets = {
LC_TIME = "ISO-8859-1";
};
};
};
};
testScript = { nodes, ... }: "";
}

View File

@@ -651,14 +651,11 @@ let
# put global maintainers here, individuals go into makeInstallerTest fkt call
maintainers = (meta.maintainers or [ ]);
# non-EFI tests can only run on x86
platforms =
if isEfi then
platforms.linux
else
[
"x86_64-linux"
"i686-linux"
];
platforms = mkIf (!isEfi) [
"x86_64-linux"
"x86_64-darwin"
"i686-linux"
];
};
nodes =
let

View File

@@ -4,9 +4,11 @@
lib ? pkgs.lib,
}:
let
allK3s = lib.filterAttrs (n: _: lib.strings.hasPrefix "k3s_" n) pkgs;
allK3s = lib.filterAttrs (
n: _: lib.strings.hasPrefix "k3s_" n && (builtins.tryEval pkgs.${n}).success
) pkgs;
in
{
lib.recurseIntoAttrs {
airgap-images = lib.mapAttrs (
_: k3s: import ./airgap-images.nix { inherit system pkgs k3s; }
) allK3s;

View File

@@ -23,7 +23,7 @@ import ./make-test-python.nix (
{ pkgs, lib, ... }:
{
services.kanidm = {
package = pkgs.kanidmWithSecretProvisioning;
package = pkgs.kanidmWithSecretProvisioning_1_6;
enableServer = true;
serverSettings = {
origin = "https://${serverDomain}";

View File

@@ -26,6 +26,7 @@ import ./make-test-python.nix (
{ pkgs, ... }:
{
services.kanidm = {
package = pkgs.kanidm_1_6;
enableServer = true;
serverSettings = {
origin = "https://${serverDomain}";
@@ -55,6 +56,7 @@ import ./make-test-python.nix (
{ nodes, ... }:
{
services.kanidm = {
package = pkgs.kanidm_1_6;
enableClient = true;
clientSettings = {
uri = "https://${serverDomain}";

View File

@@ -42,6 +42,7 @@ let
linux_6_6_hardened
linux_6_12_hardened
linux_6_13_hardened
linux_6_14_hardened
linux_rt_5_4
linux_rt_5_10
linux_rt_5_15

View File

@@ -6,11 +6,6 @@
phip1611
programmerlexi
];
meta.platforms = [
"aarch64-linux"
"i686-linux"
"x86_64-linux"
];
nodes.machine =
{ ... }:
{

View File

@@ -6,11 +6,6 @@
phip1611
programmerlexi
];
meta.platforms = [
"aarch64-linux"
"i686-linux"
"x86_64-linux"
];
nodes.machine =
{ ... }:
{

View File

@@ -1,11 +1,7 @@
{ pkgs, lib, ... }:
{
name = "lomiri-calendar-app-standalone";
meta = {
maintainers = lib.teams.lomiri.members;
# This needs a Linux VM
platforms = lib.platforms.linux;
};
meta.maintainers = lib.teams.lomiri.members;
nodes.machine =
{ config, pkgs, ... }:

View File

@@ -34,14 +34,22 @@
machine.wait_for_x()
with subtest("lomiri filemanager launches"):
machine.execute("lomiri-filemanager-app >&2 &")
machine.succeed("lomiri-filemanager-app >&2 &")
machine.wait_for_console_text("QFSFileEngine::open: No file name specified")
machine.sleep(10)
machine.send_key("alt-f10")
machine.sleep(5)
machine.wait_for_text(r"(filemanager.ubports|alice|items|directories|files|folder)")
machine.screenshot("lomiri-filemanager_open")
machine.succeed("pkill -f lomiri-filemanager-app")
with subtest("lomiri filemanager localisation works"):
machine.execute("env LANG=de_DE.UTF-8 lomiri-filemanager-app >&2 &")
machine.succeed("env LANG=de_DE.UTF-8 lomiri-filemanager-app >&2 &")
machine.wait_for_console_text("QFSFileEngine::open: No file name specified")
machine.sleep(10)
machine.send_key("alt-f10")
machine.sleep(5)
machine.wait_for_text(r"(Elemente|Verzeichnisse|Dateien|Ordner)")
machine.screenshot("lomiri-filemanager_localised")
'';

View File

@@ -8,11 +8,7 @@ let
in
{
name = "lomiri-music-app-standalone";
meta = {
maintainers = lib.teams.lomiri.members;
# This needs a Linux VM
platforms = lib.platforms.linux;
};
meta.maintainers = lib.teams.lomiri.members;
nodes.machine =
{ config, pkgs, ... }:

View File

@@ -0,0 +1,104 @@
{ lib, ... }:
let
name = "continuwuity";
in
{
inherit name;
nodes = {
continuwuity = {
services.matrix-continuwuity = {
enable = true;
settings.global = {
server_name = name;
address = [ "0.0.0.0" ];
allow_registration = true;
yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse = true;
};
extraEnvironment.RUST_BACKTRACE = "yes";
};
networking.firewall.allowedTCPPorts = [ 6167 ];
};
client =
{ pkgs, ... }:
{
environment.systemPackages = [
(pkgs.writers.writePython3Bin "do_test" { libraries = [ pkgs.python3Packages.matrix-nio ]; } ''
import asyncio
import nio
async def main() -> None:
# Connect to continuwuity
client = nio.AsyncClient("http://continuwuity:6167", "alice")
# Register as user alice
response = await client.register("alice", "my-secret-password")
# Log in as user alice
response = await client.login("my-secret-password")
# Create a new room
response = await client.room_create(federate=False)
print("Matrix room create response:", response)
assert isinstance(response, nio.RoomCreateResponse)
room_id = response.room_id
# Join the room
response = await client.join(room_id)
print("Matrix join response:", response)
assert isinstance(response, nio.JoinResponse)
# Send a message to the room
response = await client.room_send(
room_id=room_id,
message_type="m.room.message",
content={
"msgtype": "m.text",
"body": "Hello continuwuity!"
}
)
print("Matrix room send response:", response)
assert isinstance(response, nio.RoomSendResponse)
# Sync responses
response = await client.sync(timeout=30000)
print("Matrix sync response:", response)
assert isinstance(response, nio.SyncResponse)
# Check the message was received by continuwuity
last_message = response.rooms.join[room_id].timeline.events[-1].body
assert last_message == "Hello continuwuity!"
# Leave the room
response = await client.room_leave(room_id)
print("Matrix room leave response:", response)
assert isinstance(response, nio.RoomLeaveResponse)
# Close the client
await client.close()
if __name__ == "__main__":
asyncio.run(main())
'')
];
};
};
testScript = ''
start_all()
with subtest("start continuwuity"):
continuwuity.wait_for_unit("continuwuity.service")
continuwuity.wait_for_open_port(6167)
with subtest("ensure messages can be exchanged"):
client.succeed("do_test >&2")
'';
meta.maintainers = with lib.maintainers; [
nyabinary
snaki
];
}

View File

@@ -1,20 +1,25 @@
import ./make-test-python.nix (
{ pkgs, ... }:
{
name = "powerdns-recursor";
{ lib, pkgs, ... }:
nodes.server =
{ ... }:
{
services.pdns-recursor.enable = true;
services.pdns-recursor.exportHosts = true;
networking.hosts."192.0.2.1" = [ "example.com" ];
};
{
name = "powerdns-recursor";
meta.maintainers = with lib.maintainers; [ rnhmjoj ];
testScript = ''
nodes.server = {
services.pdns-recursor.enable = true;
services.pdns-recursor.exportHosts = true;
services.pdns-recursor.old-settings.dnssec-log-bogus = true;
networking.hosts."192.0.2.1" = [ "example.com" ];
};
testScript = ''
with subtest("pdns-recursor is running"):
server.wait_for_unit("pdns-recursor")
server.wait_for_open_port(53)
with subtest("can resolve names"):
assert "192.0.2.1" in server.succeed("host example.com localhost")
'';
}
)
with subtest("old-settings have been merged in"):
server.succeed("${lib.getExe pkgs.yq-go} -e .dnssec.log_bogus /etc/pdns-recursor/recursor.yml")
'';
}

View File

@@ -3,7 +3,6 @@
name = "shadps4-openorbis-example";
meta = {
inherit (pkgs.shadps4.meta) maintainers;
platforms = lib.intersectLists lib.platforms.linux pkgs.shadps4.meta.platforms;
};
nodes.machine =

View File

@@ -49,15 +49,15 @@ import ../make-test-python.nix (
machine.wait_for_unit("multi-user.target")
with subtest("Check whether meta comes up"):
machine.wait_for_unit("metasrht-api.service")
machine.wait_for_unit("metasrht.service")
machine.wait_for_unit("metasrht-webhooks.service")
machine.wait_for_unit("meta.sr.ht-api.service")
machine.wait_for_unit("meta.sr.ht.service")
machine.wait_for_unit("meta.sr.ht-webhooks.service")
machine.wait_for_open_port(5000)
machine.succeed("curl -sL http://localhost:5000 | grep meta.${domain}")
machine.succeed("curl -sL http://meta.${domain} | grep meta.${domain}")
with subtest("Check whether builds comes up"):
machine.wait_for_unit("buildsrht.service")
machine.wait_for_unit("builds.sr.ht.service")
machine.wait_for_open_port(5002)
machine.succeed("curl -sL http://localhost:5002 | grep builds.${domain}")
#machine.wait_for_unit("buildsrht-worker.service")

View File

@@ -63,25 +63,26 @@ import ../make-test-python.nix (
machine.wait_for_unit("sshd.service")
with subtest("Check whether meta comes up"):
machine.wait_for_unit("metasrht-api.service")
machine.wait_for_unit("metasrht.service")
machine.wait_for_unit("metasrht-webhooks.service")
machine.wait_for_unit("meta.sr.ht-api.service")
machine.wait_for_unit("meta.sr.ht.service")
machine.wait_for_unit("meta.sr.ht-webhooks.service")
machine.wait_for_open_port(5000)
machine.succeed("curl -sL http://localhost:5000 | grep meta.${domain}")
machine.succeed("curl -sL http://meta.${domain} | grep meta.${domain}")
with subtest("Create a new user account and OAuth access key"):
machine.succeed("echo ${userPass} | metasrht-manageuser -ps -e ${userName}@${domain}\
-t active_paying ${userName}");
machine.succeed("echo ${userPass} | meta.sr.ht-manageuser -ps -e ${userName}@${domain}\
-t USER ${userName}");
cmd = "srht-gen-oauth-tok -i ${domain} -q ${userName} ${userPass}"
(_, token) = machine.execute("srht-gen-oauth-tok -i ${domain} -q ${userName} ${userPass}")
token = token.strip().replace("/", r"\\/") # Escape slashes in token before passing it to sed
machine.execute("mkdir -p ~/.config/hut/")
machine.execute("sed s/OAUTH-TOKEN/" + token + "/ ${hutConfig} > ~/.config/hut/config")
with subtest("Check whether git comes up"):
machine.wait_for_unit("gitsrht-api.service")
machine.wait_for_unit("gitsrht.service")
machine.wait_for_unit("gitsrht-webhooks.service")
machine.wait_for_unit("git.sr.ht-api.service")
machine.wait_for_unit("git.sr.ht.service")
machine.wait_for_unit("git.sr.ht-webhooks.service")
machine.succeed("curl -sL http://git.${domain} | grep git.${domain}")
with subtest("Add an SSH key for Git access"):
@@ -95,7 +96,7 @@ import ../make-test-python.nix (
machine.execute("cd test && git add .")
machine.execute("cd test && git commit -m \"Initial commit\"")
machine.execute("cd test && git tag v0.1")
machine.succeed("cd test && git remote add origin gitsrht@git.${domain}:~${userName}/test")
machine.succeed("cd test && git remote add origin git.sr.ht@git.${domain}:~${userName}/test")
machine.execute("( echo -n 'git.${domain} '; cat /etc/ssh/ssh_host_ed25519_key.pub ) > ~/.ssh/known_hosts")
machine.succeed("hut git create test")
machine.succeed("cd test && git push --tags --set-upstream origin master")

View File

@@ -12,11 +12,23 @@ import ./make-test-python.nix (
};
nodes.auditd = {
security.auditd.enable = true;
security.audit.enable = true;
environment.systemPackages = [ pkgs.audit ];
boot.kernel.sysctl."kernel.printk_ratelimit" = 0;
boot.kernelParams = [ "audit_backlog_limit=8192" ];
};
nodes.journaldAudit = {
services.journald.audit = true;
security.audit.enable = true;
environment.systemPackages = [ pkgs.audit ];
boot.kernel.sysctl."kernel.printk_ratelimit" = 0;
boot.kernelParams = [ "audit_backlog_limit=8192" ];
};
nodes.containerCheck = {
containers.c1 = {
autoStart = true;
config = { };
};
};
testScript = ''
@@ -50,6 +62,16 @@ import ./make-test-python.nix (
# logs ideally should NOT end up in kmesg, but they do due to
# https://github.com/systemd/systemd/issues/15324
journaldAudit.succeed("journalctl _TRANSPORT=kernel --grep 'unit=systemd-journald'")
with subtest("container systemd-journald-audit not running"):
containerCheck.wait_for_unit("multi-user.target");
containerCheck.wait_until_succeeds("systemctl -M c1 is-active default.target");
# systemd-journald-audit.socket should exist but not run due to the upstream unit's `Condition*` settings
(status, output) = containerCheck.execute("systemctl -M c1 is-active systemd-journald-audit.socket")
containerCheck.log(output)
assert status == 3 and output == "inactive\n", f"systemd-journald-audit.socket should exist in a container but remain inactive, was {output}"
'';
}
)

View File

@@ -36,6 +36,17 @@ let
from selenium.webdriver.firefox.options import Options
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.common.exceptions import ElementClickInterceptedException
def click_when_unobstructed(mark):
while True:
try:
wait.until(EC.element_to_be_clickable(mark)).click()
break
except ElementClickInterceptedException:
continue
options = Options()
options.add_argument('--headless')
@@ -74,7 +85,7 @@ let
)
driver.find_element(By.XPATH, "//button[contains(., 'Log in with master password')]").click()
wait.until(EC.presence_of_element_located((By.CSS_SELECTOR, 'button#newItemDropdown'))).click()
click_when_unobstructed((By.CSS_SELECTOR, 'button#newItemDropdown'))
driver.find_element(By.XPATH, "//button[contains(., 'Item')]").click()
driver.find_element(By.CSS_SELECTOR, 'input#name').send_keys(
@@ -178,6 +189,8 @@ let
testScript
else
''
import json
start_all()
server.wait_for_unit("vaultwarden.service")
server.wait_for_open_port(8080)
@@ -202,11 +215,9 @@ let
client.succeed(f"bw --nointeraction --raw --session {key} sync -f")
with subtest("get the password with the cli"):
password = client.wait_until_succeeds(
f"bw --nointeraction --raw --session {key} list items | ${pkgs.jq}/bin/jq -r .[].login.password",
timeout=60
)
assert password.strip() == "${storedPassword}"
output = json.loads(client.succeed(f"bw --nointeraction --raw --session {key} list items"))
assert output[0]['login']['password'] == "${storedPassword}"
with subtest("Check systemd unit hardening"):
server.log(server.succeed("systemd-analyze security vaultwarden.service | grep -v "))

View File

@@ -1,13 +1,7 @@
{ lib, pkgs, ... }:
{
name = "velocity";
meta = {
platforms = [
"x86_64-linux"
"aarch64-linux"
];
maintainers = [ lib.maintainers.Tert0 ];
};
meta.maintainers = [ lib.maintainers.Tert0 ];
nodes.server =
{ ... }:

View File

@@ -45,7 +45,7 @@ in
username = "uid";
full_name = "cn";
email = "mail";
mobile = "telephoneNumber";
call = "telephoneNumber";
sms = "mobile";
};
};

View File

@@ -8,8 +8,6 @@ in
{
name = "wstunnel";
meta.platforms = lib.platforms.linux;
nodes = {
server = {
virtualisation.vlans = [ 1 ];

View File

@@ -7,12 +7,12 @@
let
pname = "plexamp";
version = "4.12.2";
version = "4.12.3";
src = fetchurl {
url = "https://plexamp.plex.tv/plexamp.plex.tv/desktop/Plexamp-${version}.AppImage";
name = "${pname}-${version}.AppImage";
hash = "sha512-qsuJv5rnw8Gprlfb3pNChMTCXDYuCd1B5Kz+TWsbjbOw8+u2mieh4gGIiPLIy2jhFBjtZUacqM6eibXL+wHGEg==";
hash = "sha512-gjOjk/JtHbhEDGzWH/bBtNd7qsYS97hBlPbRw7uWH/PCXD4urUWBrlihNWAOgYClVwl7nbrx/y7mhCrI2N6c1w==";
};
appimageContents = appimageTools.extractType2 {
@@ -38,7 +38,7 @@ appimageTools.wrapType2 {
meta = with lib; {
description = "Beautiful Plex music player for audiophiles, curators, and hipsters";
homepage = "https://plexamp.com/";
changelog = "https://forums.plex.tv/t/plexamp-release-notes/221280/79";
changelog = "https://forums.plex.tv/t/plexamp-release-notes/221280/80";
license = licenses.unfree;
maintainers = with maintainers; [
killercup

View File

@@ -14,14 +14,14 @@
stdenv.mkDerivation (finalAttrs: {
pname = "qpwgraph";
version = "0.9.0";
version = "0.9.2";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "rncbc";
repo = "qpwgraph";
rev = "v${finalAttrs.version}";
sha256 = "sha256-KNYP/290UdgjuduOnRfI71VSHIuO+7kTeCJo+Qs8Nks=";
sha256 = "sha256-SCco66Czu8dW7iSSX/exhIlOXS+ayCwGUuCfJuUCRjM=";
};
nativeBuildInputs = [

View File

@@ -22,13 +22,6 @@ stdenv.mkDerivation rec {
hash = "sha256-of493Gd3vc6/a3l+ft/gQ3lUskdW/8yMa4FrY+BGDd4=";
};
# ld64 on darwin doesn't support nested archives and as the nested lib
# (libbase64.a) is not required to build so leave it out
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
substituteInPlace share/Makefile.am \
--replace-fail libpicture_a_LIBADD '#libpicture_a_LIBADD'
'';
nativeBuildInputs = [
autoreconfHook
pkg-config

View File

@@ -24,5 +24,15 @@ symlinkJoin {
--prefix LD_LIBRARY_PATH : ${vte}/lib
'';
inherit (geany.meta) ;
meta = {
inherit (geany.meta)
description
longDescription
homepage
license
maintainers
platforms
mainProgram
;
};
}

View File

@@ -99,7 +99,7 @@ mkDerivation rec {
'';
meta = with lib; {
homepage = "http://leoeditor.com";
homepage = "https://leo-editor.github.io/leo-editor/";
description = "A powerful folding editor";
longDescription = "Leo is a PIM, IDE and outliner that accelerates the work flow of programmers, authors and web designers.";
license = licenses.mit;

View File

@@ -0,0 +1,13 @@
diff --git a/compressed_archive/unarr/unarr-wrapper.pri b/compressed_archive/unarr/unarr-wrapper.pri
index 0115267..5d3d6f5 100644
--- a/compressed_archive/unarr/unarr-wrapper.pri
+++ b/compressed_archive/unarr/unarr-wrapper.pri
@@ -6,7 +6,7 @@ HEADERS += $$PWD/extract_delegate.h \
SOURCES += $$PWD/compressed_archive.cpp
-if(mingw|unix):!macx:!contains(QT_CONFIG, no-pkg-config):packagesExist(libunarr) {
+if(mingw|unix):!contains(QT_CONFIG, no-pkg-config):packagesExist(libunarr) {
message(Using system provided unarr installation found by pkg-config.)
CONFIG += link_pkgconfig
PKGCONFIG += libunarr

View File

@@ -2,11 +2,10 @@
lib,
stdenv,
fetchFromGitHub,
libsForQt5,
poppler,
pkg-config,
libunarr,
libGLU,
libunarr,
libsForQt5,
pkg-config,
}:
stdenv.mkDerivation rec {
@@ -15,28 +14,63 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "YACReader";
repo = pname;
rev = version;
sha256 = "sha256-5vCjr8WRwa7Q/84Itgg07K1CJKGnWA1z53et2IxxReE=";
repo = "yacreader";
tag = version;
hash = "sha256-5vCjr8WRwa7Q/84Itgg07K1CJKGnWA1z53et2IxxReE=";
};
patches = [
# make the unarr backend logic use pkg-config even on Darwin
./darwin-unarr-use-pkg-config.patch
];
qmakeFlags = [
# force unarr backend on all platforms
"CONFIG+=unarr"
];
nativeBuildInputs = [
libsForQt5.qmake
pkg-config
libsForQt5.qttools # for translations
libsForQt5.wrapQtAppsHook
pkg-config
];
buildInputs = [
libunarr
libGLU
libsForQt5.poppler
libsForQt5.qtmultimedia
libsForQt5.qtscript
];
propagatedBuildInputs = [
libsForQt5.qtquickcontrols2
libsForQt5.qtgraphicaleffects
libsForQt5.qtdeclarative
];
buildInputs =
[
libGLU
libsForQt5.poppler
libsForQt5.qtgraphicaleffects # imported, but not declared as a dependency
libsForQt5.qtmultimedia
libsForQt5.qtquickcontrols2
libunarr
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
libsForQt5.qtmacextras # can be removed when using qt6
];
# custom Darwin install instructions taken from the upsteam compileOSX.sh script
installPhase = lib.optionalString stdenv.hostPlatform.isDarwin ''
runHook preInstall
mkdir -p "$out"/Applications
cp -r YACReader/YACReader.app "$out"/Applications/
cp -r YACReaderLibrary/YACReaderLibrary.app "$out"/Applications/
cp -r YACReaderLibraryServer/YACReaderLibraryServer.app "$out"/Applications/
cp -r release/server "$out"/Applications/YACReaderLibrary.app/Contents/MacOS/
cp -r release/server "$out"/Applications/YACReaderLibraryServer.app/Contents/MacOS/
cp -r release/languages "$out"/Applications/YACReader.app/Contents/MacOS/
cp -r release/languages "$out"/Applications/YACReaderLibrary.app/Contents/MacOS/
cp -r release/languages "$out"/Applications/YACReaderLibraryServer.app/Contents/MacOS/
makeWrapper "$out"/Applications/YACReader.app/Contents/MacOS/YACReader "$out/bin/YACReader"
makeWrapper "$out"/Applications/YACReaderLibrary.app/Contents/MacOS/YACReaderLibrary "$out/bin/YACReaderLibrary"
makeWrapper "$out"/Applications/YACReaderLibraryServer.app/Contents/MacOS/YACReaderLibraryServer "$out/bin/YACReaderLibraryServer"
runHook postInstall
'';
meta = {
description = "Comic reader for cross-platform reading and managing your digital comic collection";

View File

@@ -6,6 +6,7 @@
# build inputs
atk,
file,
glib,
gdk-pixbuf,
glib-networking,
gnome-desktop,
@@ -16,6 +17,8 @@
pango,
webkitgtk_4_1,
wrapGAppsHook3,
meson,
ninja,
# check inputs
xvfb-run,
@@ -45,11 +48,15 @@
pulseaudio,
p7zip,
xgamma,
gettext,
libstrangle,
fluidsynth,
xorgserver,
xorg,
util-linux,
pkg-config,
desktop-file-utils,
appstream-glib,
}:
let
@@ -83,9 +90,18 @@ buildPythonApplication rec {
hash = "sha256-CAXKnx5+60MITRM8enkYgFl5ZKM6HCXhCYNyG7kHhuQ=";
};
format = "other";
nativeBuildInputs = [
wrapGAppsHook3
appstream-glib
desktop-file-utils
gettext
glib
gobject-introspection
meson
ninja
wrapGAppsHook3
pkg-config
];
buildInputs =
[
@@ -128,20 +144,6 @@ buildPythonApplication rec {
--replace '"libmagic.so.1"' "'${lib.getLib file}/lib/libmagic.so.1'"
'';
nativeCheckInputs = [
xvfb-run
nose2
flake8
] ++ requiredTools;
checkPhase = ''
runHook preCheck
export HOME=$PWD
xvfb-run -s '-screen 0 800x600x24' make test
runHook postCheck
'';
# avoid double wrapping
dontWrapGApps = true;
makeWrapperArgs = [

View File

@@ -19,6 +19,7 @@
icu,
freetype,
pugixml,
xorg,
nix-update-script,
}:
@@ -32,13 +33,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "organicmaps";
version = "2025.03.02-7";
version = "2025.05.20-5";
src = fetchFromGitHub {
owner = "organicmaps";
repo = "organicmaps";
tag = "${finalAttrs.version}-android";
hash = "sha256-5WX+YDgu8Ll5+rZWWxfbNW0pBFz+2XWkw/ahM14Ml08=";
hash = "sha256-cqcFI5cXREOeHusPkXsMwdCopzpea50mZQ/+ogLlemk=";
fetchSubmodules = true;
};
@@ -78,6 +79,9 @@ stdenv.mkDerivation (finalAttrs: {
icu
freetype
pugixml
xorg.libXrandr
xorg.libXinerama
xorg.libXcursor
];
# Yes, this is PRE configure. The configure phase uses cmake
@@ -94,14 +98,14 @@ stdenv.mkDerivation (finalAttrs: {
};
};
meta = with lib; {
meta = {
# darwin: "invalid application of 'sizeof' to a function type"
broken = stdenv.hostPlatform.isDarwin;
homepage = "https://organicmaps.app/";
description = "Detailed Offline Maps for Travellers, Tourists, Hikers and Cyclists";
license = licenses.asl20;
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fgaz ];
platforms = lib.platforms.all;
mainProgram = "OMaps";
};
})

View File

@@ -76,7 +76,7 @@ in
gnum4,
gtk3,
icu73,
icu77,
icu77, # if you fiddle with the icu parameters, please check Thunderbird's overrides
libGL,
libGLU,
libevent,

View File

@@ -9,11 +9,11 @@
buildMozillaMach rec {
pname = "firefox";
version = "128.10.0esr";
version = "128.10.1esr";
applicationName = "Firefox ESR";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "c0f349cba626e6ec16ff0b52b7d21e05681acd1377fd1111992860f8079373f631ff997d833a3596c72a6d8c6e4f1d051927fa719f1d37a72553dcbd5348659c";
sha512 = "6e7363d8cbecda1cedaf534ac10dc046b5f515399ec754492357e8a558c61ee3389f7bb90aa929dbcb4d6eba041ae1e778a0a8f90aa1e1f939eea517333b6c45";
};
meta = {

View File

@@ -9,10 +9,10 @@
buildMozillaMach rec {
pname = "firefox";
version = "138.0.3";
version = "138.0.4";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "0f1c8ee05bec465b55429c18d788856574c5b2e31d911f15f76d31c00de84d8b8681961799c4101cd1540bd228afd201a4b59fd7c9a88918695040965b9dc0f1";
sha512 = "64d80456da8df27d7eeed7eb20c35fcf213bc948eb48739b6101e2c476ea9a9133da928477a79683c96c160f8d53bed52be487f01a8d29e38d39071f12676806";
};
meta = {

View File

@@ -9,7 +9,7 @@
(
(buildMozillaMach rec {
pname = "floorp";
packageVersion = "11.26.1";
packageVersion = "11.26.2";
applicationName = "Floorp";
binaryName = "floorp";
branding = "browser/branding/official";
@@ -17,14 +17,14 @@
allowAddonSideload = true;
# Must match the contents of `browser/config/version.txt` in the source tree
version = "128.10.0";
version = "128.11.0";
src = fetchFromGitHub {
owner = "Floorp-Projects";
repo = "Floorp";
fetchSubmodules = true;
rev = "v${packageVersion}";
hash = "sha256-WX7I81Rjv/6+L+HCN6j/HvLOPJk0vyiLpUmxoK+FDn8=";
hash = "sha256-tbdEiCFwMkeBB5n82TycyZ0wwE2+cCgLmjROl9kTHS8=";
};
extraConfigureFlags = [

View File

@@ -1,11 +1,11 @@
{
"packageVersion": "138.0.1-2",
"packageVersion": "138.0.4-1",
"source": {
"rev": "138.0.1-2",
"hash": "sha256-H4GvKTrx0+GdUFOjW+E53VwZcZnrrBiXiMvR6aCEKDE="
"rev": "138.0.4-1",
"hash": "sha256-KR8ZiueaEOXt2dw8T6ZvrQURV49Xu4cYe0XE8tEUmbw="
},
"firefox": {
"version": "138.0.1",
"hash": "sha512-vFqNZYFAxMPbKdURNMlxBaAiVWfVzhR1f2lZQGa/akShPgYmzr3it6B4usEooUaQ7gYIPQMG13id4qXp2DlLIw=="
"version": "138.0.4",
"hash": "sha512-ZNgEVtqN8n1+7tfrIMNfzyE7yUjrSHObYQHixHbqmpEz2pKEd6eWg8lsFg+NU77VK+SH8BqNKeONOQcfEmdoBg=="
}
}

View File

@@ -71,7 +71,7 @@ let
in
stdenv.mkDerivation rec {
pname = "vivaldi";
version = "7.3.3635.11";
version = "7.3.3635.12";
suffix =
{
@@ -84,8 +84,8 @@ stdenv.mkDerivation rec {
url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}-1_${suffix}.deb";
hash =
{
aarch64-linux = "sha256-w1/wWP3lZUQ5tBvv6XOCkoR1OCoByURBEvaaemsY19U=";
x86_64-linux = "sha256-kJNFPXiZekjofGtKFbGc85c8yQymhntkCBuhylwQBpE=";
aarch64-linux = "sha256-Gplg0QD7DcibaOv1Q8RUnefACZdNnM8yKYYiP1dpY58=";
x86_64-linux = "sha256-qcV4n9/nAbb0Gw8azorDSjpjy4cXe2XlR94WwuwUEyc=";
}
.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
};

View File

@@ -9,16 +9,16 @@
buildGoModule rec {
pname = "helmfile";
version = "1.0.0";
version = "1.1.0";
src = fetchFromGitHub {
owner = "helmfile";
repo = "helmfile";
rev = "v${version}";
hash = "sha256-JvjReRKFTwKku7DXjS8zq/KFdbPU9B9EccYUmTMLV6E=";
hash = "sha256-xLVUyzRl6Q9GJOoYJCo1pbYxheVjEvnQIa4BMJVR9PY=";
};
vendorHash = "sha256-SWvRnoqxNJMRdAomvkIxGOdyeqVWblM9LaQ4wF2g6ms=";
vendorHash = "sha256-biFRdHnOvxd2hgTGPotZtlmbyqNrkW8f158kjAuLkuA=";
proxyVendor = true; # darwin/linux hash mismatch

View File

@@ -41,6 +41,7 @@ lib:
ethtool,
fetchFromGitHub,
fetchgit,
fetchpatch,
fetchurl,
fetchzip,
findutils,
@@ -69,7 +70,7 @@ lib:
sqlite,
stdenv,
systemd,
util-linux,
util-linuxMinimal,
yq-go,
zstd,
}:
@@ -331,6 +332,17 @@ let
ldflags = versionldflags;
}).overrideAttrs
overrideContainerdAttrs;
# TODO (#405952): remove this patch. We had to add it to avoid a mass rebuild
# for the 25.05 release. Once the above PR is merged, switch back to plain util-linuxMinimal.
k3sUtilLinux = util-linuxMinimal.overrideAttrs (prev: {
patches =
prev.patches or [ ]
++ lib.singleton (fetchpatch {
url = "https://github.com/util-linux/util-linux/commit/7dbfe31a83f45d5aef2b508697e9511c569ffbc8.patch";
hash = "sha256-bJqpZiPli5Pm/XpDA445Ab5jesXrlcnaO6e4V0B3rSw=";
});
});
in
buildGoModule rec {
pname = "k3s";
@@ -377,7 +389,7 @@ buildGoModule rec {
ipset
bridge-utils
ethtool
util-linux # kubelet wants 'nsenter' from util-linux: https://github.com/kubernetes/kubernetes/issues/26093#issuecomment-705994388
k3sUtilLinux # kubelet wants 'nsenter' and 'mount' from util-linux: https://github.com/kubernetes/kubernetes/issues/26093#issuecomment-705994388
conntrack-tools
runc
bash

View File

@@ -10,16 +10,16 @@ let
if stdenv.hostPlatform.isLinux then
{
stable = "0.0.94";
ptb = "0.0.141";
canary = "0.0.668";
development = "0.0.74";
ptb = "0.0.143";
canary = "0.0.678";
development = "0.0.75";
}
else
{
stable = "0.0.344";
ptb = "0.0.171";
canary = "0.0.774";
development = "0.0.87";
stable = "0.0.345";
ptb = "0.0.173";
canary = "0.0.784";
development = "0.0.88";
};
version = versions.${branch};
srcs = rec {
@@ -30,33 +30,33 @@ let
};
ptb = fetchurl {
url = "https://ptb.dl2.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";
hash = "sha256-0teCE1yQLikK2MkyT8rQL1riaE9i/YGbCXw37RaRB3I=";
hash = "sha256-Ki6+o+8/yQjc6kxKS7Re2gBbpfMi3m02L69muqsNm04=";
};
canary = fetchurl {
url = "https://canary.dl2.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz";
hash = "sha256-1nY/g0g5C/xETO6mjaPRjjOHtVJrfcfRemAXH1KedGE=";
hash = "sha256-Z+pTuR5xZfbmucdx9aBti5diNp5oCpP1mu60mq7oPB8=";
};
development = fetchurl {
url = "https://development.dl2.discordapp.net/apps/linux/${version}/discord-development-${version}.tar.gz";
hash = "sha256-tF3Evi9SiGuBWJa+O9O6TpSJXiBgioZe6nmdjwcahwY=";
hash = "sha256-wxbmdEzJu66CqJ87cdOKH5fhWKFvD/FBaeJVFxRCvlQ=";
};
};
x86_64-darwin = {
stable = fetchurl {
url = "https://stable.dl2.discordapp.net/apps/osx/${version}/Discord.dmg";
hash = "sha256-uKP7XSlDkK88mBUfI6Oq7PYlWqi933A99c1VqHf/ruE=";
hash = "sha256-uyMcHV8dbCwKFQWy/s77KfEHKc+NiAq1X9Q0ih1ELLk=";
};
ptb = fetchurl {
url = "https://ptb.dl2.discordapp.net/apps/osx/${version}/DiscordPTB.dmg";
hash = "sha256-TMd586LFm8B0TxxlM50MaeAtsWLuV1nlCHyYYb0sBOo=";
hash = "sha256-Fmh3EGjF3Xb2Vv39WEchrseo2t+4y1k+nLdb43GhJXI=";
};
canary = fetchurl {
url = "https://canary.dl2.discordapp.net/apps/osx/${version}/DiscordCanary.dmg";
hash = "sha256-1/1cPuz/nkxEosFNsJ557f7WiJhnOv9cFTbpSKjNtJY=";
hash = "sha256-N3OdQZiLpkkaxr4yTfszHPj9/zfeVlUup5r2GB8OCMg=";
};
development = fetchurl {
url = "https://development.dl2.discordapp.net/apps/osx/${version}/DiscordDevelopment.dmg";
hash = "sha256-XPHAVJjEOx+2qv+xxOCbVutrbZdPLvoTUMvRDK4nEL8=";
hash = "sha256-vjpbLg1YIXOSCwnuMwlXo7Sj8B28i812lJ3yV2NLMrE=";
};
};
aarch64-darwin = x86_64-darwin;

View File

@@ -63,8 +63,6 @@ lib.makeScope newScope (
purple-plugin-pack = callPackage ./purple-plugin-pack { };
purple-signald = callPackage ./purple-signald { };
purple-slack = callPackage ./purple-slack { };
purple-vk-plugin = callPackage ./purple-vk-plugin { };

View File

@@ -1,39 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
pidgin,
json-glib,
signald,
}:
stdenv.mkDerivation rec {
pname = "purple-signald";
version = "0.11.0";
src = fetchFromGitHub {
owner = "hoehermann";
repo = "libpurple-signald";
rev = "v${version}";
hash = "sha256-2LiHjVRBwdPbfravIVM+gvsh3Gq4bhjtRD6eWAbkWmc=";
fetchSubmodules = true;
};
buildInputs = [
pidgin
json-glib
signald
];
PKG_CONFIG_PURPLE_PLUGINDIR = "${placeholder "out"}/lib/purple-2";
PKG_CONFIG_PURPLE_DATADIR = "${placeholder "out"}/share";
PKG_CONFIG_PIDGIN_DATADIR = "${placeholder "out"}/share";
meta = with lib; {
homepage = "https://github.com/hoehermann/libpurple-signald";
description = "Signal support for Pidgin / libpurple";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [ hufman ];
};
}

View File

@@ -5,23 +5,28 @@
callPackage,
fetchurl,
icu73,
icu77,
fetchpatch2,
config,
}:
let
icu73' = icu73.overrideAttrs (attrs: {
# standardize vtzone output
# Work around ICU-22132 https://unicode-org.atlassian.net/browse/ICU-22132
# https://bugzilla.mozilla.org/show_bug.cgi?id=1790071
patches = attrs.patches ++ [
(fetchpatch2 {
url = "https://hg.mozilla.org/mozilla-central/raw-file/fb8582f80c558000436922fb37572adcd4efeafc/intl/icu-patches/bug-1790071-ICU-22132-standardize-vtzone-output.diff";
stripLen = 3;
hash = "sha256-MGNnWix+kDNtLuACrrONDNcFxzjlUcLhesxwVZFzPAM=";
})
];
});
patchICU =
icu:
icu.overrideAttrs (attrs: {
# standardize vtzone output
# Work around ICU-22132 https://unicode-org.atlassian.net/browse/ICU-22132
# https://bugzilla.mozilla.org/show_bug.cgi?id=1790071
patches = attrs.patches ++ [
(fetchpatch2 {
url = "https://hg.mozilla.org/mozilla-central/raw-file/fb8582f80c558000436922fb37572adcd4efeafc/intl/icu-patches/bug-1790071-ICU-22132-standardize-vtzone-output.diff";
stripLen = 3;
hash = "sha256-MGNnWix+kDNtLuACrrONDNcFxzjlUcLhesxwVZFzPAM=";
})
];
});
icu73' = patchICU icu73;
icu77' = patchICU icu77;
common =
{
@@ -52,6 +57,7 @@ let
extraPassthru = {
icu73 = icu73';
icu77 = icu77';
};
meta = with lib; {
@@ -78,6 +84,7 @@ let
pgoSupport = false; # console.warn: feeds: "downloadFeed: network connection unavailable"
icu73 = icu73';
icu77 = icu77';
};
in
@@ -85,8 +92,8 @@ rec {
thunderbird = thunderbird-latest;
thunderbird-latest = common {
version = "138.0";
sha512 = "923d76cf0a14f29146e5dcfc75dd9522d465512f6c604de6e0acc0812d4240331c170913a821fc0aa03d5945019577f996053498c9a7c691b21a2678a622ac02";
version = "138.0.1";
sha512 = "2e71ee537292ec1a49237e93c43ed4c1a9eae58becfc7fa9ca0daf1e982c38704cb6d44e92b1bf7b45c5b8c27b23eb3aa7f48b375580f49ee60884dadc5d85b5";
updateScript = callPackage ./update.nix {
attrPath = "thunderbirdPackages.thunderbird-latest";
@@ -99,8 +106,8 @@ rec {
thunderbird-128 = common {
applicationName = "Thunderbird ESR";
version = "128.10.0esr";
sha512 = "b02582ea4fa0297a06d30eda1555bbf3ed79ae7a35a8993f2a70b0ec84af28a4d084cd7ebe1c73676e689ff9366e779cc5ef67a197638949bf232a40b740d1b6";
version = "128.10.1esr";
sha512 = "09b54450928c6e0d948cd79a56c28bdb5fe5a81d7c710470a1ec195dd295c433b872682102c74930f19b1184391c30115293dadcd7dc8a08ae8baeb12770ef9c";
updateScript = callPackage ./update.nix {
attrPath = "thunderbirdPackages.thunderbird-128";

View File

@@ -62,6 +62,7 @@ let
cmakeFlags = [
"-D g15=OFF"
"-D CMAKE_CXX_STANDARD=17" # protobuf >22 requires C++ 17
"-D BUILD_NUMBER=${lib.versions.patch source.version}"
] ++ (overrides.configureFlags or [ ]);
preConfigure = ''

Some files were not shown because too many files have changed in this diff Show More