zed-editor: move RUSTFLAGS env variables into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-01-07 21:40:43 +01:00
parent f4081862ed
commit 64e28411d2
+1 -2
View File
@@ -208,10 +208,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
# Used by `zed --version`
RELEASE_VERSION = finalAttrs.version;
LK_CUSTOM_WEBRTC = livekit-libwebrtc;
RUSTFLAGS = lib.optionalString withGLES "--cfg gles";
};
RUSTFLAGS = lib.optionalString withGLES "--cfg gles";
preBuild = ''
bash script/generate-licenses
'';