From fe9a655054c960f12decd9af2ecdbff19157152e Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Thu, 30 Jan 2020 21:17:17 +0100 Subject: zstd: enable split outputs --- pkgs/tools/compression/zstd/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pkgs/tools/compression') diff --git a/pkgs/tools/compression/zstd/default.nix b/pkgs/tools/compression/zstd/default.nix index 82a6a3a8a53c..a7ae4d0b3ba8 100644 --- a/pkgs/tools/compression/zstd/default.nix +++ b/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 = '' -- cgit 1.4.1