diff options
author | Alan Pearce | 2019-09-12 19:20:17 +0200 |
---|---|---|
committer | Alan Pearce | 2019-09-12 19:20:17 +0200 |
commit | c0287ca3a1e7168f016673c51668c1e764a0723b (patch) | |
tree | 7ac99b0ad3832413cfcd9a1e573201b50ea90ad7 | |
parent | 84be4b98580bb5600f45253af5b5e093c97199f9 (diff) | |
download | nixos-configuration-c0287ca3a1e7168f016673c51668c1e764a0723b.tar.lz nixos-configuration-c0287ca3a1e7168f016673c51668c1e764a0723b.tar.zst nixos-configuration-c0287ca3a1e7168f016673c51668c1e764a0723b.zip |
Don't install mu on darwin; it's broken
-rw-r--r-- | modules/user-interface.nix | 7 | ||||
-rw-r--r-- | 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 [])) |