Package Details: nirimod-git r66.d871327-1

Git Clone URL: https://aur.archlinux.org/nirimod-git.git (read-only, click to copy)
Package Base: nirimod-git
Description: A visual, interactive configuration interface for the niri Wayland compositor
Upstream URL: https://github.com/srinivasr/nirimod
Licenses: MIT
Conflicts: nirimod
Provides: nirimod
Submitter: wanwanvxt
Maintainer: wanwanvxt
Last Packager: wanwanvxt
Votes: 6
Popularity: 2.30
First Submitted: 2026-04-18 10:45 (UTC)
Last Updated: 2026-05-08 09:44 (UTC)

Latest Comments

ggbhaichi commented on 2026-09-18 21:02 (UTC) (edited on 2026-09-18 21:04 (UTC) by ggbhaichi)

TLDR; Fix /usr/bin/nirimod wrapper to use /usr/bin/python instead of bare python

In package(), the launcher script installed to /usr/bin/nirimod currently calls bare python:

exec python -m nirimod "$@"

When a user has a user-level Python runtime manager in their $PATH (e.g. Mise, pyenv, asdf, conda) or an active virtual environment, invoking nirimod resolves to that user Python instead of Arch's system Python. This causes the launch to fail with:

No module named nirimod

(and it misses system C-libraries like python-gobject and libadwaita installed under /usr/lib/python*).

Per Arch Linux packaging guidelines, binaries in /usr/bin should explicitly target /usr/bin/python rather than relying on ambient $PATH.

Could you please apply this patch to PKGBUILD?

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -48,3 +48,3 @@ package() {
     install -Dm755 /dev/stdin "$pkgdir/usr/bin/nirimod" <<EOF
 #!/bin/sh
-exec python -m nirimod "\$@"
+exec /usr/bin/python -m nirimod "\$@"
 EOF