From 00e79195a53717435933173dee055f5c430850d2 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 18 Jul 2014 10:16:54 +0200 Subject: gnu: Enable tests for patch. * gnu/packages/base.scm (patch): Enable test and add "ed" as input. --- gnu/packages/base.scm | 6 ++---- 1 file 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 @@ (define-module (gnu packages base) #: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 @@ (define-public patch (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 -- cgit v1.2.3