Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Description
Fixes #32
This PR adds shells and packages for the
cargoworkspace andvscodeextension. Thenixosandhome-managermodules for thelsp-aipackage were included because the issuer requested to add this easily to theirhome-managerconfiguration.This is a WIP.
Additional work to be done and requests for help
The build for the
lsp-aipackage fails because the build foropenssl-sysfails and I haven't been able to fix it. Any help around this would be greatly appreciated.The
vscodeextension package needs to be modified to actually callesbuildbut IDK what would be the right approach for that. On the other side, I don't know if packaging it is even worthwhile because it already exists in thevscodemarketplace and thevscodeextensions flake most likely already picked it up so users can add it to their configuration through there.Possible regressions
cargo2nixmodified theCargo.lockfile. If this is a problem I will try and make it so it doesn't do that.node2nixwhich thevscodeextension flake uses requires thepackage-lock.jsonbe downgraded to version 2 but if that is not acceptable i will remove that flake. The reason why that flake is added is to "nixify" the whole repository and there is surely a way to package up thevscodeextension nicely so it can be added tovscodeextensionshome-managerconfiguration.Additional info
I use
direnvfor easily switching between environments in my shell so I added.envrcfiles. I hope this is not a problem.Some additional lines were added to
.gitignoreto ease development which are optional and could be removed if it is a problem. The.direnvfolder is only relevant if a developer usesdirenvandresultis the location wherenix buildsaves the results of builds by default so unless someone is testing the result ofnix buildit is not needed.