neovim-node-client: fix build on exotic platforms

This commit is contained in:
Weijia Wang
2026-09-29 01:26:53 +02:00
parent 81a3b1f4c0
commit 7de3fb2726

View File

@@ -23,6 +23,10 @@ buildNpmPackage rec {
hash = "sha256-Vl6VPcwDrYAC4HWeY+6eWPl/2+Mw6fkScS5fsrLlWxw=";
};
# Prevent unrs-resolver's postinstall script from running,
# which tries to download binaries on exotic platforms and fails
npmRebuildFlags = [ "--ignore-scripts" ];
buildPhase = ''
runHook preBuild
npm run build