From c0287ca3a1e7168f016673c51668c1e764a0723b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 12 Sep 2019 19:20:17 +0200 Subject: Don't install mu on darwin; it's broken --- modules/user-interface.nix | 7 +++++-- packages/emacs.nix | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/modules/user-interface.nix b/modules/user-interface.nix index 660bb4c..7c2e31c 100644 --- a/modules/user-interface.nix +++ b/modules/user-interface.nix @@ -52,7 +52,6 @@ in python3Packages.keyring isync - unstable.mu msmtp html2text @@ -71,7 +70,11 @@ in signal-desktop trash-cli - ]; + ] ++ (if !stdenv.isDarwin + then [ + unstable.mu + ] + else []); nixpkgs.config.allowUnfree = true; diff --git a/packages/emacs.nix b/packages/emacs.nix index cebbb16..e0df78b 100644 --- a/packages/emacs.nix +++ b/packages/emacs.nix @@ -120,8 +120,8 @@ in ] else [ ])) ++ (with epkgs.elpaPackages; [ rainbow-mode - ]) ++ [ + ]) ++ (if !stdenv.isDarwin then [ # From main packages set pkgs.unstable.mu - ]) + ] else [])) -- cgit 1.4.1