summaryrefslogtreecommitdiff
path: root/guix/build-system
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-10-17 04:23:04 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-01-18 22:10:58 -0500
commit2d40e6f7ab04ec367a9a7fc1af3daa507fb60d3c (patch)
tree5fd405786fb48a2b8aec46f99ada0fc767597f7b /guix/build-system
parent90b1fe57d0fb2f06dd578813c720902a5b2363bc (diff)
build: perl: Accept Gexps for #:module-build-flags.
* guix/build-system/perl.scm (perl-build) [module-build-flags]: Accept gexps. Change-Id: If1daa4d9a8cf97824b75f2113f4d7d83256463ce
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 7c6deb34bf..0d5493ab90 100644
--- a/guix/build-system/perl.scm
+++ b/guix/build-system/perl.scm
@@ -133,7 +133,9 @@ provides a `Makefile.PL' file as its build system."
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 #$(if (pair? phases)
(sexp->gexp phases)
phases)