gnu: lvm2: Use 'modify-phases'.

* gnu/packages/linux.scm (lvm2)[arguments]: Use 'modify-phases'.
master
Leo Famulari 2016-10-03 03:57:53 -04:00
parent af0ba93825
commit 3afbc6b3c3
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 10 additions and 9 deletions

View File

@ -1661,16 +1661,17 @@ time.")
(inputs
`(("udev" ,eudev)))
(arguments
'(#:phases (alist-cons-after
'configure 'set-makefile-shell
(lambda _
;; Use 'sh', not 'bash', so that '. lib/utils.sh' works as
;; expected.
(setenv "SHELL" (which "sh"))
'(#:phases
(modify-phases %standard-phases
(add-after 'configure 'set-makefile-shell
(lambda _
;; Use 'sh', not 'bash', so that '. lib/utils.sh' works as
;; expected.
(setenv "SHELL" (which "sh"))
;; Replace /bin/sh with the right file name.
(patch-makefile-SHELL "make.tmpl"))
%standard-phases)
;; Replace /bin/sh with the right file name.
(patch-makefile-SHELL "make.tmpl")
#t)))
#:configure-flags (list (string-append "--sysconfdir="
(assoc-ref %outputs "out")