From 0c7f7c3a2244cb4c0ce739d4515581c63e453f0e Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Sun, 12 Jan 2025 15:12:17 -0800 Subject: [PATCH] dev: fix local dev database setup --- .lazy.lua | 2 +- shell.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.lazy.lua b/.lazy.lua index 76f5522..5cbcd69 100644 --- a/.lazy.lua +++ b/.lazy.lua @@ -1,5 +1,5 @@ vim.g.dbs = { - dev = "sqlite:testing.db", + dev = "sqlite:.cache/data", } return {} diff --git a/shell.nix b/shell.nix index f86e111..20ba25c 100644 --- a/shell.nix +++ b/shell.nix @@ -22,4 +22,5 @@ mkShell rec { ] ++ additionalBuildInputs; LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs; DATABASE_URL = "sqlite://.cache/data"; + CACHE_DIR = "./.cache"; }