Disable VC while building

I don't actually need to run git for every file that is opened, and when I run
with ‘guix shell --pure’ it throws errors.
This commit is contained in:
Tom Willemse 2023-07-27 01:09:21 -07:00
parent 13a9b718b8
commit 0875226500
2 changed files with 8 additions and 2 deletions

View file

@ -1,6 +1,6 @@
build.mk: literate-build.org build.mk: literate-build.org
HOME=".emacs-local" emacs -quick -batch \ HOME=".emacs-local" emacs -quick -batch \
-eval "(package-initialize)" \ -eval "(setq vc-handled-backends nil)" \
-load ob-tangle \ -load ob-tangle \
-eval "(org-babel-tangle-file \"$<\"))" -eval "(org-babel-tangle-file \"$<\"))"

View file

@ -12,7 +12,7 @@ I specify that =build.mk= file should depend on /this/ file ({{{input-file}}}) a
#+begin_src makefile-gmake :tangle GNUmakefile #+begin_src makefile-gmake :tangle GNUmakefile
build.mk: literate-build.org build.mk: literate-build.org
HOME=".emacs-local" emacs -quick -batch \ HOME=".emacs-local" emacs -quick -batch \
-eval "(package-initialize)" \ -eval "(setq vc-handled-backends nil)" \
-load ob-tangle \ -load ob-tangle \
-eval "(org-babel-tangle-file \"$<\"))" -eval "(org-babel-tangle-file \"$<\"))"
#+end_src #+end_src
@ -215,6 +215,12 @@ Use HTML5 and all its fancy elements.
(setq org-html-doctype "html5") (setq org-html-doctype "html5")
#+end_src #+end_src
Disable VC. When I run this from a ~guix shell --pure~ I don't have git available and VC starts looking for it and throwing errors all over the place.
#+begin_src emacs-lisp
(setq vc-handled-backends nil)
#+end_src
** Projects ** Projects
Here come the actual projects. Here come the actual projects.