zstd: enable split outputs

wip/yesman
Yorick van Pelt 4 years ago
parent 07655cd724
commit fe9a655054
No known key found for this signature in database
GPG Key ID: A36E70F9DC014A15
  1. 6
      pkgs/tools/compression/zstd/default.nix

@ -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 = ''

Loading…
Cancel
Save