aboutsummaryrefslogtreecommitdiff
path: root/guix/build-system
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-02-10 10:33:18 +0000
committerChristopher Baines <mail@cbaines.net>2024-02-10 10:33:18 +0000
commit4cc7302e7dcd1de8d5ca7e9b82da2f8b9fa98911 (patch)
treeeba5c50d2948b6bd805760d32ed599fe064603e3 /guix/build-system
parentca4c9062c4a04a3550fdcf67cb2b41daa13627d8 (diff)
downloadguix-4cc7302e7dcd1de8d5ca7e9b82da2f8b9fa98911.tar
guix-4cc7302e7dcd1de8d5ca7e9b82da2f8b9fa98911.tar.gz
build-system: perl: Accept Gexps for #:module-build-flags.
Matching the change in 2d40e6f7ab04ec367a9a7fc1af3daa507fb60d3c otherwise the cross build derivations are broken, as was the case for emacs-pde. * guix/build-system/perl.scm (perl-cross-build) [module-build-flags]: Accept gexps. Change-Id: I2dc85bc50bc077581e3abfc5baaedc6487118192
Diffstat (limited to 'guix/build-system')
-rw-r--r--guix/build-system/perl.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/build-system/perl.scm b/guix/build-system/perl.scm
index 0d5493ab90..3f7a2dea27 100644
--- a/guix/build-system/perl.scm
+++ b/guix/build-system/perl.scm
@@ -197,7 +197,9 @@ XS or similar."
native-search-paths))
#:make-maker? #$make-maker?
#:make-maker-flags #$make-maker-flags
- #:module-build-flags #$(sexp->gexp module-build-flags)
+ #:module-build-flags #$(if (pair? module-build-flags)
+ (sexp->gexp module-build-flags)
+ module-build-flags)
#:phases #$phases
#:build #$build
#:system #$system