neovim-node-client: fix build on exotic platforms (#568053)

This commit is contained in:
Weijia Wang
2026-09-29 08:25:39 +00:00
committed by GitHub

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