brewTea: staticAssets might need to be a string

This commit is contained in:
41666 2025-05-14 19:22:19 -07:00
parent 36b4dda14a
commit 9d17b10a24
4 changed files with 10 additions and 2 deletions

View file

@ -120,9 +120,11 @@ in pkgs.stdenvNoCC.mkDerivation {
render_final $file $outFile $outFile.tmp.render
done
echo ">>> STATIC ASSETS"
${pkgs.lib.concatStrings (map (path: "cp -rv ${path} dist/\n") staticAssets)}
'';
installPhase = ''
cp -rv dist $out
'' + pkgs.lib.concatString (map path: "cp -rv ${path} $out/${path}; " staticAssets);
'';
}