build: set XDG_CONFIG_HOME to /dummy too

This prevents the user's nix.conf from being mistakenly used during docs
generation.

Fixes #802

Change-Id: I23336b49a8aa2ddf92e803e573321383ea2e5e81
This commit is contained in:
Qyriad
2025-04-22 16:45:44 +00:00
parent 14055866dc
commit 7dbdd5bd0c
+1
View File
@@ -1,6 +1,7 @@
nix_env_for_docs = {
'HOME': '/dummy',
'NIX_CONF_DIR': '/dummy',
'XDG_CONFIG_HOME': '/dummy',
'NIX_SSL_CERT_FILE': '/dummy/no-ca-bundle.crt',
'NIX_STATE_DIR': '/dummy',
'NIX_CONFIG': 'cores = 0',