Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bun 1.1 - Nixpacks Feature Request #1093

Open
benjamint08 opened this issue Apr 27, 2024 · 2 comments
Open

Bun 1.1 - Nixpacks Feature Request #1093

benjamint08 opened this issue Apr 27, 2024 · 2 comments

Comments

@benjamint08
Copy link

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

@brody192
Copy link
Contributor

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

@benjamint08
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants