mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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:
parent
0e881505f1
commit
f59df1aa3c
117 changed files with 205 additions and 204 deletions
|
@ -1044,7 +1044,7 @@ U-Boot must be used."
|
|||
,@modules))
|
||||
((#:imported-modules imported-modules '())
|
||||
`((guix build kconfig)
|
||||
,@%gnu-build-system-modules
|
||||
,@%default-gnu-imported-modules
|
||||
,@imported-modules))
|
||||
((#:test-target _ "test")
|
||||
"test")
|
||||
|
@ -1949,7 +1949,7 @@ order to add a suitable bootloader menu entry.")
|
|||
(ice-9 regex)
|
||||
(rnrs bytevectors))
|
||||
#:imported-modules `((guix base32)
|
||||
,@%gnu-build-system-modules)
|
||||
,@%default-gnu-imported-modules)
|
||||
#:make-flags
|
||||
;; XXX: 'BUILD_ID' is used to determine when another ROM in the
|
||||
;; system contains identical code in order to save space within the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue