mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
guix build: Honor '--system' with '--manifest'.
* guix/scripts/build.scm (options->things-to-build): Wrap the manifest build option with the result of the '--system' option. Change-Id: I1c3ff93af56bb659ddc00e1872c769cfc5e7a0d5
This commit is contained in:
parent
17b7b1a5cf
commit
98be4efdb8
1 changed files with 13 additions and 9 deletions
|
@ -706,6 +706,10 @@ values.")))))))))
|
|||
(ensure-list (load* file (make-user-module '()))))
|
||||
result))))
|
||||
(('manifest . manifest)
|
||||
;; Otherwise '--system' is ignored.
|
||||
;; Wrap the loop instead of adjusting each item so that manifest
|
||||
;; items can individually be for different systems.
|
||||
(parameterize ((%current-system system))
|
||||
(loop tail 'regular
|
||||
(append (map manifest-entry-item
|
||||
(manifest-entries
|
||||
|
@ -714,7 +718,7 @@ values.")))))))))
|
|||
(make-user-module '((guix profiles)
|
||||
(gnu))))
|
||||
manifest)))
|
||||
result)))
|
||||
result))))
|
||||
(('expression . str)
|
||||
(loop tail 'regular
|
||||
(append (append-map for-type (ensure-list (read/eval str)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue