cursorless-dev / vscode-parse-tree

Syntax trees for VSCode using tree-sitter
MIT License
40 stars 35 forks source link

Add flake for dev environment on nix #65

Open fidgetingbits opened 9 months ago

fidgetingbits commented 9 months ago

This is what I used to get a build environment working on nix, maybe not the best as I'm new to nix, but works.

fidgetingbits commented 9 months ago

fwiw I was looking into the next step of adding new language support and it made me remember you are using a monorepo for all of the different cursorless stuff, so it may make more sense to have one flake in the base that allows development for everything, but I'll look into it more.

fidgetingbits commented 9 months ago

Since this tool isn't included in the cursorless monrepo, could still add this flake if you decide you want them. Although as with the cursorless one, I'll need to remove node2nix from this one too. But will do it re-test another day. Also I removed the .envrc, so need to update the README to tweak the instructions still.

fidgetingbits commented 9 months ago

Actually now that we don't use the vendored web-tree-sitter, it simplifies stuff on nix, so don't need any of the instructions for development in the readme in the end. I've removed the other unneeded dependencies from the flake as well.

pokey commented 8 months ago

Fwiw we are now vendoring web-tree-sitter again 😅. See #69

auscompgeek commented 8 months ago

Well, if we can get everyone working on this on nix, we should resolve everyone's weird "it works on my machine" build issues related to node-gyp

pokey commented 5 months ago

just wanted to check this one wasn't waiting on a review from me

auscompgeek commented 5 months ago

Still waiting for steam-run to be removed from the dev shell packages.

fidgetingbits commented 5 months ago

Removed it

pokey commented 5 months ago

great. if @auscompgeek is happy I'm happy