R
Railway14mo ago
@vxern

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
Percy14mo ago
Project ID: N/A
Brody
Brody14mo 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
@vxern14mo ago
Well, cannot I configure that in nixpacks.toml?
Brody
Brody14mo ago
but this did not change anything
doesnt seem like it
Solution
@vxern
@vxern14mo ago
Anyway, I found the issue: It was because I used a commit from a branch other than master.
@vxern
@vxern14mo ago
Once I used a commit from master, the version updated as needed.