diff --git a/pkgs/development/libraries/libarchive/default.nix b/pkgs/development/libraries/libarchive/default.nix index 2a1d53e6ee01..34dc6531b1f7 100644 --- a/pkgs/development/libraries/libarchive/default.nix +++ b/pkgs/development/libraries/libarchive/default.nix @@ -6,6 +6,9 @@ # builds fine on windows, but libarchive has trouble linking windows # things it depends on for some reason. xarSupport ? stdenv.hostPlatform.isUnix, + + # for passthru.tests + cmake, nix, samba }: assert xarSupport -> libxml2 != null; @@ -49,6 +52,10 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + passthru.tests = { + inherit cmake nix samba; + }; + meta = { description = "Multi-format archive and compression library"; longDescription = ''