Fix mkData

This commit is contained in:
soraefir
2026-05-10 18:42:03 +02:00
parent e53be27e96
commit 7bc9ae1f2d

View File

@@ -37,11 +37,9 @@ in {
mkdir -p $out
cp -r ./data/${dir}/. $out/
find $out -type f | while read file; do
${pkgs.replaceVarsWith {
name = "temp-sub";
src = "/dev/null"; # Dummy src, we use the script logic below
replacements = vars;
}}/bin/replace-vars "$file" --replace-inplace
${lib.concatStringsSep "\n" (lib.mapAttrsToList (n: v: ''
substituteInPlace "$file" --replace "@${n}@" "${toString v}"
'') vars)}
done
'';
host = "host.containers.internal";