Skip to content

Commit

Permalink
Revert "Merge pull request #78910 from serokell/libarchive-zstd"
Browse files Browse the repository at this point in the history
Should go to staging instead.

This reverts commit f8d9f59, reversing
changes made to b27a19d.
  • Loading branch information
FRidh committed May 29, 2020
1 parent f8d9f59 commit 4df2f78
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/libraries/libarchive/default.nix
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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;

Expand Down
6 changes: 2 additions & 4 deletions pkgs/tools/compression/zstd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down
6 changes: 1 addition & 5 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };

Expand Down

0 comments on commit 4df2f78

Please sign in to comment.