Unverified Commit 895773c5 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

neovim-node-client: build all workspaces (#380018)

parents 8b6ca92f 41aac754
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -20,12 +20,11 @@ buildNpmPackage rec {
    inherit src;
    hash = "sha256-VYoJAi1RzVf5ObjuGmnuiA/1WYBWC+qYPdfWF98+oGw=";
  };
  npmWorkspace = "packages/neovim";

  postInstall = ''
    mkdir -p $out/bin
    # Overwrite the unwanted wrapper created by buildNpmPackage
    ln -sf $out/lib/node_modules/neovim/bin/cli.js $out/bin/neovim-node-host
  buildPhase = ''
    runHook preBuild
    npm run build
    runHook postBuild
  '';

  meta = {