From 39e490f0d38ff8d99e35d39a30141c581a8fa8bd Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Tue, 8 Aug 2023 20:43:35 +0200 Subject: [PATCH] [emacs] Use org-roam from installed externally. --- conf/home/emacs.scm | 3 ++- emacs/.config/emacs/conf/conf-org.el | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/conf/home/emacs.scm b/conf/home/emacs.scm index 8581f11..581e650 100644 --- a/conf/home/emacs.scm +++ b/conf/home/emacs.scm @@ -129,7 +129,8 @@ (service home-program-service-type (home-program-configuration (packages - (list sqlite)) + (list emacs-org-roam + sqlite)) (dotfiles (list "emacs/.config/emacs/conf/conf-org.el"))))) diff --git a/emacs/.config/emacs/conf/conf-org.el b/emacs/.config/emacs/conf/conf-org.el index d9ed7e8..46026e1 100644 --- a/emacs/.config/emacs/conf/conf-org.el +++ b/emacs/.config/emacs/conf/conf-org.el @@ -74,7 +74,10 @@ This function runs `org-babel-load-file' on the current file." (use-package org-roam :when (conf:executables-p (list "sqlite3")) - :ensure t + ;; `org-roam' installed from elpa will try to compile the `sqlite3' binary + ;; which requires a C compiler and linux headers on the system. This may be + ;; problematic to configure. + :ensure nil :bind ("C-c rf" . org-roam-node-find) ("C-c rd" . org-id-get-create) -- 2.39.5