guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 5eb9fda4d92cc34b1e92df7f95aa3deceaca62a4
Author: Rutherther <[email protected]>
AuthorDate: Fri Nov 21 15:58:27 2025 +0100
gnu: niri: Restore installation of bin/niri.
Niri package is a workspace, thus it seems it should use
#:cargo-install-paths
so that the packages are properly installed. The reason they currently
aren't
installed is that manifest-targets looks only on first 'packages', while
niri
is third package in the list. The first package is a library, not 'bin', so
there's nothing to install. I am not completely sure this behavior is
intended. And if it is, it seems niri has worked only by chance before.
Ie. if it was first in the list, it would work. In case this is an error
in the cargo-build-system, changing it implies rebuilding all cargo
packages,
hence this workaround would still be useful.
Fixes #4321.
* gnu/packages/wm.scm (niri)<arguments>: Add cargo-install-paths.
Change-Id: I7f34f734698f50ef3c913ed858c504b2c99042bf
Signed-off-by: Hilton Chain <[email protected]>
---
gnu/packages/wm.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 08f286af36..0320f89602 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2197,6 +2197,7 @@ limited size and a few external dependencies. It is
configurable via
(build-system cargo-build-system)
(arguments
(list #:install-source? #f
+ #:cargo-install-paths ''(".")
#:modules
'((ice-9 match)
(guix build utils)