summary refs log tree commit diff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-09-29 20:25:51 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-10-02 15:27:11 -0500
commitb068e220ff7b806e6015c3982853bf3deb8745e3 (patch)
treedbe30b9952bf0dd94c1984d31375fa3b61ba7bd3 /pkgs/tools/text
parentff0568380baf59e053ab1098f268b38be8bf22db (diff)
downloadnixlib-b068e220ff7b806e6015c3982853bf3deb8745e3.tar
nixlib-b068e220ff7b806e6015c3982853bf3deb8745e3.tar.gz
nixlib-b068e220ff7b806e6015c3982853bf3deb8745e3.tar.bz2
nixlib-b068e220ff7b806e6015c3982853bf3deb8745e3.tar.lz
nixlib-b068e220ff7b806e6015c3982853bf3deb8745e3.tar.xz
nixlib-b068e220ff7b806e6015c3982853bf3deb8745e3.tar.zst
nixlib-b068e220ff7b806e6015c3982853bf3deb8745e3.zip
patch: use checkInputs instead of conditional
This is more clear, to separate test dependencies.
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/gnupatch/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/gnupatch/default.nix b/pkgs/tools/text/gnupatch/default.nix
index e22850a63f01..238dba3a9f1e 100644
--- a/pkgs/tools/text/gnupatch/default.nix
+++ b/pkgs/tools/text/gnupatch/default.nix
@@ -23,7 +23,6 @@ stdenv.mkDerivation rec {
     })
   ];
 
-  buildInputs = stdenv.lib.optional doCheck ed;
   nativeBuildInputs = [ autoreconfHook ];
 
   configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
@@ -31,6 +30,7 @@ stdenv.mkDerivation rec {
   ];
 
   doCheck = stdenv.hostPlatform.libc != "musl"; # not cross;
+  checkInputs = [ed];
 
   meta = {
     description = "GNU Patch, a program to apply differences to files";