-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Flakes UX: nix run: unusable with --store "{remote}"
#6317
Comments
Just a side remark, but you probably don’t want to have Maybe that could be solved by #5025 : If we’re able to differentiate the build store and the one used to store the final outputs, then you could do: nix run '.#flash-blueline-boot' \
--eval-store auto \
--build-store 'ssh-ng://[email protected]' \
--store auto \ # Would probably be the default
--override-input mobile-nixos "${HOME}/code/mobile-nixos" |
|
Huh, I missed all the replies here. I agree with @thufschmitt's assessment and appreciate the error message that was committed. Thank you! |
Describe the bug
I am trying to remove my devenv-driven bash scripts by instead wrapping these scripts into derivations and exposing them via nix run.
What I'd like to do is this:
But what I get is:
Despite:
This mirrors behavior of using
--store
in other scenarios where the remote built store path is not copied back.With
nix build
I can understand it, but notnix run
.nix version
The text was updated successfully, but these errors were encountered: