diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-09-29 20:25:51 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-10-02 15:27:11 -0500 |
commit | b068e220ff7b806e6015c3982853bf3deb8745e3 (patch) | |
tree | dbe30b9952bf0dd94c1984d31375fa3b61ba7bd3 /pkgs/tools/text/gnupatch | |
parent | ff0568380baf59e053ab1098f268b38be8bf22db (diff) |
patch: use checkInputs instead of conditional
This is more clear, to separate test dependencies.
Diffstat (limited to 'pkgs/tools/text/gnupatch')
-rw-r--r-- | pkgs/tools/text/gnupatch/default.nix | 2 |
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"; |