Skip to content

replace nixpacks with railpack#4

Draft
iloveitaly wants to merge 6 commits intomasterfrom
railpack
Draft

replace nixpacks with railpack#4
iloveitaly wants to merge 6 commits intomasterfrom
railpack

Conversation

@iloveitaly
Copy link
Copy Markdown
Owner

@iloveitaly iloveitaly commented Jul 14, 2025

  • in build.just replace all instances of nixpacks with rail pack
  • install railpack using curl -sSL https://railpack.com/install.sh | sh -s -- --bin-dir ~/.local/bin (don't use .local/bin on CI) and remove nixpacks install
  • railpack recommends not using the build command and instead just using it for planning https://railpack.com/guides/running-railpack-in-production. Use this approach instead.

Read the railpack documentation as many things have changed between nixpacks and railpack.

@iloveitaly iloveitaly requested a review from Copilot July 14, 2025 13:01
@iloveitaly iloveitaly marked this pull request as draft July 14, 2025 13:01
@iloveitaly iloveitaly review requested due to automatic review settings July 14, 2025 13:01
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Switch local build tooling from Nixpacks to Railpack by updating command invocations and flag syntax.

  • Changed direnv export flags from -e to --env to match Railpack’s CLI
  • Replaced nixpacks build with railpack build in the JS build command and updated metadata flags

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
just/direnv.just Updated jq transform to emit --env KEY=VALUE instead of -e
just/build.just Swapped nixpacks build for railpack build and updated metadata parameters
Comments suppressed due to low confidence (2)

just/build.just:16

  • [nitpick] The variable name NIXPACKS_BUILD_METADATA still references nixpacks; consider renaming it to RAILPACK_BUILD_METADATA to match the new tool and avoid confusion.
NIXPACKS_BUILD_METADATA := (

just/build.just:40

  • [nitpick] Rename JAVASCRIPT_NIXPACKS_BUILD_CMD to JAVASCRIPT_RAILPACK_BUILD_CMD to reflect the switch from nixpacks to railpack.
JAVASCRIPT_NIXPACKS_BUILD_CMD := "railpack build " + WEB_DIR + " " + \

- Switched all build commands and metadata from nixpacks to railpack for both Python and JavaScript images.
- Updated debugging and cleaning targets to reflect railpack usage instead of nixpacks.

Generated-by: aiautocommit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants