2 years ago
Hey there, anyone knows how to get the latest version of bun with nixpacks
6 Replies
2 years ago
n/a
2 years ago
i found out how you can get the latest version of bun in nixpacks all time.
Just copy the commit id and replace it in nixpacks.toml
0xsimbo
PRO
2 years ago
Hey! Could you please paste your nixpacks.toml file.
2 years ago
Yeah sure here you go
[phases.setup]
nixpkgsArchive = '0d1ef1a839ce0f3282bf24bea2788b9ad659be83'
[start]
cmd = "bun run start"2 years ago
If you set nixpkgsArchive = 'd1c6a5decfd9ad4c84354612d418b2856a57be1d' it'll give you 1.17
Or pick a commit from https://github.com/NixOS/nixpkgs/commits/master/ and it'll give you whatever's latest on Nix (1.18 I think?)
2 years ago
For future readers, you can also use the latest commit like so
[phases.setup]
nixpkgsArchive = '0d1ef1a839ce0f3282bf24bea2788b9ad659be83'