me
/
guix
Archived
1
0
Fork 0

gnu: lightdm-gtk-greeter: Adjust default config file path.

* gnu/packages/display-managers.scm (lightdm-gtk-greeter)
[phases]{customize-default-config-path}: New phase.
master
Maxim Cournoyer 2022-08-09 01:05:29 -04:00
parent d0046bc13b
commit 20c8fb042c
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 8 additions and 0 deletions

View File

@ -364,6 +364,14 @@ display manager which supports different greeters.")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'customize-default-config-path
(lambda _
(substitute* "src/Makefile.in"
;; Have the default config directory sourced from
;; /etc/lightdm/lightdm-gtk-greeter.conf, which is where the
;; lightdm service writes it.
(("\\$\\(sysconfdir)/lightdm/lightdm-gtk-greeter.conf")
"/etc/lightdm/lightdm-gtk-greeter.conf"))))
(add-after 'install 'fix-.desktop-file
(lambda* (#:key outputs #:allow-other-keys)
(substitute* (search-input-file