aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Darrington <jmd@gnu.org>2014-07-18 10:16:54 +0200
committerJohn Darrington <jmd@gnu.org>2014-07-20 11:30:54 +0200
commit00e79195a53717435933173dee055f5c430850d2 (patch)
tree6e6f7a8b48ad8afd7b7a429a3d9dc4a5b464125f
parent0a643dc6f417a951f3d0b09ffdf7d1df423c84f8 (diff)
downloadgnu-guix-00e79195a53717435933173dee055f5c430850d2.tar
gnu-guix-00e79195a53717435933173dee055f5c430850d2.tar.gz
gnu: Enable tests for patch.
* gnu/packages/base.scm (patch): Enable test and add "ed" as input.
-rw-r--r--gnu/packages/base.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index c280cff198..005e1c000b 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -28,6 +28,7 @@
#:use-module (gnu packages bootstrap)
#:use-module (gnu packages compression)
#:use-module (gnu packages gcc)
+ #:use-module (gnu packages ed)
#:use-module (gnu packages gawk)
#:use-module (gnu packages guile)
#:use-module (gnu packages multiprecision)
@@ -164,12 +165,9 @@ standard utility.")
(base32
"1sqckf560pzwgniy00vcpdv2c9c11s4cmhlm14yqgg8avd3bl94i"))))
(build-system gnu-build-system)
- (native-inputs '()) ; FIXME: needs `ed' for the tests
- (arguments
- '(#:tests? #f)
+ (native-inputs `(("ed", ed)))
;; TODO: When cross-compiling, add this:
;; '(#:configure-flags '("ac_cv_func_strnlen_working=yes"))
- )
(synopsis "Apply differences to originals, with optional backups")
(description
"Patch is a program that applies changes to files based on differences