Skip to content

Commit 414da94

Browse files
committedFeb 10, 2020
libarchive: link against zstd
1 parent fe9a655 commit 414da94

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed
 

‎pkgs/development/libraries/libarchive/default.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
fetchFromGitHub, stdenv, pkgconfig, autoreconfHook,
3-
acl, attr, bzip2, e2fsprogs, libxml2, lzo, openssl, sharutils, xz, zlib,
3+
acl, attr, bzip2, e2fsprogs, libxml2, lzo, openssl, sharutils, xz, zlib, zstd,
44

55
# Optional but increases closure only negligibly.
66
xarSupport ? true,
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
outputs = [ "out" "lib" "dev" ];
2323

2424
nativeBuildInputs = [ pkgconfig autoreconfHook ];
25-
buildInputs = [ sharutils zlib bzip2 openssl xz lzo ]
25+
buildInputs = [ sharutils zlib bzip2 openssl xz lzo zstd ]
2626
++ stdenv.lib.optionals stdenv.isLinux [ e2fsprogs attr acl ]
2727
++ stdenv.lib.optional xarSupport libxml2;
2828

‎pkgs/top-level/all-packages.nix

+5-1
Original file line numberDiff line numberDiff line change
@@ -7649,7 +7649,11 @@ in
76497649

76507650
zssh = callPackage ../tools/networking/zssh { };
76517651

7652-
zstd = callPackage ../tools/compression/zstd { };
7652+
zstd = callPackage ../tools/compression/zstd {
7653+
cmake = cmake.override {
7654+
libarchive = libarchive.override { zstd = null; };
7655+
};
7656+
};
76537657

76547658
zsync = callPackage ../tools/compression/zsync { };
76557659

0 commit comments

Comments
 (0)
Please sign in to comment.