-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Allow evaluating local flakes directly #4772
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Currently, when you do something like
nix build .#hello
inside a local Nixpkgs checkout, the entire needs to be dumped into the Nix store.That takes quite a while even on an SSD and wastes erase cycles too.
This behaviour is especially problematic in combination with bash completion as it calls nix for everything separately. Bash completion is unusable with local flakes.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Local flakes should be evaluable directly just like regular local Nix expressions are.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
The state of the directory could at least be cached but that's not a great solution.
Additional context
Add any other context or screenshots about the feature request here.
https://discourse.nixos.org/t/troubles-adopting-the-new-nix/12870
The text was updated successfully, but these errors were encountered: