railwayapp / nixpacks

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

Force nixpack. to use latest version of Bun? #999

Closed MariuzM closed 9 months ago

MariuzM commented 9 months ago

Is there an existing issue for this?

Describe the bug

How can i force to use latest version of Bun?

To reproduce

Install any bun app on railway deploys with old version

Expected behavior

No response

Environment

Railway

brody192 commented 9 months ago

please open a #help thread in our discord server discord.gg/railway

MariuzM commented 9 months ago

@brody192 sorry but dont understand why needs to be via discord + go thru the process of verifying account? Also not really a fan to give away railway account to discord even tho i see its railway channel also this should be open like on github so if anyone is looking they can use search.

brody192 commented 9 months ago

these are the github issues for nixpacks, however, your question does not pertain to an issue, please open a #help thread instead

MariuzM commented 9 months ago

Depends on your definition of an issue where new version of Bun is fixing some issues i had with old. I'm only asking to have some sort of control to overide Nixpacks old version of Bun.

coffee-cup commented 9 months ago

You can change the version of Bun that gets installed but setting the nixpkgsArchive value in nixpacks.toml. For example, setting it to "fce2579c3159f1ce4ea7c70cfd4f4446733d0fc2" will use version 1.0.6 found here