diff options
author | Amin Bandali <amin@gnu.org> | 2018-08-24 14:26:12 -0400 |
---|---|---|
committer | Amin Bandali <amin@gnu.org> | 2018-08-24 14:26:12 -0400 |
commit | 0f3d4eb551c2fb3b69f3f3ecbdfda33c12d4e5e8 (patch) | |
tree | b4e5bbfaf20448b4ed4ec31dd98cf52e1d866ba7 | |
parent | 45f538b6f685a6dc2438cf64916494786c885f6e (diff) | |
download | configs-0f3d4eb551c2fb3b69f3f3ecbdfda33c12d4e5e8.tar.gz configs-0f3d4eb551c2fb3b69f3f3ecbdfda33c12d4e5e8.tar.xz configs-0f3d4eb551c2fb3b69f3f3ecbdfda33c12d4e5e8.zip |
[emacs] add borg-nix-shell and use it to build notmuch's build deps
- currently only works in regular emacs session and not via terminal:
https://github.com/emacscollective/borg/issues/78
- TODO: add support for guix environment
-rw-r--r-- | .gitmodules | 4 | ||||
-rw-r--r-- | init.org | 3 | ||||
m--------- | lib/borg-nix-shell | 0 |
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 @@ -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 |