gnu: river: Add river.desktop file.
* gnu/packages/zig-xyz.scm (river)[arguments]: Add 'install-wayland-session phase after 'install phase to install the river.desktop file inside share/wayland-sessions directory. Change-Id: I19fbcfa09a6b06ed602ec4be1b06cc6e2cd2a9a1 Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
3fa4a8baf3
commit
ca47a1346a
@ -52,7 +52,17 @@
|
||||
(build-system zig-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:zig-build-flags #~(list "-Dxwayland") ;experimental xwayland support
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'install 'install-wayland-session
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(wayland-sessions
|
||||
(string-append out "/share/wayland-sessions")))
|
||||
(mkdir-p wayland-sessions)
|
||||
(install-file "contrib/river.desktop"
|
||||
wayland-sessions)))))
|
||||
#:zig-build-flags #~(list "-Dxwayland") ;experimental xwayland support
|
||||
#:zig-release-type "safe"))
|
||||
(native-inputs (list libevdev
|
||||
libxkbcommon
|
||||
|
Loading…
Reference in New Issue
Block a user