Can't install latest version of Deno Nix package
I can't seem to get the latest version (1.38) of deno to be used in my railway service. I thought this could have been an issue with the Nix cache however setting NIXPACKS_NO_CACHE doesn't seem to change anything. My service is stuck using 1.36. Is there anything I can do to fix this beyond recreating the service?
8 Replies
Project ID:
f9f4af6e-6ebb-445e-a8f0-388800708386
f9f4af6e-6ebb-445e-a8f0-388800708386
nixpacks is installing whatever version of deno is in the current archive, to use a specific version you can specify the archive to use, create a nixpacks.toml file in your project with this in it
reference: https://github.com/NixOS/nixpkgs/commit/17ba61f386fd731d9b869ddf37ee2f7918c34c18
I'll give this a try thank you!
I'm getting an error during the build using that archive:
looks like you will have to move to a dockerfile based build
π ill start moving it over, thank you for your help!
imo dockerfile is better for this anyway, gives you complete control, no need for github comment hashes
theres even a 1.38.1 image https://hub.docker.com/r/denoland/deno/tags
so even newer than what is available from a nix package
@Angelo
π