all repos — nixfiles @ 741968bd77c35c19cda1d4c0e7d944992dfa9aad

System and user configuration, managed by nix and home-manager

Emacs: make certain packages macOS-specific

Alan Pearce
commit

741968bd77c35c19cda1d4c0e7d944992dfa9aad

parent

3a8c0f8a0386e0066dbec507e85d0b901f91e31c

1 file changed, 6 insertions(+), 2 deletions(-)

jump to
M packages/emacs.nixpackages/emacs.nix
@@ -9,6 +9,7 @@ postInstall = attrs.postInstall + ''
rm $out/share/applications/emacs.desktop ''; }); + stdenv = pkgs.stdenv; emacsWithPackages = (pkgs.emacsPackagesNgGen myEmacs).emacsWithPackages; in
@@ -44,7 +45,6 @@ evil-org
evil-quickscope evil-space evil-surround - exec-path-from-shell eyebrowse feature-mode flycheck
@@ -100,7 +100,11 @@ web-mode
wgrep-ag which-key yaml-mode - ]) ++ (with epkgs.elpaPackages; [ + ] ++ (if stdenv.isDarwin then [ + exec-path-from-shell + ns-auto-titlebar + ] else [ + ])) ++ (with epkgs.elpaPackages; [ rainbow-mode ]) ++ [ # From main packages set