aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-04-10 22:47:04 +0200
committereldritch horrors <pennae@lix.systems>2024-04-11 13:36:04 +0000
commitadab839c98b8a03649d66323c89aa886e653050a (patch)
tree8f59fefda8e17bf7de211973b0d21c465890b84a /doc
parentf42678802cb4da188858164605783ba18ae370ea (diff)
manual: build docs with dummy envs
this was previously used because the macOS docs build would otherwise pull files out of the host nix store. or something. not sure about it Change-Id: I76b51eac1ebc5de5f00e2e4be086dd8db3eeb8e6
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/meson.build1
-rw-r--r--doc/manual/src/command-ref/meson.build1
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/manual/meson.build b/doc/manual/meson.build
index 28ff1f587..cfb6be36f 100644
--- a/doc/manual/meson.build
+++ b/doc/manual/meson.build
@@ -63,6 +63,7 @@ nix3_cli_json = custom_target(
command : [ nix, '__dump-cli' ],
capture : true,
output : 'nix.json',
+ env : nix_env_for_docs,
)
generate_manual_deps = files(
diff --git a/doc/manual/src/command-ref/meson.build b/doc/manual/src/command-ref/meson.build
index 6405ce685..03d5f0a9c 100644
--- a/doc/manual/src/command-ref/meson.build
+++ b/doc/manual/src/command-ref/meson.build
@@ -62,4 +62,5 @@ conf_file_md = custom_target(
experimental_features_shortlist_md,
],
output : 'conf-file.md',
+ env : nix_env_for_docs,
)