hqewrgoijp
This commit is contained in:
parent
44fd820e9b
commit
2394ed5d56
|
@ -107,11 +107,13 @@ Should make startup faster, taken from doom-emacs
|
||||||
|
|
||||||
(let (os-name (get-distro-or-os))
|
(let (os-name (get-distro-or-os))
|
||||||
(if (string= os-name "NixOS")
|
(if (string= os-name "NixOS")
|
||||||
(message "skipping use-package installation")
|
(message "skipping use-package installation"))
|
||||||
|
(if (os-name)
|
||||||
(unless (package-installed-p 'use-package)
|
(unless (package-installed-p 'use-package)
|
||||||
(progn
|
(progn
|
||||||
(package-refresh-contents)
|
(package-refresh-contents)
|
||||||
(package-install 'use-package)))))
|
(package-install 'use-package)))))
|
||||||
|
|
||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
(setq use-package-always-ensure t)
|
(setq use-package-always-ensure t)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
Loading…
Reference in a new issue