From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 17 15:11:00 2024 Received: (at submit) by debbugs.gnu.org; 17 Jun 2024 19:11:00 +0000 Received: from localhost ([127.0.0.1]:35632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJHkq-00011J-1S for submit@debbugs.gnu.org; Mon, 17 Jun 2024 15:11:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:47264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1sJHko-000119-8u for submit@debbugs.gnu.org; Mon, 17 Jun 2024 15:10:58 -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 <~@wolfsden.cz>) id 1sJHkl-0007UB-S8 for guix-patches@gnu.org; Mon, 17 Jun 2024 15:10:55 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sJHkj-0007gl-K5 for guix-patches@gnu.org; Mon, 17 Jun 2024 15:10:55 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 49D3E298DD8; Mon, 17 Jun 2024 19:10:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1718651449; bh=2YLUhKzI2GkxBRkicNso0MroRlVJehgqPUCiBNWoVgc=; h=From:To:Cc:Subject:Date; b=QO45ON7YvmoL0hG70d4sOrsLPVd0JuW7f9agPhBwdCjuLraP+tQwiRCLBLPXLRXvs tcclTsBEtfGEQV3Kst1QmLruumyo4v9KSMmo5aC/5EJIJk5vig2kOL9cytsTMoqNzq q3RT3DL5gw7gt3bGJzjVmF9YawFNBmvBkGLvPAOiAbi3R8wR8D2O8ZLLzVGNOrdLYZ wX/iozsB9GGCqYxJoj5VMx3soGdsWEhzGgwcvov7LTsC5AdirstJyAR3N3kUKsgNcr H1HMROHyU8IE25bRlqpfeHZqA16IhpcyJ3Qbr+U/kaDmMgHGYbc56j/uNuvD5ffmPw JcZDgw5rF9FOsXXWTz9EzKpBZ3RX9Vx1Kw359iB17bd7oxdvL/QYh+o/ZPrrqivnIJ wR8VfkkQ1Xg61478c+3X+daa7cj3npfEy5EGJ5y0E/q7T0grhcWtM1vKXlSFta9r9J GNM83xTheOc87CA6oMvrykWmlg61H8v58wRQAhDCTCEJ669By9PD4yPh+N/BdZTcdt 8kGIPKKeVfwaMRIwHLSB8SSDq/J2MEqcjsAmzIPqBmJDxXSGWlEJztdKCZRe0joMT0 OVoORXJo5P7ZO0YCaimIac+n3QBFUzDqiQ6EJd/wNRdcfrG9Lu4MQh4zQl+UVusA68 WtcoHUDmRj4PY/n9E38WUcHw= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from localhost (unknown [193.32.127.154]) by wolfsden.cz (Postfix) with ESMTPSA id 65C6829A252; Mon, 17 Jun 2024 19:10:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1718651448; bh=2YLUhKzI2GkxBRkicNso0MroRlVJehgqPUCiBNWoVgc=; h=From:To:Cc:Subject:Date; b=sRyN+qrclJcXW7kX0YJ/XPb7tTzeFoi84ld8dTj9/ZcTAGugkgvl8hlmGDuiHaZO7 0r7T4LA6BoLZhxR6JxXfeU0+ONikj2kJ2zNuhsbA3xSHWXgOZikBVoLkWzziMmYzUC OYpBgvsZypX9hKBdZivKI0UT8AohMy15e2gV2ku9rPHih3f5vgOadhILHGyupLH2+n u21K1qfwn+4st73h+wFXLEiu0/0h3jYKai5EYYolIA6yWrW9Yinnq6XrunMjSdNAvp e46bvkRbGppHCnVG/zCulGstsTullgT3uYgAGa3d6/Tm/oGySOh/qcecPGf88EFNz8 al1ioMVv2f8O5RY8Ac9Nd501uXm3CzRcXlycPgDafKt0fSd6/EoEEDX1CzkcTX8fWn vPKiyedI/GsYe5BCQib5Ig+uwkJQv7Kx8yeTpMtOxwrls1ozxGYMEBsfZa4kw8762v X17gRfxDL3jYANi5NPxdhd6Nr5hQMvVP9bZGZsXlN5dMbmCv38VwJfhkHF9Cn+xp3E hy5jIKSHWEh5vmkTzNqkwRruf2ICbppJCrlGnG8wgfj/4dfX71VqKWNtwbdPH9ndxX lu1JMBi8UwvMe8KyBVsc6Nea3fA8DLKyvVjroR45xfr3q4RotGl2yj5rHOipio3FTs cIf+Vj5hqYHgSjiRYRSotCWQ= From: Tomas Volf <~@wolfsden.cz> To: guix-patches@gnu.org Subject: [PATCH] guix: gnu-build-system: Add %gnu-build-system-default-modules. Date: Mon, 17 Jun 2024 21:10:35 +0200 Message-ID: X-Mailer: git-send-email 2.45.1 MIME-Version: 1.0 X-Debbugs-Cc: Ludovic Courtès Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Tomas Volf <~@wolfsden.cz> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Since there is no exported variable containing the list of default modules, every place that needs it (in #:modules for example) needs to copy&paste it and pray it never changes. This commit provides new variable exposing the default list, allowing constructs like this: #:modules `((srfi srfi-34) ,@%gnu-build-system-default-modules) * guix/build-system/gnu.scm (%gnu-build-system-default-modules): New variable. (define-module)[#:export]: Export it. Change-Id: I1da392019a95aea5edeac0301db26266efbeee9e --- guix/build-system/gnu.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guix/build-system/gnu.scm b/guix/build-system/gnu.scm index cdbb547773..53ac2f8cbd 100644 --- a/guix/build-system/gnu.scm +++ b/guix/build-system/gnu.scm @@ -28,6 +28,7 @@ (define-module (guix build-system gnu) #:use-module (srfi srfi-1) #:use-module (ice-9 match) #:export (%gnu-build-system-modules + %gnu-build-system-default-modules %strip-flags %strip-directories gnu-build @@ -60,6 +61,8 @@ (define %default-modules '((guix build gnu-build-system) (guix build utils))) +(define %gnu-build-system-default-modules %default-modules) + (define* (package-with-explicit-inputs/deprecated p inputs #:optional (loc (current-source-location)) -- 2.45.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 15:31:00 2024 Received: (at 71618) by debbugs.gnu.org; 18 Jun 2024 19:31:00 +0000 Received: from localhost ([127.0.0.1]:49500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJeXk-00062S-5I for submit@debbugs.gnu.org; Tue, 18 Jun 2024 15:31:00 -0400 Received: from smtpmciv1.myservices.hosting ([185.26.107.237]:56372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJeXh-00062I-Qp for 71618@debbugs.gnu.org; Tue, 18 Jun 2024 15:30:58 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.174]) by smtpmciv1.myservices.hosting (Postfix) with ESMTP id 7DA7C20712; Tue, 18 Jun 2024 21:30:53 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id E3D8D80093; Tue, 18 Jun 2024 21:30:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id MRwRLZZYj30L; Tue, 18 Jun 2024 21:30:52 +0200 (CEST) Received: from [192.168.1.239] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 2D54980079; Tue, 18 Jun 2024 21:30:52 +0200 (CEST) Message-ID: <576f3021-8b00-430e-a527-b791c03e1c38@makinata.eu> Date: Tue, 18 Jun 2024 20:30:47 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Bruno Victal Subject: Re: [bug#71618] [PATCH] guix: gnu-build-system: Add %gnu-build-system-default-modules. To: Tomas Volf <~@wolfsden.cz> References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71618 Cc: 71618@debbugs.gnu.org, =?UTF-8?Q?Ludovic_Court=C3=A8s?= , Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Tomas, On 2024-06-17 20:10, Tomas Volf wrote: > Since there is no exported variable containing the list of default modu= les, > every place that needs it (in #:modules for example) needs to copy&past= e it > and pray it never changes. I believe this has been addressed with [1]. [1]: --=20 Cheers, Bruno. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 21:05:31 2024 Received: (at 71618-done) by debbugs.gnu.org; 19 Jun 2024 01:05:31 +0000 Received: from localhost ([127.0.0.1]:56957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJjlS-0008BT-Qc for submit@debbugs.gnu.org; Tue, 18 Jun 2024 21:05:31 -0400 Received: from mail-qt1-f182.google.com ([209.85.160.182]:61713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJjlQ-0008BC-Mp for 71618-done@debbugs.gnu.org; Tue, 18 Jun 2024 21:05:29 -0400 Received: by mail-qt1-f182.google.com with SMTP id d75a77b69052e-4411fc45fbcso26742651cf.3 for <71618-done@debbugs.gnu.org>; Tue, 18 Jun 2024 18:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718759060; x=1719363860; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Di+VgPFKSZF1r9LcduPmYzkMf/2NhiDFokRp6dYhaEE=; b=UiKDv9BVx8oK211olp4nVXu3v5xEL5qnex9bAq7ohlDfY0scAHxMSiDoFCKgGTTzZn bpvgja8sWirfI7mwIquH5LW4Ss78xzIdh4v+Wafb4AW4oc6NEgriB6G0wAm/VOqxui/2 mlQQyaIZl+/b11tB1tvR+vGfSOaHVcHrfVW8W+3Wqul0otiWprnl8OF5CxgzBf8A2dNn lY5L1idSojXjzNwa9TVgSEkr+Z2HgW6MBjwCKrm33zhuCLNn1UzxGJWR1Itf5L1BlI3D I1WnSqnquM1/6LM2PwdWhRJH2ruMtrUkH9a823oifBvSoZTXGkYyamJ8O8b462rkAfJh o4Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718759060; x=1719363860; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Di+VgPFKSZF1r9LcduPmYzkMf/2NhiDFokRp6dYhaEE=; b=X2THykukCU4Nk8sElqes7Hf7HkWif4OLlgkup3ln13rdIR0NPauRkW4mB62aN8xseC eKF+6s+xMtJA21PH6JGQHmgdmSiyZ6C34mEiXG53iRxWY2eH/EcHy3Er6riXXqxMpxjc gXEXBZxbK+nYWv1465qvVSTJVVzWJx+fy1BnukM55g4l0mTB/Yis/Lie6VSZb/y0tpw5 sg3uaMDxQGwVRKJm5zl6N/qjqgsPdMuFQ/cBAnlDoeZg/mCropwcS8fdAEx7P2A/VPzK 58br8HZr8Vk/1mmu6TM9jnmG6rFp20GOP+AurxSD+zqDNXsvowLvOa3dgqFZq0eScocf OVqg== X-Forwarded-Encrypted: i=1; AJvYcCXjce81Jw0ynHIPg6//9YqYmkJPACwE6UBsuYN7GlHD2zyoZ2+Z7/ZnhJslGSAG99+rAP4ey5dALTeUd7Eq3p8orsTbibREtfEezw== X-Gm-Message-State: AOJu0Yw4iIknFZjO5/91hBJVdVFOdKNx9JDv6ah6WrSJ2DaK9wLrMQHA 7YFFv35f2Ft6ZWl4wg/ALZqpx50qUHkR7lAmEMOfqSyTXPUKUN3h X-Google-Smtp-Source: AGHT+IGd7AEw+Jo9wSeeqP3BP9QZRFcAg2t48Uj2fgFAtFal4MfvrcpmzCickGZp+cpheNMGK2a84w== X-Received: by 2002:a05:622a:412:b0:440:5f14:1647 with SMTP id d75a77b69052e-444a79a3c77mr15292361cf.8.1718759059924; Tue, 18 Jun 2024 18:04:19 -0700 (PDT) Received: from hurd (dsl-152-211.b2b2c.ca. [66.158.152.211]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-441ef4de0ecsm61143131cf.9.2024.06.18.18.04.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jun 2024 18:04:19 -0700 (PDT) From: Maxim Cournoyer To: Bruno Victal Subject: Re: [bug#71618] [PATCH] guix: gnu-build-system: Add %gnu-build-system-default-modules. In-Reply-To: <576f3021-8b00-430e-a527-b791c03e1c38@makinata.eu> (Bruno Victal's message of "Tue, 18 Jun 2024 20:30:47 +0100") References: <576f3021-8b00-430e-a527-b791c03e1c38@makinata.eu> Date: Tue, 18 Jun 2024 21:04:18 -0400 Message-ID: <87v825d9pp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 71618-done Cc: Tomas Volf <~@wolfsden.cz>, Ludovic =?utf-8?Q?Court=C3=A8s?= , 71618-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Bruno Victal writes: > Hi Tomas, > > On 2024-06-17 20:10, Tomas Volf wrote: >> Since there is no exported variable containing the list of default modules, >> every place that needs it (in #:modules for example) needs to copy&paste it >> and pray it never changes. > > I believe this has been addressed with [1]. > > [1]: Indeed, thanks for the heads-up. That's on the core-updates branch. Closing. -- Thanks, Maxim From unknown Sun Jun 22 15:24:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 17 Jul 2024 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator