zed-editor: downgrade nodejs (#356459)
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
apple-sdk_15,
|
apple-sdk_15,
|
||||||
darwinMinVersionHook,
|
darwinMinVersionHook,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
nodePackages_latest,
|
nodejs_22,
|
||||||
|
|
||||||
withGLES ? false,
|
withGLES ? false,
|
||||||
}:
|
}:
|
||||||
@@ -217,9 +217,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
postFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
|
postFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||||
patchelf --add-rpath ${gpu-lib}/lib $out/libexec/*
|
patchelf --add-rpath ${gpu-lib}/lib $out/libexec/*
|
||||||
patchelf --add-rpath ${wayland}/lib $out/libexec/*
|
patchelf --add-rpath ${wayland}/lib $out/libexec/*
|
||||||
wrapProgram $out/libexec/zed-editor --suffix PATH : ${
|
wrapProgram $out/libexec/zed-editor --suffix PATH : ${lib.makeBinPath [ nodejs_22 ]}
|
||||||
lib.makeBinPath [ nodePackages_latest.nodejs ]
|
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user