fix(nix): Fix all-features build

The build was broken since we started using an unstable reqwest version
which requires setting an extra feature flag
This commit is contained in:
aviac 2026-02-20 09:24:36 +01:00 committed by Jade Ellis
parent 7569a0545b
commit f847918575
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2

View file

@ -102,7 +102,13 @@ rec {
'';
cargoArtifacts = deps;
doCheck = true;
env = uwuenv.buildPackageEnv // rocksdbEnv;
env =
uwuenv.buildPackageEnv
// rocksdbEnv
// {
# required since we started using unstable reqwest apparently ... otherwise the all-features build will fail
RUSTFLAGS = "--cfg reqwest_unstable";
};
passthru.env = uwuenv.buildPackageEnv // rocksdbEnv;
meta.mainProgram = crateInfo.pname;
inherit (features) cargoExtraArgs;