mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
Merge branch 'master' into core-updates
Conflicts: gnu/packages/icu4c.scm gnu/packages/man.scm gnu/packages/python-xyz.scm guix/scripts/environment.scm guix/scripts/pack.scm guix/scripts/package.scm guix/scripts/pull.scm guix/store.scm
This commit is contained in:
commit
18af687037
113 changed files with 81111 additions and 40823 deletions
|
@ -61,6 +61,14 @@
|
|||
(('guix 'build _ ...) #t)
|
||||
(_ #f)))
|
||||
|
||||
(define not-config?
|
||||
;; Select (guix …) and (gnu …) modules, except (guix config).
|
||||
(match-lambda
|
||||
(('guix 'config) #f)
|
||||
(('guix _ ...) #t)
|
||||
(('gnu _ ...) #t)
|
||||
(_ #f)))
|
||||
|
||||
(define* (build-compiled-file name locale-builder)
|
||||
"Return a file-like object that evalutes the gexp LOCALE-BUILDER and store
|
||||
its result in the scheme file NAME. The derivation will also build a compiled
|
||||
|
@ -75,8 +83,10 @@ version of this file."
|
|||
|
||||
(define builder
|
||||
(with-extensions (list guile-json-3)
|
||||
(with-imported-modules (source-module-closure
|
||||
'((gnu installer locale)))
|
||||
(with-imported-modules `(,@(source-module-closure
|
||||
'((gnu installer locale))
|
||||
#:select? not-config?)
|
||||
((guix config) => ,(make-config.scm)))
|
||||
#~(begin
|
||||
(use-modules (gnu installer locale))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue