Closed darix closed 3 years ago
Vendor is correctly checking out the code. Can I see the projects cargo_config file, and can you confirm in your spec you are putting it into .cargo/config so that vendor knows how to reference the git path offline? It should say something like:
[source.crates-io]
replace-with = "vendored-sources"
[source."https://github.com/gtk-rs/gtk-rs-core"]
git = "https://github.com/gtk-rs/gtk-rs-core"
replace-with = "vendored-sources"
[source."https://github.com/gtk-rs/gtk4-rs/"]
git = "https://github.com/gtk-rs/gtk4-rs/"
replace-with = "vendored-sources"
[source."https://gitlab.freedesktop.org/pipewire/pipewire-rs"]
git = "https://gitlab.freedesktop.org/pipewire/pipewire-rs"
branch = "main"
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
home:darix:playground/helvum
Reading the spec file, I think you are not unpacking the vendor tar, which means it's an empty directory. That may be why it can't find this content.
well yes wrong section. that fixed it.
https://gitlab.freedesktop.org/ryuukyu/helvum
even with the vendor tarball you end up with
service file