guix-commits
[Top][All Lists]
Advanced

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

04/07: build: perl: Accept Gexps for #:module-build-flags.


From: guix-commits
Subject: 04/07: build: perl: Accept Gexps for #:module-build-flags.
Date: Thu, 18 Jan 2024 22:46:31 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit 2d40e6f7ab04ec367a9a7fc1af3daa507fb60d3c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Oct 17 04:23:04 2023 -0400

    build: perl: Accept Gexps for #:module-build-flags.
    
    * guix/build-system/perl.scm (perl-build) [module-build-flags]: Accept 
gexps.
    
    Change-Id: If1daa4d9a8cf97824b75f2113f4d7d83256463ce
---
 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 @@ 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)



reply via email to

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