-
Notifications
You must be signed in to change notification settings - Fork 30
error: no source URL specified for source./~https://github.com/jwilm/libfontconfig
, need either registry
or local-registry
defined
#56
Comments
I think this may just be a feature that's implemented on beta but not on stable yet? I got the same failure on stable but it built correctly on beta. |
That's good news! Do you know how long it will be until beta goes to stable? |
You can find that info here: https://forge.rust-lang.org/ Rust 1.22 stable will release on Thu Nov 23 2017. |
@alexcrichton is it possible that your I am now using rust This is part of the rust packaging effort in nix where every step is sandboxed. First we are getting all of the dependencies with cargo-vendor, store them into the /nix/store, then use that to compile the package. So both steps are separated and the |
The generated
|
Are you sure you're using an up-to-date Cargo? Cargo 1.22 doesn't actually exist... |
Sorry, it should have been 0.22.0. I see that a new release have been published 10 hours ago, I will give it a try. |
Would you be open to have a longer chat on rust packaging with potentially nix integration? It would be nice if I could nail the implementation to make it the best experience possible. |
Certainly yeah! It may be good roping in the rest of the Cargo team to the discussion as well (as it's likely highly related to build system integration) |
Cool! What is the best way to organize that? I think on our end, @Mic92 would also be interested in participating in the discussion. |
In addition to basing builds on Cargo, we also now have a different promising approach |
It may be best to start out with a discussion on internals perhaps to see which Cargo team members are interested in participating? |
Ok thanks. Cargo 0.23.0 fixes this ticket's issue. |
How to reproduce:
top-level Cargo.toml depends on ./fonts, which depends on /~https://github.com/jwilm/rust-fontconfig which depends on /~https://github.com/jwilm/libfontconfig
Both git dependencies are in vendor/servo-fontconfig and vendor/servo-fontconfig-sys respectively.
I suspect that the
~/.cargo/git
cache is necessary to establish the map from the git repo to the package name?The text was updated successfully, but these errors were encountered: