1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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>
This commit is contained in:
Rutherther
2025-11-21 15:58:27 +01:00
committed by Hilton Chain
parent 01bb0f2aa1
commit 5eb9fda4d9

View File

@@ -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)