mirror of
https://github.com/NixOS/nix
synced 2025-07-09 03:43:54 +02:00
nix env shell: Move from nix shell, add shorthand alias
This commit is contained in:
parent
98b85b2166
commit
c692f6af13
5 changed files with 114 additions and 77 deletions
12
doc/manual/rl-next/nix-env-shell.md
Normal file
12
doc/manual/rl-next/nix-env-shell.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
synopsis: "`nix env shell` is the new `nix shell`, and `nix shell` remains an accepted alias"
|
||||
issues: 10504
|
||||
prs: 10807
|
||||
---
|
||||
|
||||
This is part of an effort to bring more structure to the CLI subcommands.
|
||||
|
||||
`nix env` will be about the process environment.
|
||||
Future commands may include `nix env run` and `nix env print-env`.
|
||||
|
||||
It is also somewhat analogous to the [planned](https://github.com/NixOS/nix/issues/10504) `nix dev shell` (currently `nix develop`), which is less about environment variables, and more about running a development shell, which is a more powerful command, but also requires more setup.
|
Loading…
Add table
Add a link
Reference in a new issue