aws-cloudformation-languageserver: init at 1.7.0#489310
Conversation
|
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/6506 |
SuperSandro2000
left a comment
There was a problem hiding this comment.
Why are we not building the software from source?
This is the method documented in the Thanks for the review! I'll incorporate your suggestions into this PR |
1e3d9fd to
fbf5f72
Compare
|
I've incorporated all of the suggested changes, it builds and the update script still runs. Let me know if there's anything else you'd like me to change, thanks again! 🙏 |
fbf5f72 to
7a447ef
Compare
Yeah, because building it from source for the average consumer is probably a bit overkill and takes a bit to long, but we, as the distro, could do it, right? Can you try that? If it doesn't work out we can keep the binary download but I think we should really try it at least. |
7a447ef to
80a13ca
Compare
That makes sense to me, I'll give it an effort to build from source as part of the derivation and keep you posted |
80a13ca to
90589cf
Compare
|
The current commit has a build-from-source approach. The upstream project build involves a webpack config that tries to run its own I've tested the build and it still seems to function on my macos and nixos machines, verified with my neovim config running it (if we're happy with the from-source approach I'll remove the |
|
@SuperSandro2000 I don't mean to bug you, are you able to continue reviewing this? |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/6808 |
93ed47e to
2c31944
Compare
|
Fixed the |
2c31944 to
7c997ec
Compare
66db536 to
1c96c08
Compare
|
Updated to CloudFormation LanguageServer 1.7.0, rebased |
4183807 to
d655cf8
Compare
|
Per a review I've gotten on a separate PR:
updating this package to use |
d655cf8 to
f7495d0
Compare
This inits aws-cloudformation-languageserver at version 1.4.0 (latest as of creating this PR).
The AWS CloudFormation LanguageServer is an LSP server that works on CloudFormation files. I've been using this (packaged almost identically) in my personal Neovim configuration successfully.
Other notes:
node /path/to/install-location/cfn-lsp-server-standalone.js --stdio. This derivation usesmakeWrapperto use node fromnixpkgsto run thecfn-lsp-server-standalone.jsfile.update.shscript to update thesources.jsonthat thepackage.nixuses to pass the hashes intofetchzipand version tomkDerivation, etc. I've pointedpassthru.updateScriptto it too.This is my first new package contribution, if I'm missing anything I'm more than happy to receive any feedback!
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.