gitstatus: fix darwin build

On darwin with sandbox disabled the system-wide zsvenv will get sourced
first and will fail the installCheckPhase with
"zsh compinit: insecure directories, run compaudit for list."

By using `-d` this will be prevented.

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
2024-12-26 07:18:36 +01:00
parent 2f93866f8b
commit 5b8caa6cc6
+1 -1
View File
@@ -111,7 +111,7 @@ stdenv.mkDerivation rec {
# run zsh as a full-fledged independent process and then wait for it to
# exit. (The "exit" statements in the zshrc ensure that zsh will exit
# almost immediately after starting.)
ZDOTDIR=. zsh -i &
ZDOTDIR=. zsh -d -i &
wait $!
'';