From 0527996e618c481db9f6a0c4ad337318656ba460 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Wed, 10 Apr 2024 22:47:04 +0200 Subject: [PATCH] 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 --- doc/manual/meson.build | 1 + doc/manual/src/command-ref/meson.build | 1 + 2 files changed, 2 insertions(+) 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, )