fix(home/base/gui/terminal/wezterm): failed to compile on x86_64-darwin

This commit is contained in:
Ryan Yin
2024-11-07 22:13:51 +08:00
parent 199aca18d1
commit 72b25cee70

View File

@@ -21,8 +21,11 @@
programs.wezterm = {
enable = true; # disable
# install wezterm via homebrew on macOS to avoid compilation, dummy package here.
package = pkgs.wezterm;
# install wezterm via homebrew on "x86_64-darwin" to avoid compilation, dummy package here.
package =
if pkgs.system == "x86_64-darwin"
then pkgs.hello
else pkgs.wezterm;
enableBashIntegration = pkgs.stdenv.isLinux;
enableZshIntegration = pkgs.stdenv.isLinux;