Skip to content
Snippets Groups Projects
Unverified Commit 13b01275 authored by L p R n d n's avatar L p R n d n Committed by Ricardo Wurmus
Browse files

gnu: lightdm-gtk-greeter: Fix .desktop file.


* gnu/packages/display-managers.scm (lightdm-gtk-greeter)[arguments]: Fix
reference to greeter in .desktop file with "fix-.desktop-file" phase.

Signed-off-by: default avatarRicardo Wurmus <rekado@elephly.net>
parent 4e639698
No related branches found
No related tags found
No related merge requests found
...@@ -209,7 +209,17 @@ (define-public lightdm-gtk-greeter ...@@ -209,7 +209,17 @@ (define-public lightdm-gtk-greeter
`(#:configure-flags `(#:configure-flags
(list (string-append "--enable-at-spi-command=" (list (string-append "--enable-at-spi-command="
(assoc-ref %build-inputs "at-spi2-core") (assoc-ref %build-inputs "at-spi2-core")
"/libexec/at-spi-bus-launcher")))) "/libexec/at-spi-bus-launcher"))
#:phases
(modify-phases %standard-phases
(add-after 'install 'fix-.desktop-file
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* (string-append
out "/share/xgreeters/lightdm-gtk-greeter.desktop")
(("Exec=lightdm-gtk-greeter")
(string-append "Exec=" out "/sbin/lightdm-gtk-greeter")))
#t))))))
(native-inputs (native-inputs
`(("exo" ,exo) `(("exo" ,exo)
("intltool" ,intltool) ("intltool" ,intltool)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment