guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#68180] [PATCH v3 2/4] build: perl: Accept Gexps for #:module-build-


From: Maxim Cournoyer
Subject: [bug#68180] [PATCH v3 2/4] build: perl: Accept Gexps for #:module-build-flags.
Date: Tue, 2 Jan 2024 14:39:26 -0500

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

Change-Id: If1daa4d9a8cf97824b75f2113f4d7d83256463ce
---

(no changes since v1)

 guix/build-system/perl.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 @@ (define* (perl-build name inputs
                                                     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)
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]