From e186a328e4de5ffd62835982098b5d192068d8c1 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 11 Feb 2023 00:09:44 +0000 Subject: [PATCH] zstd: add some key reverse-dependencies to passthru.tests --- pkgs/tools/compression/zstd/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pkgs/tools/compression/zstd/default.nix b/pkgs/tools/compression/zstd/default.nix index 6a489779cb02..40df92b4d538 100644 --- a/pkgs/tools/compression/zstd/default.nix +++ b/pkgs/tools/compression/zstd/default.nix @@ -8,6 +8,15 @@ , buildContrib ? stdenv.hostPlatform == stdenv.buildPlatform , doCheck ? stdenv.hostPlatform == stdenv.buildPlatform , nix-update-script + +# for passthru.tests +, libarchive +, rocksdb +, arrow-cpp +, libzip +, curl +, python3Packages +, haskellPackages }: stdenv.mkDerivation rec { @@ -91,6 +100,14 @@ stdenv.mkDerivation rec { passthru = { updateScript = nix-update-script { }; + tests = { + inherit libarchive rocksdb arrow-cpp; + libzip = libzip.override { withZstd = true; }; + curl = curl.override { zstdSupport = true; }; + python-zstd = python3Packages.zstd; + haskell-zstd = haskellPackages.zstd; + haskell-hs-zstd = haskellPackages.hs-zstd; + }; }; meta = with lib; {