R
Railway7mo ago
lasse

Nixpacks Bun latest version

Hey there, anyone knows how to get the latest version of bun with nixpacks
Solution:
i found out how you can get the latest version of bun in nixpacks all time. https://github.com/NixOS/nixpkgs/commits/master/pkgs/development/web/bun/default.nix Just copy the commit id and replace it in nixpacks.toml...
Jump to solution
6 Replies
Percy
Percy7mo ago
Project ID: N/A
lasse
lasseOP7mo ago
n/a
Solution
lasse
lasse7mo ago
i found out how you can get the latest version of bun in nixpacks all time. https://github.com/NixOS/nixpkgs/commits/master/pkgs/development/web/bun/default.nix Just copy the commit id and replace it in nixpacks.toml
Duchess
Duchess7mo ago
New reply sent from Help Station thread:
Hey! Could you please paste your nixpacks.toml file.
You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
Yeah sure here you go
[phases.setup]
nixpkgsArchive = '0d1ef1a839ce0f3282bf24bea2788b9ad659be83'

[start]
cmd = "bun run start"
[phases.setup]
nixpkgsArchive = '0d1ef1a839ce0f3282bf24bea2788b9ad659be83'

[start]
cmd = "bun run start"
You're seeing this because this thread has been automatically linked to the Help Station thread.
Duchess
Duchess7mo ago
New reply sent from Help Station thread:
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?)
You're seeing this because this thread has been automatically linked to the Help Station thread.
GitHub
Commits · NixOS/nixpkgs
Nix Packages collection & NixOS. Contribute to NixOS/nixpkgs development by creating an account on GitHub.
Dayblox
Dayblox4mo ago
For future readers, you can also use the latest commit like so
[phases.setup]
nixpkgsArchive = 'master'
[phases.setup]
nixpkgsArchive = 'master'
Want results from more Discord servers?
Add your server