mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-modules.
Until now users would have to cargo cult or inspect the private
%default-modules variable of (guix build-systems gnu) to discover which
modules to include when extending the used modules via the #:modules argument.
The renaming was automated via the command:
$ git grep -l %gnu-build-system-modules
| xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i
* guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to...
(%default-gnu-imported-modules): ... this.
(%default-modules): Rename to...
(%default-gnu-modules): ... this. Export.
(dist-package, gnu-build, gnu-cross-build): Adjust accordingly.
Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee
This commit is contained in:
committed by
Ludovic Courtès
parent
0e881505f1
commit
f59df1aa3c
@@ -723,7 +723,7 @@ IcedTea build harness.")
|
||||
(arguments
|
||||
`(#:imported-modules
|
||||
((guix build ant-build-system)
|
||||
,@%gnu-build-system-modules)
|
||||
,@%default-gnu-imported-modules)
|
||||
|
||||
#:disallowed-references ,(list (gexp-input icedtea-7 "jdk"))
|
||||
|
||||
@@ -889,7 +889,7 @@ new Date();"))
|
||||
(arguments
|
||||
`(#:imported-modules
|
||||
((guix build ant-build-system)
|
||||
,@%gnu-build-system-modules)
|
||||
,@%default-gnu-imported-modules)
|
||||
#:modules
|
||||
((guix build utils)
|
||||
(guix build gnu-build-system)
|
||||
@@ -8114,7 +8114,7 @@ discards all logging messages.")
|
||||
(arguments
|
||||
`(#:tests? #f ; no test target
|
||||
#:imported-modules ((guix build ant-build-system)
|
||||
,@%gnu-build-system-modules)
|
||||
,@%default-gnu-imported-modules)
|
||||
#:modules (((guix build ant-build-system) #:prefix ant:)
|
||||
(guix build gnu-build-system)
|
||||
(guix build utils))
|
||||
|
||||
Reference in New Issue
Block a user