diff --git a/Formula/z/zim.rb b/Formula/z/zim.rb index e263b08546b99..1e6e0fa69271c 100644 --- a/Formula/z/zim.rb +++ b/Formula/z/zim.rb @@ -61,7 +61,8 @@ def install end test do - ENV["LC_ALL"] = "en_US.UTF-8" + # Workaround for https://github.com/zim-desktop-wiki/zim-desktop-wiki/issues/2665 + ENV["LC_ALL"] = (OS.mac? && MacOS.version >= :sequoia) ? "C" : "en_US.UTF-8" ENV["LANG"] = "en_US.UTF-8" mkdir_p %w[Notes/Homebrew HTML]