ouch: use buildFeatures

This commit is contained in:
figsoda 2021-11-15 19:26:03 -05:00
parent fb3de84fb3
commit 44c0a3a626

View File

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