[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#73859: [PATCH 1/2] gnu: lightdm: Use global sysconfdir.
From: |
Dariqq |
Subject: |
bug#73859: [PATCH 1/2] gnu: lightdm: Use global sysconfdir. |
Date: |
Sat, 2 Nov 2024 10:18:32 +0000 |
* gnu/packages/display-managers.scm (lightm)
[#:configure-flags]: Set sysconfdir to /etc.
[#:phases]: Overwrite sysconfdir in 'installE. for installing sample config
files
Change-Id: If9c6ce810c726551bd3bf568d50cad8680829262
---
gnu/packages/display-managers.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/display-managers.scm
b/gnu/packages/display-managers.scm
index 5152eb6479..b210b11bc6 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -385,6 +385,7 @@ (define-public lightdm
#:parallel-tests? #f ; fails when run in parallel
#:configure-flags
#~(list "--localstatedir=/var"
+ "--sysconfdir=/etc"
"--enable-gtk-doc"
;; Otherwise the test suite fails on such a warning.
"CFLAGS=-Wno-error=missing-prototypes")
@@ -412,7 +413,11 @@ (define-public lightdm
`("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH"))))
;; Avoid printing locale warnings, which trip up the text
;; matching tests.
- (unsetenv "LC_ALL"))))))
+ (unsetenv "LC_ALL")))
+ (replace 'install
+ (lambda* (#:key make-flags #:allow-other-keys)
+ (apply invoke "make" "install" (string-append "sysconfdir="
#$output "/etc")
+ make-flags))))))
(inputs
(list audit
bash-minimal ;for cross-compilation
--
2.46.0