c3-everything: try to add .css to hydra-build-products

This commit is contained in:
Astro 2019-12-23 21:45:57 +01:00
parent d1e469a64f
commit ef759b4500
1 changed files with 5 additions and 1 deletions

View File

@ -12,8 +12,12 @@ with pkgs;
${oldAttrs.installPhase} ${oldAttrs.installPhase}
mkdir $out/nix-support mkdir $out/nix-support
for f in $out/*.html ; do echo doc CSS style.css >> $out/nix-support/hydra-build-products
for f in $out/?.html ; do
d=`basename $f|sed -e s/.html//` d=`basename $f|sed -e s/.html//`
substituteInPlace $f \
--replace style.css ../1/style.css
echo doc Day$d $f >> $out/nix-support/hydra-build-products echo doc Day$d $f >> $out/nix-support/hydra-build-products
done done
''; '';