Skip to content

The non-zstd (default) artifacts mode is causing deps rebuild #323

@dpc

Description

@dpc

I was trying #322 and noticed that in my build, at the end of buildWorkspaceDepsOnly step, nix is doing bunch of shrinking ... and afterwards the buildWorkspace is rebuilding all the dependencies from scratch.

Edit: Just checked and it seems that v0.12.1 behaves correctly. It also does the shrinking but when buildWorkspace starts it only builds local crates as expected.

BTW. It still seems to me that nix should not mess with these files under ./target... seems sus, and takes extra time.

> cargo --version
cargo 1.67.0 (8ecd4f20a 2023-01-10)
> rustc --version
rustc 1.67.0 (fc594f156 2023-01-24)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions