mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
gnu: lvm2: Use 'modify-phases'.
* gnu/packages/linux.scm (lvm2)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
af0ba93825
commit
3afbc6b3c3
1 changed files with 10 additions and 9 deletions
|
@ -1661,16 +1661,17 @@ (define-public lvm2
|
||||||
(inputs
|
(inputs
|
||||||
`(("udev" ,eudev)))
|
`(("udev" ,eudev)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (alist-cons-after
|
'(#:phases
|
||||||
'configure 'set-makefile-shell
|
(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-after 'configure 'set-makefile-shell
|
||||||
;; Use 'sh', not 'bash', so that '. lib/utils.sh' works as
|
(lambda _
|
||||||
;; expected.
|
;; Use 'sh', not 'bash', so that '. lib/utils.sh' works as
|
||||||
(setenv "SHELL" (which "sh"))
|
;; expected.
|
||||||
|
(setenv "SHELL" (which "sh"))
|
||||||
|
|
||||||
;; Replace /bin/sh with the right file name.
|
;; Replace /bin/sh with the right file name.
|
||||||
(patch-makefile-SHELL "make.tmpl"))
|
(patch-makefile-SHELL "make.tmpl")
|
||||||
%standard-phases)
|
#t)))
|
||||||
|
|
||||||
#:configure-flags (list (string-append "--sysconfdir="
|
#:configure-flags (list (string-append "--sysconfdir="
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
|
|
Loading…
Reference in a new issue