-
-
Notifications
You must be signed in to change notification settings - Fork 54
nh <cmd> repl
does not work
#237
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
Comments
Indeed. Maybe autoconfiguring the child nix process is debatable, but at least nh should show a warning. |
I'm looking at adding this in, is running |
Yeah, I was thinking the same. It shouldn't add much overhead, and there's no need to parse the whole json, just what we need |
So there seems to be an issue with this approach: I am running Lix 2.92 and they seem to have changed the command to return a bit enum of the experimental features, while Lix <2.92 and Nix just return an array of the enabled features. |
After further consideration, I don't think that it is worth it to add a check within the code, maybe some sort of FAQ entry about this is the best approach? |
It seems that on Lix version 2.92 (not sure if this occurs before), any of the
repl
commands do not work. This is because to use a flake in the repl loadable, you need the experimental featurerepl-flake
. This requirement is not mentioned anywhere. I think that it should either inform the user that that feature is needed or just pass the experimental feature itself.The text was updated successfully, but these errors were encountered: