Replace nixpacks.toml with railpack.toml for backend

✅ merged · #1 · LegalAIDev/mike ← LegalAIDev/mike · opened 27d ago by railway-app[bot] · merged 27d ago by LegalAIDev · self · +2-2 across 2 files · ↗ on GitHub

From the PR description

Problem

The backend build is failing because Railpack skips backend/nixpacks.toml (it only recognises its own railpack.toml format), then cannot detect the app type despite a valid package.json being present. The build logs show "skipping 'nixpacks.toml' at 'backend/nixpacks.toml' as it is not rooted at a valid path" followed by "Railpack could not determine how to build the app".

Solution

Deleted backend/nixpacks.toml so Railpack can fall through to its Node.js auto-detection via package.json, and created backend/railpack.toml that declares libreoffice under aptPackages - preserving the system dependency that was previously specified in the Nixpacks [phases.setup] block.

Changes

  • Deleted backend/nixpacks.toml
  • Created backend/railpack.toml

Generated by Railway

Our analysis

Switch backend builder from Nixpacks to Railpack — read the full analysis →

Think the analysis missed something the PR description covers?

Commits in this PR (1)

SHA Subject Author Date
8cda827d fix: replace backend/nixpacks.toml with railpack.toml for Railpack compatibility railway-app[bot] 2026-04-29 ↗ GitHub

Capture this PR into my fork

Download a Markdown prompt that tells Claude how to port every commit in this PR into your working tree. Run it via claude -p < capture-pull-1.md from inside the repo you want the changes in.

⬇ Download capture-pull-1.md