Skip to content
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

Addition to nox <query>: Display package versions from all channels and display commands #95

Open
kamadorueda opened this issue Nov 8, 2020 · 0 comments

Comments

@kamadorueda
Copy link

As you may know there is no native way to know which nixpkgs commit should I install in order to have older versions of a package. This is because nix-env -qa usually offers 1 version (the latest). More about it here

So I think it would be awesome to embed into nox <query> the Nixpkgs Database so users can find all versions associated to a package and then add it to their projects easily, for instance $ nox nox can display information similar to this: https://kamadorueda.github.io/nixpkgs-db/#/pkg/nox (or display into console the data). The experience is up to us, please see below.

What I imagine is the best user experience possible is:

$ nox awscli

4 matching packages found:

0. awscli
1. awscli2
2. python27Packages.awscli
3. ....

Which package do you want to inspect? Please type the number
> 0

Available versions:

0. 1.9.6
1. 1.9.12
2. 1.7.47
3. ....

Which version do you want to install? Please type the number
> 1

Installing awscli @ 1.9.12

Done!

Let me know your thoughts !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant