a year ago
Description of the issue:
Build is failing during the Nixpacks setup phase
Error occurs when trying to install PostgreSQL development packages
Multiple nixpacks.toml configurations attempted without success
Error message:
error: attribute 'dev' missing
at /app/.nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix:19:31:
gcc gcc postgresql15 postgresql16.dev python39 python39
Build/Deploy logs:
[Attached full error log from previous deployment]
Current configuration:
nixpacks.toml setup:
Using Python 3.9
PostgreSQL integration
Basic gcc compiler
Environment:
Railway deployment platform
PostgreSQL addon enabled
Custom start command: "alembic upgrade head && uvicorn app.main:app --host 0.0.0.0 --port 8080"
Attempted solutions:
Modified nixpacks.toml with various PostgreSQL package combinations
Added system-level dependencies through aptPkgs
Tried different PostgreSQL version specifications
GitHub repo/code:
[Your repository URL here]
ⓘ Deployment information is only viewable by project members and Railway employees.
0 Replies