diff --git a/n/niri/manifest.x86_64.bin b/n/niri/manifest.x86_64.bin index 17600aa722..3c9e20b2f5 100644 Binary files a/n/niri/manifest.x86_64.bin and b/n/niri/manifest.x86_64.bin differ diff --git a/n/niri/manifest.x86_64.jsonc b/n/niri/manifest.x86_64.jsonc index d068f95560..685c0e16ae 100644 --- a/n/niri/manifest.x86_64.jsonc +++ b/n/niri/manifest.x86_64.jsonc @@ -62,6 +62,6 @@ } }, "source-name": "niri", - "source-release": "18", + "source-release": "19", "source-version": "26.04" } diff --git a/n/niri/pkg/stateless.patch b/n/niri/pkg/stateless.patch new file mode 100644 index 0000000000..412923b7fa --- /dev/null +++ b/n/niri/pkg/stateless.patch @@ -0,0 +1,19 @@ +commit ca37ae833a15378bce3ff26a463406e053c6715f +Author: Ivan Molodetskikh +Date: Mon Sep 14 21:19:09 2026 +0300 + + niri-session: Change /etc/shells to /usr/share/defaults/shells + +diff --git a/resources/niri-session b/resources/niri-session +index a9a4d9409..451eaa939 100755 +--- a/resources/niri-session ++++ b/resources/niri-session +@@ -11,7 +11,7 @@ if [ -n "${MANAGERPID:-}" ] && [ "${SYSTEMD_EXEC_PID:-}" = "$$" ]; then + fi + + if [ -n "$SHELL" ] && +- grep -q "$SHELL" /etc/shells && ++ grep -q "$SHELL" /usr/share/defaults/shells && + ! (echo "$SHELL" | grep -q "false") && + ! (echo "$SHELL" | grep -q "nologin"); then + if [ "$1" != '-l' ]; then diff --git a/n/niri/stone.yaml b/n/niri/stone.yaml index 67b770c072..ca6aed8360 100644 --- a/n/niri/stone.yaml +++ b/n/niri/stone.yaml @@ -3,7 +3,7 @@ name : niri version : "26.04" -release : 18 +release : 19 summary : Niri Desktop Compositor license : GPL-3.0 homepage : https://github.com/YaLTeR/niri @@ -37,6 +37,8 @@ rundeps : - xdg-desktop-portal-gnome - xdg-desktop-portal-gtk setup : | + %patch %(pkgdir)/stateless.patch + mkdir .cargo # To update this you will probably need to update the Smithay ref below. This was generated by using `cargo vendor > .cargo/config.toml`