update: offload eval to the server too via remote nix build + --store-path
This commit is contained in:
parent
a6eacab7fb
commit
dafd23d159
2 changed files with 23 additions and 3 deletions
|
|
@ -3,8 +3,9 @@
|
|||
# Both laptops/desktops offload builds to this host (nix.buildMachines in
|
||||
# common.nix), and the Macbook can't build at all (max-jobs = 0). Realising
|
||||
# their toplevels here ahead of time turns `update` on those machines into a
|
||||
# pure copy: the offloaded build finds the path already in this store and just
|
||||
# ships it back over SSH.
|
||||
# pure copy: the client's `update` alias re-runs this exact nix build over SSH
|
||||
# (so eval happens here too, against a warm eval cache), finds the path already
|
||||
# realised, and only copies the closure back.
|
||||
#
|
||||
# --out-link doubles as the gc root, so `clean` doesn't reap the closures
|
||||
# before the other machines ever ask for them.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue