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

Move nix show-derivation under subcommands #7903

Closed
Ericson2314 opened this issue Feb 24, 2023 · 1 comment
Closed

Move nix show-derivation under subcommands #7903

Ericson2314 opened this issue Feb 24, 2023 · 1 comment
Labels
new-cli Relating to the "nix" command store Issues and pull requests concerning the Nix store

Comments

@Ericson2314
Copy link
Member

As @roberth points out in #7887 (comment) nix add-derivation somewhat forces this issue.

I suggest we have

  • nix plan show: new name for nix show-derivation
  • nix plan add: instead of a new nix add-derivation
  • nix plan execute: like nix build but argument must be a derivation to build, and nix get being the other one where the argument is the thing you want to get, not how to get it

For background on nix get, see #7600 and its discussion.

@roberth roberth added new-cli Relating to the "nix" command store Issues and pull requests concerning the Nix store labels Mar 16, 2023
@Ericson2314
Copy link
Member Author

#7887 (comment) puts add and show under nix derivation. I am not sure that is the final location we'll want them, but that is good for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-cli Relating to the "nix" command store Issues and pull requests concerning the Nix store
Projects
None yet
Development

No branches or pull requests

2 participants