From 3afbc6b3c3a78dddbb92651854bc0c8574078cdc Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Mon, 3 Oct 2016 03:57:53 -0400 Subject: gnu: lvm2: Use 'modify-phases'. * gnu/packages/linux.scm (lvm2)[arguments]: Use 'modify-phases'. --- gnu/packages/linux.scm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 52c7c7d027..66583dd253 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -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") -- cgit v1.2.3