mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 20:40:24 +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 = {
|
programs.wezterm = {
|
||||||
enable = true; # disable
|
enable = true; # disable
|
||||||
|
|
||||||
# install wezterm via homebrew on macOS to avoid compilation, dummy package here.
|
# install wezterm via homebrew on "x86_64-darwin" to avoid compilation, dummy package here.
|
||||||
package = pkgs.wezterm;
|
package =
|
||||||
|
if pkgs.system == "x86_64-darwin"
|
||||||
|
then pkgs.hello
|
||||||
|
else pkgs.wezterm;
|
||||||
|
|
||||||
enableBashIntegration = pkgs.stdenv.isLinux;
|
enableBashIntegration = pkgs.stdenv.isLinux;
|
||||||
enableZshIntegration = pkgs.stdenv.isLinux;
|
enableZshIntegration = pkgs.stdenv.isLinux;
|
||||||
|
|||||||
Reference in New Issue
Block a user