gnu: man-db: Use modify-phases syntax.
* gnu/packages/man.scm (man-db)[arguments]: Use modify-phases syntax.
This commit is contained in:
parent
d6a07ee675
commit
e79b3c37e3
1 changed files with 12 additions and 13 deletions
|
@ -1,7 +1,7 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2012, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2012, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2014 David Thompson <dthompson2@worcester.edu>
|
;;; Copyright © 2014 David Thompson <dthompson2@worcester.edu>
|
||||||
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
|
;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
|
||||||
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;;
|
;;;
|
||||||
|
@ -69,8 +69,8 @@ a flexible and convenient way.")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(alist-cons-after
|
(modify-phases %standard-phases
|
||||||
'patch-source-shebangs 'patch-test-shebangs
|
(add-after 'patch-source-shebangs 'patch-test-shebangs
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
;; Patch shebangs in test scripts.
|
;; Patch shebangs in test scripts.
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
@ -79,8 +79,7 @@ a flexible and convenient way.")
|
||||||
(("#! /bin/sh")
|
(("#! /bin/sh")
|
||||||
(string-append "#!" (which "sh")))))
|
(string-append "#!" (which "sh")))))
|
||||||
(remove file-is-directory?
|
(remove file-is-directory?
|
||||||
(find-files "src/tests" ".*")))))
|
(find-files "src/tests" ".*")))))))
|
||||||
%standard-phases)
|
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(let ((groff (assoc-ref %build-inputs "groff"))
|
(let ((groff (assoc-ref %build-inputs "groff"))
|
||||||
(less (assoc-ref %build-inputs "less"))
|
(less (assoc-ref %build-inputs "less"))
|
||||||
|
|
Reference in a new issue