Skip to content

Commit

Permalink
gitstatus: fix darwin build
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
gador committed Dec 26, 2024
1 parent 2f93866 commit 5b8caa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/by-name/gi/gitstatus/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 $!
'';

Expand Down

0 comments on commit 5b8caa6

Please sign in to comment.