all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dariqq <dariqq@posteo.net>
To: 73859@debbugs.gnu.org
Cc: Dariqq <dariqq@posteo.net>, Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: bug#73859: [PATCH 1/2] gnu: lightdm: Use global sysconfdir.
Date: Sat,  2 Nov 2024 10:18:32 +0000	[thread overview]
Message-ID: <0e5a2bdf3e072e21c3ddd9a815baa8c032619028.1730541249.git.dariqq@posteo.net> (raw)
In-Reply-To: <cover.1730541249.git.dariqq@posteo.net>

* 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





  reply	other threads:[~2024-11-02 10:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-18  9:23 bug#73859: lightdm-service-type is almost unusable Dariqq
2024-10-23 14:48 ` Maxim Cournoyer
2024-10-23 18:15   ` Dariqq
2024-10-24  0:51 ` bug#73859: lightdm Feng Shu
2024-10-25  8:41 ` Feng Shu
2024-11-02 10:18 ` bug#73859: [PATCH 0/2] lightdm: Fix empty session list Dariqq
2024-11-02 10:18   ` Dariqq [this message]
2024-11-02 10:18   ` bug#73859: [PATCH 2/2] gnu: lightdm-service-type: Add lightdm.conf to /etc/lightdm Dariqq
2024-12-16  2:35   ` bug#73859: [PATCH 0/2] lightdm: Fix empty session list Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0e5a2bdf3e072e21c3ddd9a815baa8c032619028.1730541249.git.dariqq@posteo.net \
    --to=dariqq@posteo.net \
    --cc=73859@debbugs.gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.