summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.gitmodules4
-rw-r--r--init.org3
m---------lib/borg-nix-shell0
3 files changed, 7 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index 6f90e8d..e5a4bb5 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -16,6 +16,9 @@
[submodule "borg"]
path = lib/borg
url = git@github.com:emacscollective/borg.git
+[submodule "borg-nix-shell"]
+ path = lib/borg-nix-shell
+ url = git@github.com:thblt/borg-nix-shell.git
[submodule "closql"]
path = lib/closql
url = git@github.com:emacscollective/closql.git
@@ -130,6 +133,7 @@
url = https://git.notmuchmail.org/git/notmuch
load-path = emacs
info-path = doc/_build/texinfo
+ build-nix-shell-packages = pkgconfig gitMinimal xapian gmime talloc zlib pythonPackages.sphinx pythonPackages.python texinfo
build-step = ./configure
build-step = make
build-step = make sphinx-texinfo
diff --git a/init.org b/init.org
index e1a6686..51cd9ca 100644
--- a/init.org
+++ b/init.org
@@ -234,6 +234,9 @@ can then be managed with the help of Magit or other tools.
(require 'borg)
(borg-initialize)
+(require 'borg-nix-shell)
+(setq borg-build-shell-command 'borg-nix-shell-build-command)
+
(with-eval-after-load 'bind-key
(bind-keys
:package borg
diff --git a/lib/borg-nix-shell b/lib/borg-nix-shell
new file mode 160000
+Subproject 84dac9e821ea445a6b4542d021d3094b0c1e55d