sageWithDoc: fix static asset deduplication

This commit is contained in:
Mauricio Collares 2021-05-20 18:31:43 -03:00 committed by Jonathan Ringer
parent 874d1aba74
commit 22c86a0466

View file

@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
mv html/en/_static{,.tmp}
for _dir in `find -name _static` ; do
rm -r $_dir
ln -s /share/doc/sage/html/en/_static $_dir
ln -s html/en/_static $_dir
done
mv html/en/_static{.tmp,}
'';