From 59daa43dd9fa18692048907fc957576a517fa01f Mon Sep 17 00:00:00 2001 From: Niklas Korz Date: Sat, 16 Nov 2024 14:26:43 +0100 Subject: [PATCH] zed-editor: downgrade nodejs --- pkgs/by-name/ze/zed-editor/package.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ze/zed-editor/package.nix b/pkgs/by-name/ze/zed-editor/package.nix index ec3d6d8d9e08e..e9c97bf9b1800 100644 --- a/pkgs/by-name/ze/zed-editor/package.nix +++ b/pkgs/by-name/ze/zed-editor/package.nix @@ -35,7 +35,7 @@ apple-sdk_15, darwinMinVersionHook, makeWrapper, - nodePackages_latest, + nodejs_22, withGLES ? false, }: @@ -217,9 +217,7 @@ rustPlatform.buildRustPackage rec { postFixup = lib.optionalString stdenv.hostPlatform.isLinux '' patchelf --add-rpath ${gpu-lib}/lib $out/libexec/* patchelf --add-rpath ${wayland}/lib $out/libexec/* - wrapProgram $out/libexec/zed-editor --suffix PATH : ${ - lib.makeBinPath [ nodePackages_latest.nodejs ] - } + wrapProgram $out/libexec/zed-editor --suffix PATH : ${lib.makeBinPath [ nodejs_22 ]} ''; preCheck = ''