fix typos and wording

This commit is contained in:
Valentin Gagarin 2023-04-26 11:01:12 +02:00
parent 9d386fe2ee
commit 7770d82240
2 changed files with 3 additions and 5 deletions

View file

@ -14,8 +14,7 @@ A profile is a directory of symlinks to files in the Nix store.
> `nix profile` is experimental. > `nix profile` is experimental.
> Once you have used `nix profile` you can no longer use `nix-env` without first deleting `$XDG_STATE_HOME/nix/profiles/profile` > Once you have used `nix profile` you can no longer use `nix-env` without first deleting `$XDG_STATE_HOME/nix/profiles/profile`
Once you installed a package with `nix profile`, you get the following Once you installed a package with `nix profile`, you get the following error message when using `nix-env`:
error message when using `nix-env`:
```console ```console
$ nix-env -f '<nixpkgs>' -iA 'hello' $ nix-env -f '<nixpkgs>' -iA 'hello'
@ -27,7 +26,7 @@ To migrate back to `nix-env` you can delete your current profile:
> **Warning** > **Warning**
> >
> This will delete packages that have been installed before, so you may want to back this information before running the command. > This will delete packages that have been installed before, so you may want to back up this information before running the command.
```console ```console
$ rm -rf "${XDG_STATE_HOME-$HOME/.local/state}/nix/profiles/profile" $ rm -rf "${XDG_STATE_HOME-$HOME/.local/state}/nix/profiles/profile"
@ -207,7 +206,7 @@ Used by [`nix-env`]. Here is an example of how this file might look like after i
Each element in this list corresponds to an installed package. Each element in this list corresponds to an installed package.
It incorporates some attributes of the original package derivation, including `meta`, `name`, `out`, `outPath`, `outputs`, `system`. It incorporates some attributes of the original package derivation, including `meta`, `name`, `out`, `outPath`, `outputs`, `system`.
This is used by Nix for querying and updating the package. This information is used by Nix for querying and updating the package.
### `manifest.json` ### `manifest.json`

View file

@ -52,7 +52,6 @@ The list of subscribed channels is stored in `~/.nix-channels`.
{{#include ./env-common.md}} {{#include ./env-common.md}}
# Examples # Examples
To subscribe to the Nixpkgs channel and install the GNU Hello package: To subscribe to the Nixpkgs channel and install the GNU Hello package: