Merge pull request #78910 from serokell/libarchive-zstd

libarchive: link to zstd (split zstd output)
This commit is contained in:
Frederik Rietdijk
2020-05-29 20:51:16 +02:00
committed by GitHub
3 changed files with 11 additions and 5 deletions
+4 -2
View File
@@ -50,12 +50,14 @@ stdenv.mkDerivation rec {
preInstall = ''
substituteInPlace ../programs/zstdgrep \
--replace ":-grep" ":-${gnugrep}/bin/grep" \
--replace ":-zstdcat" ":-$out/bin/zstdcat"
--replace ":-zstdcat" ":-$bin/bin/zstdcat"
substituteInPlace ../programs/zstdless \
--replace "zstdcat" "$out/bin/zstdcat"
--replace "zstdcat" "$bin/bin/zstdcat"
'';
outputs = [ "bin" "dev" "man" "out" ];
meta = with stdenv.lib; {
description = "Zstandard real-time compression algorithm";
longDescription = ''