~ruther/guix-local

8e6540e87d147a977d2e9b20771140055571a0ee — Efraim Flashner 7 months ago bf35d9c
gnu: niri: Fix shell completions when cross-compiling.

* gnu/packages/wm.scm (niri)[arguments]: When cross-compiling find the
niri binary to create the shell completions.

Change-Id: I0a2b230f90b0cec55f5be54e98f20735407ec453
1 files changed, 1 insertions(+), 1 deletions(-)

M gnu/packages/wm.scm
M gnu/packages/wm.scm => gnu/packages/wm.scm +1 -1
@@ 1990,7 1990,7 @@ limited size and a few external dependencies.  It is configurable via
                      (mkdir-p (in-vicinity #$output (dirname path)))
                      (let ((binary
                             (if #$(%current-target-system)
                                 (search-input-file native-inputs "bin/nir")
                                 (search-input-file native-inputs "bin/niri")
                                 (in-vicinity #$output "bin/niri"))))
                        (with-output-to-file (in-vicinity #$output path)
                          (lambda _