diff options
author | L p R n d n <guix@lprndn.info> | 2019-04-16 13:58:26 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-05-07 00:08:11 +0200 |
commit | 13b012754eff829bbd8b16184cfc623b96a8d4e1 (patch) | |
tree | 75ddb1fc92ac73dd6b0977ea41ab435a88d8d682 | |
parent | 4e6396983a78c563f7afd411b30aae71ea5a2e97 (diff) | |
download | guix-13b012754eff829bbd8b16184cfc623b96a8d4e1.tar.gz |
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>
-rw-r--r-- | gnu/packages/display-managers.scm | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm index cfd2e6dd95..cda7598066 100644 --- a/gnu/packages/display-managers.scm +++ b/gnu/packages/display-managers.scm @@ -209,7 +209,17 @@ display manager which supports different greeters.") `(#: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) |