summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-26 14:06:05 +0000
committertv <tv@krebsco.de>2026-11-26 14:06:28 +0000
commit569849d3d8251081d4deae21f12e67d3b04c031f (patch)
tree9ccd7cacb4399d5a5f003ab463966b612bd57d5d
parent2e53acd54278b4d84ee3927507baa3301badbaa0 (diff)
krops.nix: let populate create the evaluation directory
It failed for a host's first remote build, with a missing sentinel file.
-rw-r--r--krops.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/krops.nix b/krops.nix
index c75a96b6..6cefe637 100644
--- a/krops.nix
+++ b/krops.nix
@@ -263,8 +263,7 @@ rec {
# paths.
#
eval_dir=${q evalTarget.path}
- mkdir -p "$eval_dir"
- ${pkgs.populate { source = evalSource; target = evalTarget; }}
+ ${pkgs.populate { source = evalSource; target = evalTarget; force = true; }}
export NIX_PATH="$eval_dir"
#