-
Notifications
You must be signed in to change notification settings - Fork 51
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
More convenient way to enable withIde from flake #168
Comments
@MangoIV do you have any opinion on how best to do this? |
it actually does, see this line: Line 59 in f324c9a
|
the pain here comes from not being able to be able to pass arguments to flake commands, that's why there's this I agree this is not nice, afaik it's worked on on the nix side of things but I can't estimate when that lands. |
fwiw I documented the use of Line 145 in f324c9a
Perhaps I should highlight this more prominently? |
I also thought about a flake template so that people can init a custom flake that takes their settings, but I haven't quite had a deep enough look into it. |
another way would be to generate all outputs but that would be quite the hack. |
The problem with
Even worse, as far as I'm aware, it's not even clear that there is upstream consensus that the status quo is even problematic (or, rather, that there is a solution that wouldn't do more harm than good). For this reason, I do wonder whether we wouldn't be better off offering
I agree; generating all outputs seems unnecessary. I think merely handling the common cases (for some value of "common") would be sufficient. CCing @Ericson2314 as I know he has thought about this and is quite involved on the nix side of things. |
if John Ericson doesn't know a good solution I can open a corresponding issue as an intermediate solution and also handle that, if you could perhaps tell what's most used in your experience, that would be great. |
For the record, I believe the relevant upstream issue is NixOS/nix#5663. This comment from Eelco makes me skeptical that an upstream solution is forthcoming. |
Currently the default
devShell
does not include HLS. I recommend that we either enable it by default or introduce another dev-shell (e.g.with-ide
ordev
) that does so.The text was updated successfully, but these errors were encountered: