mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 03:39:59 +00:00
neovim-node-client: fix build on exotic platforms
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user