Skip to content

Fix NIX_CONF_DIR description#13779

Merged
Mic92 merged 1 commit intoNixOS:masterfrom
vog:patch-1
Aug 17, 2025
Merged

Fix NIX_CONF_DIR description#13779
Mic92 merged 1 commit intoNixOS:masterfrom
vog:patch-1

Conversation

@vog
Copy link
Contributor

@vog vog commented Aug 17, 2025

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.

Motivation

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

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.
@xokdvium
Copy link
Contributor

This is in-line with what the build system is doing:

configdata_priv.set_quoted('NIX_CONF_DIR', sysconfdir / 'nix')

@Mic92 Mic92 merged commit f6db80a into NixOS:master Aug 17, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants