diff --git a/pkgs/tools/compression/zstd/default.nix b/pkgs/tools/compression/zstd/default.nix index edb771b5b3ec..f9a05c4281af 100644 --- a/pkgs/tools/compression/zstd/default.nix +++ b/pkgs/tools/compression/zstd/default.nix @@ -1,5 +1,6 @@ { stdenv, fetchFromGitHub, gnugrep , fixDarwinDylibNames +, file , legacySupport ? false }: stdenv.mkDerivation rec { @@ -19,6 +20,10 @@ stdenv.mkDerivation rec { "ZSTD_LEGACY_SUPPORT=${if legacySupport then "1" else "0"}" ]; + checkInputs = [ file ]; + doCheck = false; # fails with "zstd: --list does not support reading from standard input" + # probably a bug + installFlags = [ "PREFIX=$(out)" ];