Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2020-06-04 15:25:54 +02:00
461 changed files with 22534 additions and 21978 deletions

View File

@@ -51,16 +51,14 @@ 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"
'';
# Don't duplicate the library code in runtime closures.
postInstall = stdenv.lib.optionalString enableShared ''rm "$out"/lib/libzstd.a'';
outputs = [ "bin" "dev" "man" "out" ];
meta = with stdenv.lib; {
description = "Zstandard real-time compression algorithm";
longDescription = ''