Compare commits

..

2 commits

Author SHA1 Message Date
a0f4b8e3e7 feat: add sqlx-cli to shell.nix 2024-11-15 07:37:46 -08:00
832cc4ad33 feat: include DATABASE_URL in shell.nix 2024-11-15 07:14:36 -08:00
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
.DS_Store
/.cache
/node_modules
testing.db

View file

@ -6,7 +6,10 @@ mkShell rec {
nativeBuildInputs = [
pkg-config
openssl
# TODO: Figure out a better way to include sqlx only in dev shells (release shell?)
sqlx-cli
];
buildInputs = additionalBuildInputs;
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
DATABASE_URL = "sqlite:testing.db";
}