From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WNwoL/v8JWcFAgEAe85BDQ:P1 (envelope-from ) for ; Sat, 02 Nov 2024 10:20:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id WNwoL/v8JWcFAgEAe85BDQ (envelope-from ) for ; Sat, 02 Nov 2024 11:20:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=udMWP2Fx; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=GM436Pbh; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730542843; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hU+KgQk8mE9dc+20Uk3Yxa6CbC5rW6d7emaI9K8TOXI=; b=HXibdGUtDiPm3ni4WpqtNg6XjNSn7EZJKJ1XwuQZrOTz5WqBj3bQFQ88euk56PaDbhZDTe pnP5z07w6opRortAVYMl1dSCmvUpmgNsGwdjnriN348ZKA+Zif9YrKAjQP2x/2qQjnVCd6 93R/TcF+URoWOy1sAPNsD8vAFiWgYoNjnOGfS8qlS+8pGPV1d8BpXFaKXW10K+f7lWuodn 3gF7XMwEsU1C7z3t70UEWr+Ye1M9c/qImFyuLVBwIrXteWw81tGrKXjNJ8rg6gtl3pBUPP FYxraNLoB0MjW8Rz53zvCBl/sIlZRs4WaLIKkRGGkbz7j7c+4RcnrrEYnrndkw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730542843; a=rsa-sha256; cv=none; b=Xul+h2gs0Yn3qW0eikc91Un5P6JEZwtRdS9mjEkC3fhzO8kC01dbwxpDIguAxNqo8QPThs 93ySIKSCK7/6B7TfwwCY+9ai+ip78vV7Jg8qG/dqLq74SV2RzxzWTXlWjv39eLwAFmVSge d/NA+d9E+Cy2tZEbUT4dZCiJqS2fLvC3v2d2oGsmPZeZ5OmkAFf3bqnYa3LI6e9zeboztF ABjLEMu8Uu9jiUTqgvnKWuGULNyPCuu6tu7LR4dxbb7qj03ADtzr66ZrDzYMi2DiXO/k0V powWqTWHUxF9sWzOHBQ/ORFuRfM6lEVqerq/WSvEh13bf6Ixo9+XW0GvYNwYtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=udMWP2Fx; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=GM436Pbh; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8C77D5A3A9 for ; Sat, 02 Nov 2024 11:20:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7BEr-0005y6-1r; Sat, 02 Nov 2024 06:20:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7BEh-0005tS-Op for bug-guix@gnu.org; Sat, 02 Nov 2024 06:20:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t7BEh-0006es-1v for bug-guix@gnu.org; Sat, 02 Nov 2024 06:20:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=hU+KgQk8mE9dc+20Uk3Yxa6CbC5rW6d7emaI9K8TOXI=; b=udMWP2Fxocm1jhgnhze+aoUdcdxguHSk8YK/RbBegbaiOGzEEGWeVwxMyjvVfgtiCswaxyBtuyXQR+jIo82bjbw0NW98t1gvxqF9orN5VLX5hgDzujFTzH2+RuRiG2rGNF1A+atSIoyHxekvf7NpsdxUX0o9IJGAfBl9PpbKV5+lZ4vboeROBVYCj3+537JMDbBaNHszEVXS0nQGWOoZ7bGDEw099D13LTHEy4Nbuj6Im7cm3nXf7ZjVSXWcDnYgYqUWk2r4fyBC8iPXIPm4y6FI66ExXTvKk/CK0kOTCGYBHuilWmmaUAyIrFg0vUMcS65MIKoOo9XINAFjjTqOiA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t7BEg-0005Zu-Fz for bug-guix@gnu.org; Sat, 02 Nov 2024 06:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#73859: [PATCH 1/2] gnu: lightdm: Use global sysconfdir. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 02 Nov 2024 10:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73859 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73859@debbugs.gnu.org Cc: Dariqq , Maxim Cournoyer Received: via spool by 73859-submit@debbugs.gnu.org id=B73859.173054279021409 (code B ref 73859); Sat, 02 Nov 2024 10:20:02 +0000 Received: (at 73859) by debbugs.gnu.org; 2 Nov 2024 10:19:50 +0000 Received: from localhost ([127.0.0.1]:53171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7BEU-0005ZC-4H for submit@debbugs.gnu.org; Sat, 02 Nov 2024 06:19:50 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7BES-0005Z1-GO for 73859@debbugs.gnu.org; Sat, 02 Nov 2024 06:19:49 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0B933240103 for <73859@debbugs.gnu.org>; Sat, 2 Nov 2024 11:19:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1730542783; bh=qCGkSp6I75kz4mFUE851jG+Azwcs1G15h2xSNLsIk5M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=GM436Pbhkbr+zY6WkOirmgLZH8Jo8Dj1W0B0c94Mqiv65gkLyZoh3PSNQbgmGP6RC qxAkZGhFH7A/XPkyoVghcGMNnikLkjCAkUpbth4jV7LmQVSwyCcARY/NO9al5gNrUd WHaK2lOW/M14wMrMz1d61YNIH6akhdanVDHOjE2+HVbnXLRHIfT7lnPEcd87gYxCMi Du8R3Vw3iHcklPHnd1w83Ce+Nd5bl/3BUc1K6Yaxqjxp2OrOitKFNeF7ioXrCAqEBS mr28Zh0W4K/5JGjHavrpyOXdpZ9v0XcddIQcH1c/h4+2bj4CbzVC8+6iWnelrTZfcl 8A5l4iHSXAo0A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XgYct1nZHz6tx1; Sat, 2 Nov 2024 11:19:42 +0100 (CET) From: Dariqq Date: Sat, 2 Nov 2024 10:18:32 +0000 Message-ID: <0e5a2bdf3e072e21c3ddd9a815baa8c032619028.1730541249.git.dariqq@posteo.net> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 1.70 X-Spam-Score: 1.70 X-Migadu-Queue-Id: 8C77D5A3A9 X-Migadu-Scanner: mx13.migadu.com X-TUID: axBfVY3gmuCD * 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