To lower cycle times and improve dx.
Ideas have come up to implement incremental builds for Nix via a snapshot build input taken from outputs = [ "incremental" ] which had been specifically crafted to forward language specific build artifacts in ways that the build toolchain furthermore can detect them as cached.
An incremental build has effectively two significant inputs: src & snapshot artifacts.
This pattern can be expected to significantly speed up subsequent builds in a feature branch. Hence, CI cycle time.
References:
To lower cycle times and improve dx.
Ideas have come up to implement incremental builds for Nix via a snapshot build input taken from
outputs = [ "incremental" ]which had been specifically crafted to forward language specific build artifacts in ways that the build toolchain furthermore can detect them as cached.An incremental build has effectively two significant inputs:
src& snapshot artifacts.This pattern can be expected to significantly speed up subsequent builds in a feature branch. Hence, CI cycle time.
References:
haskell.lib.incrementalutility NixOS/nixpkgs#204020dateargument tobuiltins.fetchGitNixOS/nix#7362