mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 17:16:15 +02:00
parent
5e3f855526
commit
8df6f7bb0f
3 changed files with 4 additions and 4 deletions
|
@ -70,7 +70,7 @@ $ nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
|
||||||
|
|
||||||
# Files
|
# Files
|
||||||
|
|
||||||
- `/nix/var/nix/profiles/per-user/username/channels`\
|
- `${XDG_STATE_HOME-$HOME/.local/state}/nix/profiles/channels`\
|
||||||
`nix-channel` uses a `nix-env` profile to keep track of previous
|
`nix-channel` uses a `nix-env` profile to keep track of previous
|
||||||
versions of the subscribed channels. Every time you run `nix-channel
|
versions of the subscribed channels. Every time you run `nix-channel
|
||||||
--update`, a new channel generation (that is, a symlink to the
|
--update`, a new channel generation (that is, a symlink to the
|
||||||
|
@ -79,7 +79,7 @@ $ nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
|
||||||
|
|
||||||
- `~/.nix-defexpr/channels`\
|
- `~/.nix-defexpr/channels`\
|
||||||
This is a symlink to
|
This is a symlink to
|
||||||
`/nix/var/nix/profiles/per-user/username/channels`. It ensures that
|
`${XDG_STATE_HOME-$HOME/.local/state}/nix/profiles/channels`. It ensures that
|
||||||
`nix-env` can find your channels. In a multi-user installation, you
|
`nix-env` can find your channels. In a multi-user installation, you
|
||||||
may also have `~/.nix-defexpr/channels_root`, which links to the
|
may also have `~/.nix-defexpr/channels_root`, which links to the
|
||||||
channels of the root user.
|
channels of the root user.
|
||||||
|
|
|
@ -493,7 +493,7 @@ depends on `svn`:
|
||||||
$ nix-store -q --roots $(which svn)
|
$ nix-store -q --roots $(which svn)
|
||||||
/nix/var/nix/profiles/default-81-link
|
/nix/var/nix/profiles/default-81-link
|
||||||
/nix/var/nix/profiles/default-82-link
|
/nix/var/nix/profiles/default-82-link
|
||||||
/nix/var/nix/profiles/per-user/eelco/profile-97-link
|
/home/eelco/.local/state/nix/profiles/profile-97-link
|
||||||
```
|
```
|
||||||
|
|
||||||
# Operation `--add`
|
# Operation `--add`
|
||||||
|
|
|
@ -11,7 +11,7 @@ R""(
|
||||||
* Upgrade Nix in a specific profile:
|
* Upgrade Nix in a specific profile:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
# nix upgrade-nix -p /nix/var/nix/profiles/per-user/alice/profile
|
# nix upgrade-nix -p ~alice/.local/state/nix/profiles/profile
|
||||||
```
|
```
|
||||||
|
|
||||||
# Description
|
# Description
|
||||||
|
|
Loading…
Reference in a new issue