From 7eb3ae62d7a13f2ecd4781dc6635cc612abcb188 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 4 Jul 2018 21:08:23 +0200 Subject: [PATCH] Conditionally install os packages #741 Fixes an issue where exec-shell-from-path could not be installed on Linux or Windows. Doom used :ignore because, at the time, it supported a workflow where your Emacs config was shared over dropbox or rslsync across multiple computers. This workflow is no longer supported (it was very buggy!), so this is no longer necessary. :ignore should also be reserved for private use and not used internally. --- core/packages.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/packages.el b/core/packages.el index d640bcb90..4a15d5710 100644 --- a/core/packages.el +++ b/core/packages.el @@ -2,8 +2,9 @@ ;;; core/packages.el ;; core-os.el -(package! exec-path-from-shell :ignore (not IS-MAC)) -(package! osx-clipboard :ignore (not IS-MAC)) +(when IS-MAC + (package! exec-path-from-shell) + (package! osx-clipboard)) ;; core-ui.el (package! all-the-icons)