nix and makefile stuff

This commit is contained in:
counterweight 2025-07-24 18:04:35 +02:00
parent 43448cd80b
commit 40d559a989
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
5 changed files with 78 additions and 1 deletions

View file

@ -21,7 +21,8 @@
];
shellHook = ''
export DATABASE_URL=postgres://app:app123@localhost:5432/app_db
export DATABASE_URL="postgres://${POSTGRES_APP_USER}:${POSTGRES_APP_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_APP_PORT}/${POSTGRES_APP_DB}"
export DW_DATABASE_URL="postgres://${POSTGRES_DW_USER}:${POSTGRES_DW_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_DW_PORT}/${POSTGRES_DW_DB}"
echo " Rust + PostgreSQL dev env ready"
'';
};