-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Implement nh profile
#51
Comments
Would you be interested in contributions regarding this? I agree that I've been thinking about re-writing Ideally, I would like to be able to provide a seamless transition between the imperative interface of The two options would be:
Please let me know you thoughts. |
Hey! Thank you very much for the interest! I have to admit that this issue was in the bottom of my mental stack. As always, one thing leads to another, and I wanted to finish other projects before looking into this. I also saw that some of the fixes (- I believe around nix 2.20) that are good enough for what I wanted to do with activation-manager, so I also thought I'd gladly accept contributions. (Be advised that nh's codebase is a bit rough around the edges). Adding subcommands is just adding a new enum variant to interface.rs, and implementing But is there any reason you would want to implement this in nh, instead of writing your own standalone CLI tool? |
My main motivation was discoverability. The ecosystem is very fractured because many tiny tools exist for different purposes, and it takes a long time to find all the useful ones that really make the user journey pleasant. It seems to me like the idea of nh is to incorporate multiple of those into one interface. Though I guess if that is the case, there would be no harm in me making this separately and integrating it here once it's actually mature enough. Activation-manager looks like a very cool solution as well, though, I'll check it out! |
Feel free to iterate here in nh then! Since your other comment, I've been thinking about that idea of having a mechanism to bridge the imperative world (
Most of what I want for AM is still on my head though, the actual code in the repo doesn't reflect that... |
nix profile
is so bad, potentially could benh pkg
instead?The text was updated successfully, but these errors were encountered: