railwayapp / nixpacks

App source + Nix packages + Docker = Image
https://nixpacks.com
MIT License
2.32k stars 220 forks source link

Update Bun version via newer NixPkgs archive commit hash #1099

Closed benjamint08 closed 1 month ago

benjamint08 commented 1 month ago

This PR changes one line in /src/providers/node/mod.rs which uses a newer NixPkgs commit hash which uses Bun 1.1.7. Nixpacks currently uses a much older commit hash which uses Bun 1.0 which lacks a LOT of features that 1.1.7 has that are needed for the apps I develop.

I was not able to run tests because I kept getting weird docker errors from Cargo- but Bun works fine:

image

Thanks to anyone that sees this.

coffee-cup commented 1 month ago

Thanks for the PR! However, closing in favour of https://github.com/railwayapp/nixpacks/pull/1106 which updates to the latest Bun and fixes a few related things. Once that is released you should have access to the latest Bun on Railway