crate2nix icon indicating copy to clipboard operation
crate2nix copied to clipboard

rebuild only changed crates in CI with crate2nix and nix

Results 109 crate2nix issues
Sort by recently updated
recently updated
newest added

Hi! I'm running into an issue where a dependency of mine is failing to build during the unpack phase because one of it's dependencies can't be found. The error I'm...

Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.10 to 0.8.11. Changelog Sourced from mio's changelog. 0.8.11 Fix receiving IOCP events after deregistering a Windows named pipe (tokio-rs/mio#1760, backport pr: tokio-rs/mio#1761). Commits 0328bde Release v0.8.11...

dependencies
rust

When using `crate2nix.json` to specify external sources, you cannot specify a path to the `Cargo.toml`. (I'm trying to build a Rust subproject in a repo, so the `Cargo.toml`/`Cargo.lock` is not...

Bumps [shlex](https://github.com/comex/rust-shlex) from 1.2.0 to 1.3.0. Changelog Sourced from shlex's changelog. 1.3.0 Full fix for the high-severity security vulnerability RUSTSEC-2024-0006 a.k.a. GHSA-r7qv-8r2h-pg27: Deprecates quote APIs in favor of try_ equivalents...

dependencies
rust

With the following nix derivation: ```nix ((pkgs.callPackage "${crate2nix}/tools.nix" { }).generatedCargoNix { name = "proj"; # Filter src to avoid it being too large - keep Cargo.toml/Cargo.lock and lib.rs/main.rs src =...

The `src` directory for IFD is not filtered: https://github.com/nix-community/crate2nix/blob/cf034861fdc4e091fc7c5f01d6c022dc46686cf1/tools.nix#L50 This asks to copy the entire workspace tree to the nix store, performing no filtering. On large repositories containing build artifacts,...

Linked to #17 I have a file architecture such that crates that build references `.proto` files that are not in the crate folder: ``` / xxx.proto xxx_crate/ build.rs

I'm trying to get my workspace to compile with debug info in release mode. My `Cargo.toml` has the following: ```toml [profile.release] debug = 1 ``` however that seems to be...

I am using [fenix](https://github.com/nix-community/fenix) as my rust overlay; installed it in my dev-shell using `nativeBuildInputs`. But when I run `nix build`, it reinstalls the toolchain (i.e. `rustc`) from nixpkgs. And...