diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 1939e87b..82de6a87 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -95,10 +95,14 @@ Should make startup faster, taken from doom-emacs (package-initialize) - (unless (package-installed-p 'use-package) - (progn - (package-refresh-contents) - (package-install 'use-package))) + (if (executable-find "nix") + (message "skipping use-package install") + (else + (unless (package-installed-p 'use-package) + (progn + (package-refresh-contents) + (package-install 'use-package))) + )) (require 'use-package) (setq use-package-always-ensure t)