diff --git a/flake.nix b/flake.nix index 3b8fda0..039e989 100644 --- a/flake.nix +++ b/flake.nix @@ -193,7 +193,7 @@ ${ if cfg.phx.database.passwordFile != null then '' - DB_PASSWORD=$(cat ${cfg.phx.database.passwordFile}) + export DB_PASSWORD=$(cat ${cfg.phx.database.passwordFile}) export DATABASE_URL="postgresql://${cfg.phx.database.user}:$DB_PASSWORD@${cfg.phx.database.host}/${cfg.phx.database.name}" '' else ''