zeronsd: move env variable(s) into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-11 10:43:52 +01:00
parent 275a9cc5fa
commit 1427962d30
+1 -1
View File
@@ -24,7 +24,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
buildInputs = [ openssl ];
nativeBuildInputs = [ pkg-config ];
RUSTFMT = "${rustfmt}/bin/rustfmt";
env.RUSTFMT = "${rustfmt}/bin/rustfmt";
# Integration tests try to access the ZeroTier API which requires an API token.
# https://github.com/zerotier/zeronsd/blob/v0.5.2/tests/service/network.rs#L10