diff --git a/nix/packages/uwulib/build.nix b/nix/packages/uwulib/build.nix index 04b400e6..e36b57f0 100644 --- a/nix/packages/uwulib/build.nix +++ b/nix/packages/uwulib/build.nix @@ -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;