How can I override the version of package used?

Deno introduced a new API that my app is currently using in version 1.31, meanwhile the version made available through Railway is 1.29, causing my app to not be able to deploy. How can I override either the package version or the nixpkgs archive version to one I specify? I have tried doing:
[phase.name]
nixpkgsArchive = '5233b6d09b1bf2db66230e60cf08404b01db7b31'
[phase.name]
nixpkgsArchive = '5233b6d09b1bf2db66230e60cf08404b01db7b31'
(the latest commit in the nixpkgs repo) but this did not change anything.
Solution:
Anyway, I found the issue: It was because I used a commit from a branch other than master.
Jump to solution
6 Replies
Percy
Percy2y ago
Project ID: N/A
Brody
Brody2y ago
you might be better off doing a dockerfile deployment that way you aren't dependent on whatever version nixpacks wants to give you
@vxern
@vxernOP2y ago
Well, cannot I configure that in nixpacks.toml?
Brody
Brody2y ago
but this did not change anything
doesnt seem like it
Solution
@vxern
@vxern2y ago
Anyway, I found the issue: It was because I used a commit from a branch other than master.
@vxern
@vxernOP2y ago
Once I used a commit from master, the version updated as needed.
Want results from more Discord servers?
Add your server