nixpacks golang 1.21
Hello, I must be doing something wrong, but I can't figure out what. I use nixpacks to build my golang project direct from github. I there is 1.21 support I would assume, but I can't seem to get it to work, I am just bombarded with this every build #14 0.821 note: imported by a module that requires go 1.21 I can't seem to find docs, or help on this. Can anyone help me?
16 Replies
Project ID:
8b65bc59-c608-44df-ab70-9144def6685a
add a nixpacks.toml to your project with this in it
reference: https://github.com/NixOS/nixpkgs/commit/8ed712ec90468c931713e5ec60bd9e6678daf8a8
I created a
nixpacks.toml
in the root of my project, and pasted in this exact data. Still get the same message, where else would I create the nixpacks.toml
file?is your service set to use the root directory?
yes
im asking about a service setting in railway
yes
build logs please https://bookmarklets.up.railway.app/log-downloader/
use a Dockerfile instead
Does this mean I’m not doing something wrong?
not that I know of
Ok, thank you.
so let me know if that dockerfile works for you
I’ll try it out asap. Thanks for your help!
yeah, moving to docker works. Probably a better idea anyway. Thanks for unblocking me. Choo Choo!
choo choo!