zed-editor: unpin Node.js version

This commit is contained in:
Antoine du Hamel
2024-11-20 20:38:10 +01:00
parent c4c7cbaf86
commit 5e162fe955
+2 -2
View File
@@ -35,7 +35,7 @@
apple-sdk_15,
darwinMinVersionHook,
makeWrapper,
nodejs_22,
nodejs,
withGLES ? false,
}:
@@ -217,7 +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 [ nodejs_22 ]}
wrapProgram $out/libexec/zed-editor --suffix PATH : ${lib.makeBinPath [ nodejs ]}
'';
preCheck = ''