about summary refs log tree commit diff
path: root/users/aspen/emacs.d/nix-clangd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'users/aspen/emacs.d/nix-clangd.sh')
-rwxr-xr-xusers/aspen/emacs.d/nix-clangd.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/users/aspen/emacs.d/nix-clangd.sh b/users/aspen/emacs.d/nix-clangd.sh
new file mode 100755
index 000000000000..16f6252d8b27
--- /dev/null
+++ b/users/aspen/emacs.d/nix-clangd.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+CLANGD_FLAGS=--compile-commands-dir=/home/grfn/builds/tvix \
+    nix-shell /home/grfn/code/depot \
+    -A third_party.nix \
+    --run nix-clangd