Skip to content

v0.15.0

Compare
Choose a tag to compare
@ipetkov ipetkov released this 05 Nov 21:06
· 235 commits to master since this release
v0.15.0
d535642

0.15.0 - 2023-11-05

Added

  • cargoDeny added for running cargo-deny.
  • installCargoArtifactsHook will now pass along the contents of
    $zstdCompressionExtraArgs as arguments to zstd 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 setting doCompressAndInstallFullArchive = true.
  • The default installCargoArtifactsMode has been changed to use-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