mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 23:06:16 +02:00
eb7d7780b1
This is needed to avoid this https://github.com/mesonbuild/meson/issues/13774 when we go back to making our subproject directory `src`.
26 lines
467 B
Markdown
26 lines
467 B
Markdown
# Name
|
|
|
|
`nix-env --switch-profile` - set user environment to given profile
|
|
|
|
# Synopsis
|
|
|
|
`nix-env` {`--switch-profile` | `-S`} *path*
|
|
|
|
# Description
|
|
|
|
This operation makes *path* the current profile for the user. That is,
|
|
the symlink `~/.nix-profile` is made to point to *path*.
|
|
|
|
{{#include ./opt-common.md}}
|
|
|
|
{{#include ../opt-common.md}}
|
|
|
|
{{#include ./env-common.md}}
|
|
|
|
{{#include ../env-common.md}}
|
|
|
|
# Examples
|
|
|
|
```console
|
|
$ nix-env --switch-profile ~/my-profile
|
|
```
|