Jorge Araya Navarro
Jorge Araya Navarro
Having commit c7ec9546978b3c52b0c57bbdb9693f5068dd3383 as base, I dived into patching all `Cargo.lock` files as needed and ended with this (see attach). However, during compilation, `h2` failed to compile: ``` Compiling rand_xorshift...
> Now, I don't know NixOS or how its pkg mgmt system works. Why does the lockfile need to be patched when building from https://github.com/MystenLabs/sui/commit/c7ec9546978b3c52b0c57bbdb9693f5068dd3383? because otherwise it will fail...
Hmm, no, `tokio-macros` is a duplicate dependency still: ``` Unpacking to /nix/store/zm1wm44pyq2q9gj4j5kmvmii7a3gzk2h-sui-1.50.1-vendor/tokio-macros-2.5.0 Copying to /nix/store/zm1wm44pyq2q9gj4j5kmvmii7a3gzk2h-sui-1.50.1-vendor/tokio-macros-2.5.0 Traceback (most recent call last): File "/nix/store/7f3a269xl53xbywqpwwihipjv3iagqya-fetch-cargo-vendor-util/bin/fetch-cargo-vendor-util", line 349, in main() File "/nix/store/7f3a269xl53xbywqpwwihipjv3iagqya-fetch-cargo-vendor-util/bin/fetch-cargo-vendor-util", line 345,...
@stefan-mysten run `cargo vendor` and let me know
> So I am starting to think that there might be some library dependency issue going on? it is, but what you think, you think is some sort of compatibility...
thanks, I'll give it a try in my end. Ideally, cryptocurrency projects should have its dependencies vendored
yep, that fixed it and the nix builder was able to start compiling. However, I got this error during compilation, any idea what it is and how to fix it?...
> Try to set the `tokio-macros` and `tokio-util` to use the `https://github.com/tokio-rs/tokio`, with revision `f4d9b3061c9eb932d98c2b1c5afb75c62e56638a`. > > However, there's no guarantees that this does not break anything. Thanks, I'll give...
`cargo vendor` couldn't find that revision, and it actually does not exist in tokio-rs/tokio https://github.com/search?q=repo%3Atokio-rs%2Ftokio%20f4d9b3061c9eb932d98c2b1c5afb75c62e56638a&type=code 🤔
> I used this version to build locally: `eecfb1ec10eefaea72ea8f95a25c72a76b8df9a9`. Try that. I'll go back to this, work got in the way and I haven't had much time for anything but...