From 1fce094bfbc4a25d01a64fd88bbd1125656d8112 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 14 Aug 2024 23:22:47 +0200 Subject: gnu: perl-boot0: Use gexps. * gnu/packages/commencement.scm (perl-boot0)[arguments]: Use gexps. Change-Id: I5c6358ce09a42bfb702d91325efa3ca81fe5494a --- gnu/packages/commencement.scm | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index b31f976900..62bb2d6c96 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -2464,27 +2464,27 @@ exec " gcc "/bin/" program (source (bootstrap-origin (package-source perl))) (inputs (%boot0-inputs)) (arguments - `(#:implicit-inputs? #f - #:guile ,%bootstrap-guile - #:validate-runpath? #f - - ;; At the very least, this must not depend on GCC & co. - #:disallowed-references ,(list %bootstrap-binutils) - - ,@(substitute-keyword-arguments (package-arguments perl) - ((#:phases phases) - `(modify-phases ,phases - ;; Pthread support is missing in the bootstrap compiler - ;; (broken spec file), so disable it. - (add-before 'configure 'disable-pthreads - (lambda _ - (substitute* "Configure" - (("^libswanted=(.*)pthread" _ before) - (string-append "libswanted=" before))))))) - ;; Do not configure with '-Dusethreads' since pthread - ;; support is missing. - ((#:configure-flags configure-flags) - `(delete "-Dusethreads" ,configure-flags))))))) + (append (list #:implicit-inputs? #f + #:guile %bootstrap-guile + #:validate-runpath? #f + + ;; At the very least, this must not depend on GCC & co. + #:disallowed-references (list %bootstrap-binutils)) + (substitute-keyword-arguments (package-arguments perl) + ((#:phases phases) + #~(modify-phases #$phases + ;; Pthread support is missing in the bootstrap compiler + ;; (broken spec file), so disable it. + (add-before 'configure 'disable-pthreads + (lambda _ + (substitute* "Configure" + (("^libswanted=(.*)pthread" _ before) + (string-append "libswanted=" before))))))) + ;; Do not configure with '-Dusethreads' since pthread + ;; support is missing. + ((#:configure-flags configure-flags) + #~(delete "-Dusethreads" + #$configure-flags))))))) (define m4-boot0 (package -- cgit v1.2.3