Skip to content
Snippets Groups Projects
Unverified Commit 3afbc6b3 authored by Leo Famulari's avatar Leo Famulari
Browse files

gnu: lvm2: Use 'modify-phases'.

* gnu/packages/linux.scm (lvm2)[arguments]: Use 'modify-phases'.
parent af0ba938
No related branches found
No related tags found
No related merge requests found
......@@ -1661,16 +1661,17 @@ (define-public lvm2
(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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment