zstd: enable split outputs

This commit is contained in:
Yorick van Pelt 2020-01-30 21:17:17 +01:00
parent 07655cd724
commit fe9a655054
No known key found for this signature in database
GPG Key ID: A36E70F9DC014A15

View File

@ -49,12 +49,14 @@ stdenv.mkDerivation rec {
preInstall = stdenv.lib.optionalString enableShared ''
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 = ''