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:
parent
7569a0545b
commit
f847918575
1 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue