Fintan Halpenny
Fintan Halpenny
I'm getting something similar with `git2`, which is definitely on [crates.io[(https://crates.io/crates/git2) :) Did you get anywhere with this @srid? I'm attempting to use your [template](https://www.srid.ca/rust-nix), so big thank you :smile:...
> No, I no longer use Rust. Still using Haskell :-) lol, very envious :) > try using strace to get the underlying cargo metadata command? This might be an...
I did some digging by pointing to my own crate2nix fork and building off of a custom revision. I printed the command that gets executed: ``` cargo metadata --format-version 1...
> Try running that command without network access? I bet it's trying to download stuff to make a lock file on the fly. Hmmmm you're right! Why is that an...
> You do fundamentally need a lockfile to use crate2nix. Without one there is not concrete buildplans, just some constraints. crate2nix doesn't want to duplicate Cargo in learning how to...
We _do_ have a set of binaries that seem open nix flaking since we have a `Cargo.lock` there, but unfortunately I ran into this number https://github.com/NixOS/nix/pull/4638 :upside_down_face:
I can expand a little bit more on what I was trying to get across using the same example as I had: ```rust pub enum Remote { Default, Peer(PeerId), }...
> The latter I can imagine putting together once I got a moment. That's great! Obviously, no rush since the API is usable :) Thanks for taking my suggestions on...
@matthewbauer: do you think it could be to do with this commit? https://github.com/mozilla/nixpkgs-mozilla/commit/efda5b357451dbb0431f983cca679ae3cd9b9829 :eyes: Also, hey again :grin:
I'm able to work around it for now by pointing to https://github.com/mozilla/nixpkgs-mozilla/commit/4521bc61c2332f41e18664812a808294c8c78580 instead of `master`.