when using rustPlatform.buildRustPackage instead of stdenv.mkDerivation,
cargoBuildFeatures is silently overridden by buildFeatures
This commit is contained in:
Nick Cao 2023-02-20 10:29:17 +08:00
parent 2853567de5
commit 7addad2d7c
No known key found for this signature in database

View File

@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
++ lib.optionals stdenv.isDarwin [ Security CoreServices ];
cargoBuildFeatures = [
buildFeatures = [
"trust-dns"
"local-http-native-tls"
"local-tunnel"