Skip to content
Snippets Groups Projects
Unverified Commit 21830cb0 authored by Eelco Dolstra's avatar Eelco Dolstra Committed by GitHub
Browse files

Merge pull request #4177 from knedlsepp/fix-NIX_CONFIG-doc

Fix the docs about the new NIX_CONFIG env var
parents e556a1be 7f60f48e
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ By default Nix reads settings from the following places: ...@@ -19,7 +19,7 @@ By default Nix reads settings from the following places:
and `XDG_CONFIG_HOME`. If these are unset, it will look in and `XDG_CONFIG_HOME`. If these are unset, it will look in
`$HOME/.config/nix.conf`. `$HOME/.config/nix.conf`.
- If `NIX_OPTIONS` is set, its contents is treated as the contents of - If `NIX_CONFIG` is set, its contents is treated as the contents of
a configuration file. a configuration file.
The configuration files consist of `name = The configuration files consist of `name =
......
...@@ -81,7 +81,7 @@ Most Nix commands interpret the following environment variables: ...@@ -81,7 +81,7 @@ Most Nix commands interpret the following environment variables:
Overrides the location of the system Nix configuration directory Overrides the location of the system Nix configuration directory
(default `prefix/etc/nix`). (default `prefix/etc/nix`).
- `NIX_OPTIONS` - `NIX_CONFIG`
Applies settings from Nix configuration from the environment. Applies settings from Nix configuration from the environment.
The content is treated as if it was read from a Nix configuration file. The content is treated as if it was read from a Nix configuration file.
Settings are separated by the newline character. Settings are separated by the newline character.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment