[bug#77574] .dir-locals.el: Add compile command.

Message ID fc4491ddc3c480d2373ae2d661b05b08a158c317.1743940605.git.gabrielsantosdesouza@disroot.org
State New
Headers
Series [bug#77574] .dir-locals.el: Add compile command. |

Commit Message

Gabriel Santos April 6, 2025, 11:56 a.m. UTC
  Change-Id: I461082926c3d2370bcdead4c75ec8d6c5508c12e
---

Simple compilation command that uses guix shell in case the user doesn't have
all of the necessary dependencies installed.

 .dir-locals.el | 1 +
 1 file changed, 1 insertion(+)


base-commit: 0e144a0da24a30f86c9fa33c3f3fcfd7ac6e21be
  

Patch

diff --git a/.dir-locals.el b/.dir-locals.el
index 76c9e12992..296f09bb97 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -4,6 +4,7 @@ 
   . ((fill-column . 78)
      (tab-width   .  8)
      (sentence-end-double-space . t)
+     (compile-command . "guix shell -D guix -CP -- make")
 
      ;; For use with 'bug-reference-prog-mode'.  Extra bug-reference
      ;; configuration should be done in your Emacs user configuration file;