0.15.0 - 2023-11-05
Added
cargoDeny
added for runningcargo-deny
.installCargoArtifactsHook
will now pass along the contents of
$zstdCompressionExtraArgs
as arguments tozstd
when compressing artifacts.
This allows for tailoring compression behavior, for example, by setting
zstdCompressionExtraArgs = "-19";
on the derivation.
Changed
- The
use-zstd
artifact installation mode now uses a chained, incremental
approach to avoid redundancy. Old behavior (taking a full snapshot of the
cargo artifacts) can be achieved by settingdoCompressAndInstallFullArchive = true
. - The default
installCargoArtifactsMode
has been changed touse-zstd
,
meaning cargo artifacts will be compressed to a series of incremental, zstd
compressed tarballs across derivations. To get the old behavior back, set
installCargoArtifactsMode = "use-symlink"
to any derivation which produces
cargo artifacts. - All dependencies (outside of
nixpkgs
) have been dropped from the (main)
flake.lock file so they do not pollute downstream projects' lock files.
Fixed
mkDummySrc
now properly handles file cleaning (and file including) when a
build is invoked with a--store ...
override