nocargo
nocargo copied to clipboard
[alpha] Build Rust crates with Nix Build System.
This MR adds support for weak dependency features, and the new optional feature syntax, as well as workspace inheritance of cargo toml properties. ## Feature resolver I've completely rewritten the...
I am getting this error when I have a project with the rust time crate: ``` error: builder for '/nix/store/rkrrfg6by2fbim5a7vqj22i3kiznrsxy-rust_time-macros-0.1.1.drv' failed with exit code 1; last 8 log lines: >...
The menv crate has a proc macro so adding it to the proc-macro override.
I am building a rust package that has a dependency where deranged is a child dependency and I get the following error: ``` Building lib: RUSTC 'src/lib.rs' '--out-dir=/nix/store/z8smkvvlv80qm9rc3ws5nans6gzg6zyp-rust_deranged-0.3.11/lib' '->error[E0433]: failed...
The `setCargoCommonBuildEnv` function in `builder-common.sh` doesn't properly use `BASH_REMATCH` to parse the version number. The 0 index of `BASH_REMATCH` is the whole string so the `CARGO_PKG_VERSION_MAJOR` was failing with an...
Tried to use serde_with 2.0.0 in Cargo.toml I got the error : "Registry layout version 2 is too new to understand" Seems there is a new `layout` in cargo ?...
If you try to build a project that uses dependencies from a git repository, and that git repository contains multiple crates using a Cargo workspace, you You can reproduce this...
Got the following error while trying to build a package ``` error: value is a list while a set was expected … while evaluating anonymous lambda at /nix/store/hinskrx05kyl9ngfqd50zx189wzili66-source/lib/resolve.nix:55:14: 54| resolvedDependencies...
in crypto preferrably