gnu: e2fsprogs: Use 'modify-phases' syntax.
* gnu/packages/linux.scm (e2fsprogs)[arguments]<#:phases>: Use 'modify-phases'.
This commit is contained in:
parent
62ec02bf21
commit
55acb372e3
|
@ -695,8 +695,9 @@ slabtop, and skill.")
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
"/lib"))
|
"/lib"))
|
||||||
|
|
||||||
#:phases (alist-cons-before
|
#:phases
|
||||||
'configure 'patch-shells
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'patch-shells
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "configure"
|
(substitute* "configure"
|
||||||
(("/bin/sh (.*)parse-types.sh" _ dir)
|
(("/bin/sh (.*)parse-types.sh" _ dir)
|
||||||
|
@ -704,9 +705,9 @@ slabtop, and skill.")
|
||||||
"parse-types.sh")))
|
"parse-types.sh")))
|
||||||
(substitute* (find-files "." "^Makefile.in$")
|
(substitute* (find-files "." "^Makefile.in$")
|
||||||
(("#!/bin/sh")
|
(("#!/bin/sh")
|
||||||
(string-append "#!" (which "sh")))))
|
(string-append "#!" (which "sh"))))
|
||||||
(alist-cons-after
|
#t))
|
||||||
'install 'install-libs
|
(add-after 'install 'install-libs
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(lib (string-append out "/lib")))
|
(lib (string-append out "/lib")))
|
||||||
|
@ -721,8 +722,7 @@ slabtop, and skill.")
|
||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
(chmod file #o666))
|
(chmod file #o666))
|
||||||
archives)
|
archives)
|
||||||
#t))))
|
#t))))))
|
||||||
%standard-phases))
|
|
||||||
|
|
||||||
;; FIXME: Tests work by comparing the stdout/stderr of programs, that
|
;; FIXME: Tests work by comparing the stdout/stderr of programs, that
|
||||||
;; they fail because we get an extra line that says "Can't check if
|
;; they fail because we get an extra line that says "Can't check if
|
||||||
|
|
Loading…
Reference in New Issue