gnu: wdiff: Remove unused screen input.

* gnu/packages/wdiff.scm (wdiff): 'inputs' -> 'native-inputs'.
[native-inputs]: Remove unused screen input.
[arguments]: Use modify-phases.
master
Eric Bavier 2017-06-28 23:25:23 -05:00
parent 57dfc9f86c
commit 691ae7fa7a
No known key found for this signature in database
GPG Key ID: FD73CAC719D32566
1 changed files with 11 additions and 12 deletions

View File

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org> ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -39,18 +40,16 @@
"0sxgg0ms5lhi4aqqvz1rj4s77yi9wymfm3l3gbjfd1qchy66kzrl")))) "0sxgg0ms5lhi4aqqvz1rj4s77yi9wymfm3l3gbjfd1qchy66kzrl"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases (alist-cons-before `(#:phases (modify-phases %standard-phases
'check 'fix-sh (add-before 'check 'fix-sh
(lambda _ (lambda _
(substitute* "tests/testsuite" (substitute* "tests/testsuite"
(("#! /bin/sh") (("#! /bin/sh")
(string-append "#!" (which "sh"))))) (string-append "#!" (which "sh")))))))))
%standard-phases))) (native-inputs
(inputs `(("screen" ,screen) `(("which" ,which)
("which" ,which) ;; For some reason wdiff.info gets rebuilt.
("texinfo" ,texinfo)))
;; For some reason wdiff.info gets rebuilt.
("texinfo" ,texinfo)))
(home-page "https://www.gnu.org/software/wdiff/") (home-page "https://www.gnu.org/software/wdiff/")
(synopsis "Word difference finder") (synopsis "Word difference finder")
(description (description