-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
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:
- https://discourse.nixos.org/t/nixpkgs-support-for-incremental-haskell-builds/24115/6
- incremental builds: add derivation override functions NixOS/nixpkgs#167670
- Add
haskell.lib.incremental
utility NixOS/nixpkgs#204020 - Add optional
date
argument tobuiltins.fetchGit
NixOS/nix#7362 - https://felixspringer.xyz/homepage/blog/incrementalHaskellBuildsWithNix
Metadata
Metadata
Assignees
Labels
No labels