-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
[Feature]: Support Flake and nix develop #53
Comments
Yes! This would be awesome! I just moved all my projects over to flakes, but this has been holding me back... |
What would be needed for this? I didn't look into how this extension works, but I believe a hacky solution would be using |
Just to be clear, if I create a |
It works already if you create the |
@arrterian I'd happily sponsor work that would result in this being implemented, do you think that could be arranged? |
I will pledge $20 worth of Monero if that means anything : ) |
Some notes: Implementation wise, for covering This file seems to roughly take the output of The nix flake equivalent For covering The setting name |
If anyone is looking for a workaround: https://github.com/srid/haskell-template uses EDIT: It no longer uses flake-compat, and |
For another workaround, consider using nix-direnv and its appropriate vscode extension too - it seems to work with |
@kubukoz wdym the appropriate vscode extension? The direnv one? So no need for this one? |
@mimoo yeah, I'm using this one: https://marketplace.visualstudio.com/items?itemName=Rubymaniac.vscode-direnv |
This one's being maintained actively: https://marketplace.visualstudio.com/items?itemName=mkhl.direnv |
Is your feature request related to a problem? Please describe.
Selecting a flake.nix file from the environment selector dropdown currently doesn't work (the "Applying environment..." status keeps spinning).
Describe the solution you'd like
Compatibility with the newer
nix develop
shell.Describe alternatives you've considered
It's possible to create a
shell.nix
file that provides a compatibility layer, however I thin kit doesn't benefit from the performance improvements withnix develop
:The text was updated successfully, but these errors were encountered: