gnu: guile@2.0.14: Update phase style.
* gnu/packages/guile.scm (guile-2.0)[arguments]: Use MODIFY-PHASES syntax and end phase with #t.
This commit is contained in:
parent
53bfec7bc4
commit
20897536e5
|
@ -15,7 +15,7 @@
|
||||||
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
|
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
|
||||||
;;; Copyright © 2017 Theodoros Foradis <theodoros@foradis.org>
|
;;; Copyright © 2017 Theodoros Foradis <theodoros@foradis.org>
|
||||||
;;; Copyright © 2017 ng0 <ng0@infotropique.org>
|
;;; Copyright © 2017 ng0 <ng0@infotropique.org>
|
||||||
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
|
@ -184,8 +184,9 @@ (define-public guile-2.0
|
||||||
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("--disable-static") ; saves 3 MiB
|
`(#:configure-flags '("--disable-static") ; saves 3 MiB
|
||||||
#:phases (alist-cons-before
|
#:phases
|
||||||
'configure 'pre-configure
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'pre-configure
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
;; Tell (ice-9 popen) the file name of Bash.
|
;; Tell (ice-9 popen) the file name of Bash.
|
||||||
(let ((bash (assoc-ref inputs "bash")))
|
(let ((bash (assoc-ref inputs "bash")))
|
||||||
|
@ -198,8 +199,8 @@ (define-public guile-2.0
|
||||||
'((if bash
|
'((if bash
|
||||||
(string-append bash "/bin/bash")
|
(string-append bash "/bin/bash")
|
||||||
"bash"))
|
"bash"))
|
||||||
'((string-append bash "/bin/bash")))))))
|
'((string-append bash "/bin/bash")))))
|
||||||
%standard-phases)))
|
#t))))))
|
||||||
|
|
||||||
(native-search-paths
|
(native-search-paths
|
||||||
(list (search-path-specification
|
(list (search-path-specification
|
||||||
|
|
Loading…
Reference in a new issue