From 40b229a047e578fa11c7d4cffb7aebc74fab3822 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 22 Nov 2026 16:21:29 +0000 Subject: populate: look for grep and sed on targets of git sources git sources' snippets run grep and sed on the target, so check looks for them there as well, with Git, and gets them from there, if the target lacks them. The README names grep and sed among what populate runs on the machine it runs on, too, for pass sources and Git work trees that flakes get drawn from. --- pkgs/populate/src/populate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/populate/src') diff --git a/pkgs/populate/src/populate.rs b/pkgs/populate/src/populate.rs index 322708a..1aaf064 100644 --- a/pkgs/populate/src/populate.rs +++ b/pkgs/populate/src/populate.rs @@ -21,7 +21,7 @@ fn tools(spec: &Spec) -> Vec<&'static str> { tools.extend(["rsync", "rsync"]); } if sources().any(|s| s.kind == "git") { - tools.extend(["git", "git"]); + tools.extend(["git", "git", "grep", "gnugrep", "sed", "gnused"]); } let patched = |s: &&Source| { s.settings -- cgit v1.3.1