aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-08-09 01:05:29 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-08-28 22:10:19 -0400
commit20c8fb042c0d1c2b96e1a84e37011fb3eecf6258 (patch)
treeacc0a253839cd2d1b1977d88bc04c6197720cb18 /gnu
parentd0046bc13ba8c5e532c2193149a6747eb60467a3 (diff)
downloadguix-20c8fb042c0d1c2b96e1a84e37011fb3eecf6258.tar
guix-20c8fb042c0d1c2b96e1a84e37011fb3eecf6258.tar.gz
gnu: lightdm-gtk-greeter: Adjust default config file path.
* gnu/packages/display-managers.scm (lightdm-gtk-greeter) [phases]{customize-default-config-path}: New phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/display-managers.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm
index e8f7f68c46..6fbefafe7d 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -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