mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
build-system/scons: Allow using a G-exp for scons-flags.
* guix/build-system/scons.scm (scons-build): Only call sexp->gexp on scons-flags when scons-flags is a pair. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
754f260753
commit
fd83edf8a1
1 changed files with 3 additions and 1 deletions
|
@ -100,7 +100,9 @@ (define builder
|
|||
#$(with-build-variables inputs outputs
|
||||
#~(scons-build #:name #$name
|
||||
#:source #+source
|
||||
#:scons-flags #$(sexp->gexp scons-flags)
|
||||
#:scons-flags #$(if (pair? scons-flags)
|
||||
(sexp->gexp scons-flags)
|
||||
scons-flags)
|
||||
#:system #$system
|
||||
#:build-targets #$build-targets
|
||||
#:test-target #$test-target
|
||||
|
|
Loading…
Reference in a new issue