build: perl: Accept Gexps for #:module-build-flags.

* guix/build-system/perl.scm (perl-build) [module-build-flags]: Accept gexps.

Change-Id: If1daa4d9a8cf97824b75f2113f4d7d83256463ce
This commit is contained in:
Maxim Cournoyer 2023-10-17 04:23:04 -04:00
parent 90b1fe57d0
commit 2d40e6f7ab
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 3 additions and 1 deletions

View File

@ -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)