-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add support for flake syntax, like nixpkgs#hello
#27
Comments
Thanks for the issue! Yes, you're right that I will try to have a look at this next weekend (unless someone else beats me to it, of course :)) Little bit of technical detail, to future me or anyone else who'd like to work on it: For every parameter,
And I just checked, and that command also happily accepts flake inputs. The reason |
I just added 057dd63 to support flake references. It now simply passes the arguments to It still requires the store paths to be present on Nix store, which is also the behaviour of Let me know if it works for you, or feel free to reopen this issue if it doesn't :). PS: You can try it on the latest version via:
I'll cut a release after you try this & I fix a few more issues. Thanks again! |
Thanks a lot, tested it and it works well 👍 |
Hello, first of all: thanks for this tool, it's really nice to get some insight on a derivation :)
It's been some time that I switched completely to flakes, and recently I tried to run:
nix run unstable#python3.pkgs.ipython
which downloaded a lot of packages before working.
I wanted to get some insight with nix-tree and intuitively tried to do:
⚠️ but that didn't work, basically saying that it's not a store path.
nix-tree unstable#python3.pkgs.ipython
Would it be possible to add support for that?
The text was updated successfully, but these errors were encountered: