Check for sqlite before installing forge package

This commit is contained in:
Evie Litherland-Smith 2024-08-08 10:28:18 +01:00
parent a9079cc2e4
commit 9f2fd29aa3

View file

@ -1468,10 +1468,12 @@ Configure email with iCalendar event support, to integrate with
("\\`\\(?:sourcehut:\\|sh:\\)\\([^:]+\\)\\'" "git.sr.ht" "sourcehut.user") ("\\`\\(?:sourcehut:\\|sh:\\)\\([^:]+\\)\\'" "git.sr.ht" "sourcehut.user")
("\\`\\(?:gitea:\\|gt:\\)\\([^:]+\\)\\'" "git.xenia.me.uk" "gitea.user")))) ("\\`\\(?:gitea:\\|gt:\\)\\([^:]+\\)\\'" "git.xenia.me.uk" "gitea.user"))))
(when (or (package-installed-p 'emacsql-sqlite)
(package-installed-p 'emacsql-sqlite-builtin))
(add-to-list 'package-selected-packages 'forge) (add-to-list 'package-selected-packages 'forge)
(use-package forge (use-package forge
:if (package-installed-p 'forge) :if (package-installed-p 'forge)
:defer t) :defer t))
(when (executable-find "nix") (when (executable-find "nix")
(add-to-list 'package-selected-packages 'nix-mode) (add-to-list 'package-selected-packages 'nix-mode)