From fb3ba0f3cd67580c90b9abedcaf6ba24ed80bf1b Mon Sep 17 00:00:00 2001 From: asonix Date: Fri, 18 Aug 2023 11:35:04 -0500 Subject: [PATCH] Add unstable rustflags to flake --- pict-rs.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pict-rs.nix b/pict-rs.nix index 32b1640..db78b2d 100644 --- a/pict-rs.nix +++ b/pict-rs.nix @@ -22,6 +22,8 @@ rustPlatform.buildRustPackage { PROTOC = "${protobuf}/bin/protoc"; PROTOC_INCLUDE = "${protobuf}/include"; + RUSTFLAGS = "--cfg tokio_unstable --cfg uuid_unstable"; + nativeBuildInputs = [ makeWrapper ]; buildInputs = lib.optionals stdenv.isDarwin [ Security ];