From 7a026246645337b51dc87202fa857fec166f27e8 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 9 Feb 2026 22:34:45 +0100 Subject: [PATCH] rust-bindgen-unwrapped: move env variable(s) into env for structuredAttrs --- pkgs/development/tools/rust/bindgen/unwrapped.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/rust/bindgen/unwrapped.nix b/pkgs/development/tools/rust/bindgen/unwrapped.nix index cf1624fec9a0..af24dcb64838 100644 --- a/pkgs/development/tools/rust/bindgen/unwrapped.nix +++ b/pkgs/development/tools/rust/bindgen/unwrapped.nix @@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec { doCheck = true; nativeCheckInputs = [ clang ]; - RUSTFMT = "${rustfmt-nightly}/bin/rustfmt"; + env.RUSTFMT = "${rustfmt-nightly}/bin/rustfmt"; preCheck = '' # for the ci folder, notably