a year ago
Hey there, anyone knows how to get the latest version of bun with nixpacks
3 Replies
a year ago
n/a
a year 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
0xsimboPRO
a year ago
Hey! Could you please paste your nixpacks.toml file.
a year ago
Yeah sure here you go
[phases.setup]
nixpkgsArchive = '0d1ef1a839ce0f3282bf24bea2788b9ad659be83'
[start]
cmd = "bun run start"
a year 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?)
10 months ago
For future readers, you can also use the latest commit like so
[phases.setup]
nixpkgsArchive = '0d1ef1a839ce0f3282bf24bea2788b9ad659be83'