mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Update handling of the database
v2 reverted to using `emacsql-sqlite` instead of `emacsql-sqlite3`. It will now try to build the needed `sqlite3` executable by itself, using a C compiler that it can find, which is normally gcc or clang. Previously in v1 it would only check for `sqlite3` executable (using `executable-find`) and wouldn't do anything else.
This commit is contained in:
@ -5,10 +5,11 @@
|
||||
(unless (executable-find "gnuplot")
|
||||
(warn! "Couldn't find gnuplot. org-plot/gnuplot will not work")))
|
||||
|
||||
(when (featurep! +roam)
|
||||
(unless (executable-find "sqlite3")
|
||||
(warn! "Couldn't find the sqlite3 executable. org-roam will not work.")))
|
||||
(when (or (featurep! +roam)
|
||||
(featurep! +roam2))
|
||||
(unless (executable-find "sqlite3")
|
||||
(warn! "Couldn't find the sqlite3 executable. org-roam will not work."))
|
||||
(unless (executable-find "dot")
|
||||
(warn! "Couldn't find the dot executable (from graphviz). org-roam will not be able to generate graph visualizations.")))
|
||||
|
||||
|
Reference in New Issue
Block a user