From 764f535f160c63f30c108e2fe20b624237cbbada Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 14 Oct 2024 18:06:08 +0200 Subject: build(.envrc): Set `sqlx`'s `DATABASE_URL` variable --- .envrc | 3 +++ 1 file changed, 3 insertions(+) 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" -- cgit 1.4.1