From 44c0a3a626dfed575b23ce1795ccdc42d8b0200e Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 15 Nov 2021 19:26:03 -0500 Subject: [PATCH] ouch: use buildFeatures --- pkgs/tools/compression/ouch/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/tools/compression/ouch/default.nix b/pkgs/tools/compression/ouch/default.nix index c9ffaef4b76c..3051c705c5fe 100644 --- a/pkgs/tools/compression/ouch/default.nix +++ b/pkgs/tools/compression/ouch/default.nix @@ -27,9 +27,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ bzip2 xz zlib zstd ]; - cargoBuildFlags = [ "--features" "zstd/pkg-config" ]; - - cargoTestFlags = cargoBuildFlags; + buildFeatures = [ "zstd/pkg-config" ]; postInstall = '' help2man $out/bin/ouch > ouch.1