diff options
| author | tv <tv@krebsco.de> | 2026-11-11 17:04:13 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-11 17:04:13 +0000 |
| commit | 16da86c825f0dc3f85187311ec71ec1f038fc065 (patch) | |
| tree | 9dc86e210fc1e67a04098f70cd58024e8ee6aff5 /ci.nix | |
| parent | d7ebb66780b090b0ac140cad0b61daf7778fc772 (diff) | |
populate flake: add fetchOnTarget
With fetchOnTarget, the target fetches the input and its own inputs itself,
using fetchTree with the arguments recorded in the flake's lock file. Only
nix flake metadata runs on the deploying machine, so the inputs get
downloaded once, by the target. This needs Nix with flake support on the
target, which populate checks before fetching.
Because nothing gets copied, this also works for targets using sudo.
Diffstat (limited to 'ci.nix')
0 files changed, 0 insertions, 0 deletions
