aboutsummaryrefslogtreecommitdiffstats
path: root/egress.lua
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-25 12:27:15 +0000
committertv <tv@krebsco.de>2026-11-25 12:27:25 +0000
commit58827c3bee1fedeb5f471328b60adea420339a2f (patch)
treeddda66da0b4ced4ba98411d3c9038eeb9d34cacc /egress.lua
parent39012ddac260255a60bbf99777e9cf1ba9bb219b (diff)
run-firecracker-vm: the guest drops its caches when nixpkgs's commit changes
With --nixpkgs-cache (loose: 7s for nix-instantiate '<nixpkgs>' -A hello, against 20s without), the guest doesn't see changes to the host's nixpkgs until it drops its caches. When nixpkgs is a Git checkout, the run script now checks its commit every 5 seconds, and on a change (checkout, pull, rebase), connects to the guest's vsock port 1235, where layers/nix.nix has fc-drop-caches run. Changes without a commit still need fc-drop-caches by hand.
Diffstat (limited to 'egress.lua')
0 files changed, 0 insertions, 0 deletions