mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-27 12:36:51 +03:00
975bda728a
* Define a new installation mode which symlinks identical artifacts against a directory of previously generated ones * This allows for linear space usage in the Nix store across many chained derivations (as opposed to using a zstd compressed tarball which uses quadratic space across many chained derivations) * This new installation mode is the new default for all cargo based builds. The previous behavior is still available by setting `installCargoArtifactsMode = "use-zstd";` on a derivation * `buildPackage` will continue to use zstd compressed tarballs while building dependencies (unless either of `cargoArtifacts` or `installCargoArtifactsMode` is defined, in which case they will be honored) |
||
---|---|---|
.. | ||
API.md |