mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: lightdm-gtk-greeter: Adjust default config file path.
* gnu/packages/display-managers.scm (lightdm-gtk-greeter) [phases]{customize-default-config-path}: New phase.
This commit is contained in:
parent
d0046bc13b
commit
20c8fb042c
1 changed files with 8 additions and 0 deletions
|
@ -364,6 +364,14 @@ (define-public lightdm-gtk-greeter
|
|||
|
||||
#: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
|
||||
|
|
Loading…
Reference in a new issue