mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 22:30:25 +01:00
fix(home/base/gui/terminal/wezterm): failed to compile on x86_64-darwin
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user