mirror of
https://github.com/nix-community/naersk
synced 2024-11-10 06:04:17 +00:00
3f976d822b
Cargo stashes unused patches into a special section of the Cargo.lock file: ``` [[patch.unused]] name = "uuid" version = "1.4.1" source = "git+https://github.com/uuid-rs/uuid#50f70278de02c106650b8d6deb325dd59b5f2a24" ``` ... a section that we, currently, don't read. Ignoring that section causes the build to fail because even if the patch is unused, when the source is unavailable, Cargo tries to fetch it (which, understandably, is not possible inside the sandbox). This commit extends our logic so that we download both the "used" and "unused" dependencies. Closes https://github.com/nix-community/naersk/issues/308. |
||
---|---|---|
.. | ||
cargo-config | ||
cargo-wildcard | ||
default-run | ||
dummyfication | ||
duplicated-cargo-lock-items | ||
git-dep | ||
git-dep-by-branch | ||
git-dep-by-branch-with-slash | ||
git-dep-by-tag | ||
git-dep-dup | ||
git-single-repository-with-multiple-crates | ||
git-symlink | ||
post-install-hook | ||
readme | ||
simple-dep | ||
simple-dep-patched | ||
symlinks | ||
unused-patch | ||
workspace | ||
workspace-build-rs | ||
workspace-patched | ||
default.nix |