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:
parent
5ef733b488
commit
9e12873779
2 changed files with 31 additions and 6 deletions
|
@ -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.")))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue