-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DO NOT MERGE: Near blockchain #23
base: main
Are you sure you want to change the base?
Conversation
Encountered an issue (caused by me) which rendered my nix store db in a corrupt state, meaning I need to delete my nix store, and re-init the db. |
Due to issues with buildRustPackage, attempting to use alternate solutions, including but not limited to import-crate and crate2nix. |
crate2nix was outdated, and had issues which made it difficult to use with our current setup. I'm giving cargo2nix a try. |
cargo2nix is unable to read the Cargo.toml of nearcore/chain/chain, going to give crane a try after lunch. |
I think crane might be what I need to get things working. However i'm having some difficulty getting it to work, given that it's a flake, and i want to use it in a derivation. |
Curreently (and for the past few hours as well), attempting to get neard to build, by patching the different Cargo.lock and Cargo.toml files. |
When you abandon a specific approach, it's may be valuable to push the progress to git anyway (in a side-branch, which you can reference in the comments here). This would effectively document in a very precise way what didn't work and would allow further experimentation with the abandoned approach (in case this becomes necessary). |
I'll make sure to do so in the future. |
Attempting to resolve compilation issues in wee_alloc |
still working on the compilation issues. |
a new version of nearcore has released, which has updated ssome dependencies. |
It is of my opinion that building nearcore with nix's existing tools is functionally impossible. nearcore has a dependency on a cargo crate which is missing from nix's cargo crates, and attempting to build it manually fails, due to it using some experimental features from a 2021 nightly of rust. Even when using the nightly, there are further issues, due to versions of dependencies being pulled, which do not support edition2021. I will push my current progress, and switch to working on the next blockchain (EOS) |
WIP nix packages for the Near blockchain
Currently attempting to resolve an issue where cargo can't find a package, even though it exist.