12345678910111213141516171819202122 |
- { buildNpmPackage }:
- buildNpmPackage {
- pname = "node-lsp";
- version = "0.0.0";
- src = ./.;
- dontNpmBuild = true;
- installPhase = ''
- mkdir -p "$out/lib"
- cp -r node_modules "$out/lib"
- mkdir -p "$out/bin"
- ln -s "$out/lib/node_modules/.bin/bash-language-server" "$out/bin"
- ln -s "$out/lib/node_modules/.bin/typescript-language-server" "$out/bin"
- ln -s "$out/lib/node_modules/.bin/vscode-eslint-language-server" "$out/bin"
- '';
- npmDepsHash = "sha256-8/NxYNqiyrFcEplP+PqCHvsRsnWdWDImYhMU6Mhqvqk=";
- }
|