From 88798bef93b516c2d35c9fb3db1f7a20d3f963de Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Thu, 28 Dec 2023 18:57:10 +0400 Subject: [PATCH] fix thing --- config/emacs/emacs.org | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index a582f596..3268cd99 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -105,14 +105,11 @@ Should make startup faster, taken from doom-emacs (substring (shell-command-to-string "source /etc/os-release && echo $NAME") 0 -1) (substring (car (cdr (process-exit-code-and-output "uname" "-o"))) 0 -1))))) - (let (os-name (get-distro-or-os)) - (if (string= os-name "NixOS") - (message "skipping use-package installation")) - (if (os-name) - (unless (package-installed-p 'use-package) - (progn - (package-refresh-contents) - (package-install 'use-package))))) + ;; FIXME nixos overlay breaks this + ;; (unless (package-installed-p 'use-package) + ;; (progn + ;; (package-refresh-contents) + ;; (package-install 'use-package))))) (require 'use-package) (setq use-package-always-ensure t)