mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: cross-base: ‘cross’ helper uses gexps.
This is required in cases where P uses gexps. * gnu/packages/cross-base.scm (cross): Use gexps. Change-Id: Ie038cbec67a53700f31791ee2d171918788111d2
This commit is contained in:
parent
724c1a120a
commit
f9f2198d82
1 changed files with 3 additions and 3 deletions
|
@ -80,9 +80,9 @@ (define (cross p target)
|
|||
(name (string-append (package-name p) "-cross-" target))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments p)
|
||||
((#:configure-flags flags ''())
|
||||
`(cons ,(string-append "--target=" target)
|
||||
,flags))))))
|
||||
((#:configure-flags flags #~'())
|
||||
#~(cons #$(string-append "--target=" target)
|
||||
#$flags))))))
|
||||
|
||||
(define (contains-keyword? args)
|
||||
"Check if ARGS contains a keyword object."
|
||||
|
|
Loading…
Reference in a new issue