Merge pull request #159900 from risicle/ris-libarchive-passthru-deps

This commit is contained in:
Sandro 2022-03-27 16:37:21 +02:00 committed by GitHub
commit 3812e3a10c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = ''