routinator: use buildFeatures

This commit is contained in:
figsoda 2021-11-15 18:51:22 -05:00
parent eaeed5920f
commit 08e50b55cb

View File

@ -20,9 +20,8 @@ rustPlatform.buildRustPackage rec {
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
cargoBuildFlags = [ "--no-default-features" "--features=socks" ];
cargoTestFlags = cargoBuildFlags;
buildNoDefaultFeatures = true;
buildFeatures = [ "socks" ];
meta = with lib; {
description = "An RPKI Validator written in Rust";