diff options
| author | Léo Gaspard <leo@gaspard.io> | 2018-10-21 18:33:41 +0900 |
|---|---|---|
| committer | Léo Gaspard <leo@gaspard.io> | 2018-10-21 18:33:41 +0900 |
| commit | 4dd17aeef3ee8db115690c23243bb4510ff416de (patch) | |
| tree | 71d10cfb165fb4330715712295d389add2205e1c | |
| parent | 7c0053ea27fcbf116d7e1ba9d1c538ee8c70f7a9 (diff) | |
add org-notmuch install instructions for NixOS
| -rw-r--r-- | emacstips.mdwn | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/emacstips.mdwn b/emacstips.mdwn index 7d8b5d0..47f53e5 100644 --- a/emacstips.mdwn +++ b/emacstips.mdwn @@ -718,6 +718,13 @@ In Debian and derivatives, (add-to-list 'load-path "/usr/share/org-mode/lisp") +In NixOS, using `emacsWithPackages (epkgs: [ epkgs.orgPackages.org-plus-contrib ])`, + + (loop for p in load-path + do (if (file-accessible-directory-p p) + (let ((m (directory-files-recursively p "^org-notmuch.el$"))) + (if m (add-to-list 'load-path (file-name-directory (car m))))))) + Then (require 'org-notmuch) |
