···30 patches = [
31 # fix location of timezone data for TZ= completion
32 ./tz_completion.patch
000000033 ];
3435 strictDeps = true;
···30 patches = [
31 # fix location of timezone data for TZ= completion
32 ./tz_completion.patch
33+ # Fixes configure misdetection when using clang 16, resulting in broken subshells on Darwin.
34+ # This patch can be dropped with the next release of zsh.
35+ (fetchpatch {
36+ url = "https://github.com/zsh-users/zsh/commit/ab4d62eb975a4c4c51dd35822665050e2ddc6918.patch";
37+ hash = "sha256-nXB4w7qqjZJC7/+CDxnNy6wu9qNwmS3ezjj/xK7JfeU=";
38+ excludes = [ "ChangeLog" ];
39+ })
40 ];
4142 strictDeps = true;