aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/command-ref/nix-env/env-common.md
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-02 16:21:38 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-02 16:21:38 -0400
commitb2c9315bf2ddda4d4c5ea5a49471114553ddff87 (patch)
tree8ec57641ed5253da2bd4f18d70bead6b080f8505 /doc/manual/src/command-ref/nix-env/env-common.md
parentd1d1ae7a3b97059af09dd5a5dde2e37ada0fddac (diff)
parent2ef99cd10489929a755831251c3fad8f3df2faeb (diff)
Merge remote-tracking branch 'upstream/master' into list-experimental-features
Diffstat (limited to 'doc/manual/src/command-ref/nix-env/env-common.md')
-rw-r--r--doc/manual/src/command-ref/nix-env/env-common.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/manual/src/command-ref/nix-env/env-common.md b/doc/manual/src/command-ref/nix-env/env-common.md
new file mode 100644
index 000000000..735817959
--- /dev/null
+++ b/doc/manual/src/command-ref/nix-env/env-common.md
@@ -0,0 +1,6 @@
+# Environment variables
+
+- `NIX_PROFILE`\
+ Location of the Nix profile. Defaults to the target of the symlink
+ `~/.nix-profile`, if it exists, or `/nix/var/nix/profiles/default`
+ otherwise.