diff options
Diffstat (limited to 'guix/build-system/perl.scm')
-rw-r--r-- | guix/build-system/perl.scm | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/guix/build-system/perl.scm b/guix/build-system/perl.scm index 32045ef6de..db0a916fb2 100644 --- a/guix/build-system/perl.scm +++ b/guix/build-system/perl.scm @@ -100,17 +100,20 @@ provides a `Makefile.PL' file as its build system." (define build (with-imported-modules imported-modules #~(begin - (use-modules #$@modules) + (use-modules #$@(sexp->gexp modules)) #$(with-build-variables inputs outputs #~(perl-build #:name #$name #:source #+source - #:search-paths '#$(map search-path-specification->sexp - search-paths) + #:search-paths '#$(sexp->gexp + (map search-path-specification->sexp + search-paths)) #:make-maker? #$make-maker? #:make-maker-flags #$make-maker-flags - #:module-build-flags #$module-build-flags - #:phases #$phases + #:module-build-flags #$(sexp->gexp module-build-flags) + #:phases #$(if (pair? phases) + (sexp->gexp phases) + phases) #:system #$system #:test-target "test" #:tests? #$tests? |