-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
angular-language-server: init at 18.2.0 #343326
base: master
Are you sure you want to change the base?
Conversation
Thanks for your first contribution! It's a general consensus on
|
|
that would be fine
You can continue this PR but it must be force pushed. We want a cleanish history. |
1a7182a
to
0187f02
Compare
Reopening PR as it's been packaged as a derivation with |
cda731e
to
3210448
Compare
3210448
to
ecd49ec
Compare
buildPhase = '' | ||
runHook preBuild | ||
|
||
tsc -b && yarn bazel build :npm | ||
|
||
runHook postBuild | ||
''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
buildPhase = '' | |
runHook preBuild | |
tsc -b && yarn bazel build :npm | |
runHook postBuild | |
''; | |
yarnBuildScript = "compile"; |
Assuming this would work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oddly, using the yarnBuildHook and package.json script directly results in yarn attempting to install bazel on my machine. Explicitly doing the command instead of the equivalent script does not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's because bazel isn't even run:
/nix/store/91d27rjqlhkzx7mhzxrir1jcr40nyc7p-stdenv-linux/setup: line 1709: tsc: command not found
yarnConfigHook | ||
yarnInstallHook |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yarnConfigHook | |
yarnInstallHook | |
yarnConfigHook | |
yarnBuildHook | |
yarnInstallHook |
ecd49ec
to
e7eea4f
Compare
e7eea4f
to
e74c9af
Compare
7d48200
to
57047e0
Compare
57047e0
to
c8f25c6
Compare
''; | ||
|
||
meta = { | ||
description = "Lsp for angular completions, AOT diagnostic, quick info and go to definitions"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description = "Lsp for angular completions, AOT diagnostic, quick info and go to definitions"; | |
description = "LSP for angular completions, AOT diagnostic, quick info and go to definitions"; |
buildPhase = '' | ||
runHook preBuild | ||
|
||
tsc -b && yarn bazel build :npm | ||
|
||
runHook postBuild | ||
''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's because bazel isn't even run:
/nix/store/91d27rjqlhkzx7mhzxrir1jcr40nyc7p-stdenv-linux/setup: line 1709: tsc: command not found
Description of changes
Adds the angular language server for neovim, emacs, and eclipse users managing their own lsps via extraPackages.
homepage: https://github.com/angular/vscode-ng-language-service#readme
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.