aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFabian Möller <fabianm88@gmail.com>2020-11-23 17:40:17 +0100
committerFabian Möller <fabianm88@gmail.com>2020-11-23 17:40:17 +0100
commit5b0790355fe10b5cdc2468928a7cb4703cd0861a (patch)
tree02ee362f6290274718f1e56dd2844412a0cea42d /tests
parent1973669e868f4414b666d0fbd34f1a7a87322ae9 (diff)
Fix macOS sandbox build
Since c4c3c15c19bc448a4797e5d9577539cc14890618 (#4251) building Nix for macOS with sandboxing fails: ``` getting status of /nix/var/nix/profiles/per-user/root/channels/nixpkgs: Operation not permitted ``` This happens, because `EvalSettings::getDefaultNixPath` tries to access paths outside the sandbox. Since the state-dir is not required for doc generation, it is set to the dummy folder. This needs to be done for all nix invocations during doc generation, as `EvalSettings::getDefaultNixPath` is called unconditionally.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions