fix thing
This commit is contained in:
parent
f78c9ebf67
commit
88798bef93
1 changed files with 5 additions and 8 deletions
|
@ -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 (shell-command-to-string "source /etc/os-release && echo $NAME") 0 -1)
|
||||||
(substring (car (cdr (process-exit-code-and-output "uname" "-o"))) 0 -1)))))
|
(substring (car (cdr (process-exit-code-and-output "uname" "-o"))) 0 -1)))))
|
||||||
|
|
||||||
(let (os-name (get-distro-or-os))
|
;; FIXME nixos overlay breaks this
|
||||||
(if (string= os-name "NixOS")
|
;; (unless (package-installed-p 'use-package)
|
||||||
(message "skipping use-package installation"))
|
;; (progn
|
||||||
(if (os-name)
|
;; (package-refresh-contents)
|
||||||
(unless (package-installed-p 'use-package)
|
;; (package-install 'use-package)))))
|
||||||
(progn
|
|
||||||
(package-refresh-contents)
|
|
||||||
(package-install 'use-package)))))
|
|
||||||
|
|
||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
(setq use-package-always-ensure t)
|
(setq use-package-always-ensure t)
|
||||||
|
|
Loading…
Reference in a new issue