summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRutherther <rutherther@ditigal.xyz>2025-11-21 15:58:27 +0100
committerHilton Chain <hako@ultrarare.space>2025-11-30 11:59:29 +0800
commit5eb9fda4d92cc34b1e92df7f95aa3deceaca62a4 (patch)
treed1ef30df79527bf17978c6bf24d982223b1a1904 /gnu/packages
parent01bb0f2aa11918ce2b9187b9d53c1da62e40d775 (diff)
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 <hako@ultrarare.space>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/wm.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 08f286af36f..0320f896020 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)