mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
Revert "Merge pull request #78910 from serokell/libarchive-zstd"
Should go to staging instead. This reverts commitf8d9f59abe
, reversing changes made tob27a19d5bf
.
This commit is contained in:
parent
f8d9f59abe
commit
4df2f78ec7
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
fetchFromGitHub, stdenv, pkgconfig, autoreconfHook,
|
||||
acl, attr, bzip2, e2fsprogs, libxml2, lzo, openssl, sharutils, xz, zlib, zstd,
|
||||
acl, attr, bzip2, e2fsprogs, libxml2, lzo, openssl, sharutils, xz, zlib,
|
||||
|
||||
# Optional but increases closure only negligibly.
|
||||
xarSupport ? true,
|
||||
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||
outputs = [ "out" "lib" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||
buildInputs = [ sharutils zlib bzip2 openssl xz lzo zstd ]
|
||||
buildInputs = [ sharutils zlib bzip2 openssl xz lzo ]
|
||||
++ stdenv.lib.optionals stdenv.isLinux [ e2fsprogs attr acl ]
|
||||
++ stdenv.lib.optional xarSupport libxml2;
|
||||
|
||||
|
|
|
@ -50,14 +50,12 @@ stdenv.mkDerivation rec {
|
|||
preInstall = ''
|
||||
substituteInPlace ../programs/zstdgrep \
|
||||
--replace ":-grep" ":-${gnugrep}/bin/grep" \
|
||||
--replace ":-zstdcat" ":-$bin/bin/zstdcat"
|
||||
--replace ":-zstdcat" ":-$out/bin/zstdcat"
|
||||
|
||||
substituteInPlace ../programs/zstdless \
|
||||
--replace "zstdcat" "$bin/bin/zstdcat"
|
||||
--replace "zstdcat" "$out/bin/zstdcat"
|
||||
'';
|
||||
|
||||
outputs = [ "bin" "dev" "man" "out" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Zstandard real-time compression algorithm";
|
||||
longDescription = ''
|
||||
|
|
|
@ -7916,11 +7916,7 @@ in
|
|||
|
||||
zssh = callPackage ../tools/networking/zssh { };
|
||||
|
||||
zstd = callPackage ../tools/compression/zstd {
|
||||
cmake = cmake.override {
|
||||
libarchive = libarchive.override { zstd = null; };
|
||||
};
|
||||
};
|
||||
zstd = callPackage ../tools/compression/zstd { };
|
||||
|
||||
zsync = callPackage ../tools/compression/zsync { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue