nixpacks icon indicating copy to clipboard operation
nixpacks copied to clipboard

Bun 1.1 - Nixpacks Feature Request

Open benjamint08 opened this issue 10 months ago • 2 comments

Feature request

Bun 1.1.5 is currently the newest version of Bun. Nixpacks currently uses Bun 1.0 which lacks a LOT of features that 1.1 introduced, such as Globs which are a crucial part of the Bun apps I build, like ProBun.

Motivation

I host my apps on Coolify and writing Dockerfiles for each Bun app to use 1.1 is a pain - if Nixpacks supported the newest versions then I wouldn't have to do this. Thank you so much to anyone that sees this.

Contribution

No response

benjamint08 avatar Apr 27 '24 20:04 benjamint08

You can get nixpacks to use bun 1.1.4 by adding a nixpacks.toml file to your project -

[phases.setup]
    # https://github.com/NixOS/nixpkgs/commits/master/pkgs/development/web/bun/default.nix
    nixpkgsArchive = 'd05592ea7e9656648093dfe0e817819486bd5054' # https://github.com/NixOS/nixpkgs/commit/d05592ea7e9656648093dfe0e817819486bd5054

brody192 avatar Apr 27 '24 20:04 brody192

You can get nixpacks to use bun 1.1.4 by adding a nixpacks.toml file to your project -

[phases.setup]
    # https://github.com/NixOS/nixpkgs/commits/master/pkgs/development/web/bun/default.nix
    nixpkgsArchive = 'd05592ea7e9656648093dfe0e817819486bd5054' # https://github.com/NixOS/nixpkgs/commit/d05592ea7e9656648093dfe0e817819486bd5054

Thanks. Ill use this for now- hopefully they can add the latest version natively though

benjamint08 avatar Apr 27 '24 20:04 benjamint08

This is now added in the latest version of Nixpacks!

coffee-cup avatar Jun 17 '24 14:06 coffee-cup