me
/
guix
Archived
1
0
Fork 0

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>
Timotej Lazar 2022-10-31 10:39:28 +01:00 committed by Christopher Baines
parent 754f260753
commit fd83edf8a1
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 3 additions and 1 deletions

View File

@ -100,7 +100,9 @@ provides a 'SConstruct' file as its build system."
#$(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