guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: lvm2: Use 'modify-phases'.


From: Leo Famulari
Subject: 01/03: gnu: lvm2: Use 'modify-phases'.
Date: Thu, 6 Oct 2016 21:43:57 +0000 (UTC)

lfam pushed a commit to branch master
in repository guix.

commit 3afbc6b3c3a78dddbb92651854bc0c8574078cdc
Author: Leo Famulari <address@hidden>
Date:   Mon Oct 3 03:57:53 2016 -0400

    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(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 52c7c7d..66583dd 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]