about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.envrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.envrc b/.envrc
index 493fa32..0d242f2 100644
--- a/.envrc
+++ b/.envrc
@@ -12,9 +12,12 @@
 
 use flake
 
+root="$(git rev-parse --show-toplevel)"
+
 PATH_add ./target/debug
 PATH_add ./target/release
 PATH_add ./target/profiling
 PATH_add ./python_update
 
 export PYO3_PYTHON=python3
+export DATABASE_URL="sqlite://$root/target/database.sqlite"