mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
parent
4e6396983a
commit
13b012754e
1 changed files with 11 additions and 1 deletions
|
@ -209,7 +209,17 @@ (define-public lightdm-gtk-greeter
|
|||
`(#:configure-flags
|
||||
(list (string-append "--enable-at-spi-command="
|
||||
(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
|
||||
`(("exo" ,exo)
|
||||
("intltool" ,intltool)
|
||||
|
|
Loading…
Reference in a new issue