GNU bug report logs -
#71618
[PATCH] guix: gnu-build-system: Add %gnu-build-system-default-modules.
Previous Next
Reported by: Tomas Volf <~@wolfsden.cz>
Date: Mon, 17 Jun 2024 19:11:01 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71618 in the body.
You can then email your comments to 71618 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
ludo <at> gnu.org, guix-patches <at> gnu.org
:
bug#71618
; Package
guix-patches
.
(Mon, 17 Jun 2024 19:11:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tomas Volf <~@wolfsden.cz>
:
New bug report received and forwarded. Copy sent to
ludo <at> gnu.org, guix-patches <at> gnu.org
.
(Mon, 17 Jun 2024 19:11:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#71618
; Package
guix-patches
.
(Tue, 18 Jun 2024 19:31:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 71618 <at> debbugs.gnu.org (full text, mbox):
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]: <https://issues.guix.gnu.org/66426>
--
Cheers,
Bruno.
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Wed, 19 Jun 2024 01:06:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Tomas Volf <~@wolfsden.cz>
:
bug acknowledged by developer.
(Wed, 19 Jun 2024 01:06:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 71618-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Bruno Victal <mirai <at> makinata.eu> 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]: <https://issues.guix.gnu.org/66426>
Indeed, thanks for the heads-up. That's on the core-updates branch.
Closing.
--
Thanks,
Maxim
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 17 Jul 2024 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 340 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.