mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: polari: Use polari command to launch Polari.
The rationale for patching the Exec line is similar to what is done for gnome-weather. * gnu/packages/gnome.scm (polari)[#:phases]: Add ‘fix-desktop-file’ phase.
This commit is contained in:
parent
88ad264871
commit
b574ccc453
1 changed files with 7 additions and 0 deletions
|
@ -11564,6 +11564,13 @@ environment.")
|
||||||
(substitute* "meson/meson-postinstall.sh"
|
(substitute* "meson/meson-postinstall.sh"
|
||||||
(("gtk-update-icon-cache") (which "true")))
|
(("gtk-update-icon-cache") (which "true")))
|
||||||
#t))
|
#t))
|
||||||
|
(add-after 'install 'fix-desktop-file
|
||||||
|
;; Hardcode launcher to be on the safe side
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(substitute* (string-append out "/share/applications/"
|
||||||
|
"org.gnome.Polari.desktop")
|
||||||
|
(("Exec=.*") "Exec=" out "/bin/polari")))))
|
||||||
(add-after 'glib-or-gtk-wrap 'wrap-typelib
|
(add-after 'glib-or-gtk-wrap 'wrap-typelib
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((prog (string-append (assoc-ref outputs "out")
|
(let ((prog (string-append (assoc-ref outputs "out")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue