Skip to content

Instantly share code, notes, and snippets.

@jinsley8
Last active April 18, 2024 04:28
Show Gist options
  • Save jinsley8/122c440d533161203a26946aa11db250 to your computer and use it in GitHub Desktop.
Save jinsley8/122c440d533161203a26946aa11db250 to your computer and use it in GitHub Desktop.
Use the latest version of Bun in Railway deployment (bun v1.1.3)
[phases.setup]
nixpkgsArchive = '0e2e5ebac4c621a80f14c3bb3671697e960f7faf'
@jinsley8
Copy link
Author

jinsley8 commented Feb 22, 2024

Update Railway's bun dependency to v1.1.3 on your deployment

Update to the latest version of bun:

  1. Visit nixpkgs for the latest version of bun: /NixOS/nixpkgs/blob/master/pkgs/development/web/bun/default.nix
  2. Click the latest commit and copy the commit id
  3. Replace nixpkgsArchive in this file with the latest commit id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment