diff --git a/pkgs/by-name/ze/zed-editor/package.nix b/pkgs/by-name/ze/zed-editor/package.nix index 3a1aa5284eb8..3da7c6df7cdb 100644 --- a/pkgs/by-name/ze/zed-editor/package.nix +++ b/pkgs/by-name/ze/zed-editor/package.nix @@ -196,7 +196,12 @@ rustPlatform.buildRustPackage (finalAttrs: { # Some crates define extra types or enum values in test configuration which then lead # to type checking errors in other crates unless this feature is enabled. - checkFeatures = [ "visual-tests" ]; + # gpui/runtime_shaders is required on darwin for the same reason as buildFeatures above: + # without it, build.rs invokes the proprietary Metal shader compiler. + checkFeatures = [ + "visual-tests" + ] + ++ finalAttrs.buildFeatures; env = { ALLOW_MISSING_LICENSES = true;