From 4aa03a71eb32b238882df8466e852b8eb1bf6712 Mon Sep 17 00:00:00 2001 From: Ben Botwin Date: Fri, 20 Feb 2026 09:03:09 -0500 Subject: [PATCH] fix(nix): Added unstable flag to buildDeps --- nix/packages/uwulib/build.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nix/packages/uwulib/build.nix b/nix/packages/uwulib/build.nix index e36b57f0..8bee1995 100644 --- a/nix/packages/uwulib/build.nix +++ b/nix/packages/uwulib/build.nix @@ -77,7 +77,12 @@ rec { craneLib.buildDepsOnly ( (commonAttrs commonAttrsArgs) // { - env = uwuenv.buildDepsOnlyEnv // (makeRocksDBEnv { inherit rocksdb; }); + env = uwuenv.buildDepsOnlyEnv + // (makeRocksDBEnv { inherit rocksdb; }) + // { + # required since we started using unstable reqwest apparently ... otherwise the all-features build will fail + RUSTFLAGS = "--cfg reqwest_unstable"; + }; inherit (features) cargoExtraArgs; }