0.14.2 - 2023-10-15
Added
replaceCargoLockHook
can now be used to easily replace or insert a
Cargo.lock
file in the current derivation
Changed
cargoAudit
will pass--ignore yanked
by default ifcargoAuditExtraArgs
are not specified. This is becausecargo-audit
cannot check for yanked
crates from inside of the sandbox. To get the old behavior back, set
cargoAuditExtraArgs = "";
.mkCargoDerivation
(and by extension anything which delegates to it) will now
automatically use the value ofcargoLock
or the contents of
cargoLockContents
/cargoLockParsed
to replace the workspaceCargo.lock
file. To disable this behavior, setdoNotReplaceCargoLock = true;
.
Fixed
- Fixed handling of Cargo workspace inheritance for git-dependencies where said
crate relies on reading non-TOML metadata (i.e. comments) from its Cargo.toml
at build time. (#407) - Fixed handling of dummy target names to avoid issues with
cargo doc
.
(#410) - When using
installCargoArtifactsMode = "use-zstd";
all files will be marked
as user-writable while compressing removeReferencesToVendoredSources
now signsaarch64-darwin
binaries. (#418)