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:
(the latest commit in the nixpkgs
repo) but this did not change anything.Solution:Jump to solution
Anyway, I found the issue: It was because I used a commit from a branch other than
master
.6 Replies
Project ID:
N/A
you might be better off doing a dockerfile deployment that way you aren't dependent on whatever version nixpacks wants to give you
Well, cannot I configure that in
nixpacks.toml
?but this did not change anythingdoesnt seem like it
Solution
Anyway, I found the issue: It was because I used a commit from a branch other than
master
.Once I used a commit from
master
, the version updated as needed.