Deploying Rust tries to copy binaries that don't exist.
I'm not using my own nixpacks.toml, and railway is attempting to copy binaries that it doesn't need to run and don't exist. (I tried my own nixpacks.toml but I'd prefer to deploy this way. I'll open up a separate ticket for my problems with my own nixpacks.toml if I need to).
I would expect it to only copy
tklbot
.
Cargo.toml
from the railway build logs:
5 Replies
Project ID:
2090e121-cc62-4fbe-9114-5349121f7893
2090e121-cc62-4fbe-9114-5349121f7893
this would require using your own nixpacks.toml, so let's see what you had for that
for deploying rust stuff i found that in the end i ended up having to just write my own dockerfile and use cargo-chef
I ended up figuring out my nixpacks woes. I was doing
bin/tklbot
instead of ./bin/tklbot
for my start command 🤦♂️
Good to know that's the point I need my own nixpacks. thanks for the help!