Skip to content

Commit af12a3c

Browse files
committed
docs(ci): update pin-nix-deps rationale for cache-nix-action GC
Sticky disks are gone; the deps pin now exists to survive cache-nix-action's gc-max-store-size trim (which keeps only GC roots), not the sticky-disk trim.
1 parent 04ef555 commit af12a3c

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎.github/actions/pin-nix-deps/action.yaml‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: Pin Nix deps cache
22
description: >
3-
Pin a crane cargoArtifacts derivation into a Nix profile so it survives the
4-
Blacksmith sticky disk's GC-root-respecting trim. The deps are an unrooted
5-
intermediate, so without a profile root they are dropped on commit and
6-
recompiled (~3min) on every run; a profile is the one root that persists.
3+
Pin a crane cargoArtifacts derivation into a Nix profile so it survives
4+
cache-nix-action's gc-max-store-size trim, which only keeps GC roots. The deps
5+
are an unrooted intermediate, so without a profile root they are dropped before
6+
the cache is saved and recompiled (~3min) on the next run; a profile is the one
7+
root that persists.
78
inputs:
89
attr:
910
description: Flake attribute of the cargoArtifacts derivation to pin

0 commit comments

Comments
 (0)