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

Rename 'nix dev-shell' to 'nix develop' #3648

Closed
edolstra opened this issue Jun 2, 2020 · 4 comments
Closed

Rename 'nix dev-shell' to 'nix develop' #3648

edolstra opened this issue Jun 2, 2020 · 4 comments
Assignees
Labels
new-cli Relating to the "nix" command UX The way in which users interact with Nix. Higher level than UI.

Comments

@edolstra
Copy link
Member

edolstra commented Jun 2, 2020

This was suggested by @garbas. nix develop is shorter and more memorable than nix dev-shell.

@edolstra edolstra added improvement UX The way in which users interact with Nix. Higher level than UI. new-cli Relating to the "nix" command labels Jun 2, 2020
@edolstra edolstra self-assigned this Jun 2, 2020
@Mic92
Copy link
Member

Mic92 commented Jul 18, 2020

Should the flake output also be renamed from devShell to something like developPackages or develop? Otherwise it looks not very consistent.

@zimbatm
Copy link
Member

zimbatm commented Jul 20, 2020

And should nix print-dev-env also be renamed? Or maybe add --print-env to each of the commands?

@edolstra
Copy link
Member Author

Or maybe add --print-env to each of the commands?

No, in the new UI we should use subcommands instead of flags that completely change the meaning of a command (e.g. nix eval instead of nix-instantiate --eval).

@zimbatm
Copy link
Member

zimbatm commented Jul 20, 2020

I agree, and also think that in this case it could be considered as switching the output format?

nix develop --format=bash-env

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 UX The way in which users interact with Nix. Higher level than UI.
Projects
None yet
Development

No branches or pull requests

3 participants