ligo/tools/lsp/vscode-plugin/default.nix

14 lines
236 B
Nix

{ buildNpmPackage, squirrel }:
buildNpmPackage {
src = ./.;
npmBuild = ''
mkdir bin
cp ${squirrel}/bin/squirrel ./bin/squirrel
npm run compile
npm run package
'';
installPhase = "mkdir $out; cp *.vsix $out";
}