From 64e28411d232dfcaab55b34a92c877a02362c973 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 31 Dec 2025 10:56:42 +0100 Subject: [PATCH] zed-editor: move RUSTFLAGS env variables into env for structuredAttrs --- pkgs/by-name/ze/zed-editor/package.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/by-name/ze/zed-editor/package.nix b/pkgs/by-name/ze/zed-editor/package.nix index aed007f98beb..c3c60fb1ee1a 100644 --- a/pkgs/by-name/ze/zed-editor/package.nix +++ b/pkgs/by-name/ze/zed-editor/package.nix @@ -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 '';