From 1d7ac6603c8b23575b4cad1e42bbcd31455c6c65 Mon Sep 17 00:00:00 2001 From: Volker Diels-Grabsch Date: Sun, 17 Aug 2025 17:28:46 +0200 Subject: [PATCH] Fix NIX_CONF_DIR description Fix description of `NIX_CONF_DIR`. It currently say that it defaults to `prefix/etc/nix`, which would mean `/nix/etc/nix` on default installations, and contradicts the description in `conf-file-prefix.md`. This fix makes the description of `NIX_CONF_DIR` consistent with `conf-file-prefix.md`, assuming that the latter is correct. --- doc/manual/source/command-ref/env-common.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual/source/command-ref/env-common.md b/doc/manual/source/command-ref/env-common.md index ee3995111..e0fd2b00e 100644 --- a/doc/manual/source/command-ref/env-common.md +++ b/doc/manual/source/command-ref/env-common.md @@ -75,7 +75,7 @@ Most Nix commands interpret the following environment variables: - [`NIX_CONF_DIR`](#env-NIX_CONF_DIR) Overrides the location of the system Nix configuration directory - (default `prefix/etc/nix`). + (default `sysconfdir/nix`, i.e. `/etc/nix` on most systems). - [`NIX_CONFIG`](#env-NIX_CONFIG)