diff --git a/pkgs/applications/science/math/sage/sagenb.nix b/pkgs/applications/science/math/sage/sagenb.nix index 5adfde4388a..bbd403177f3 100644 --- a/pkgs/applications/science/math/sage/sagenb.nix +++ b/pkgs/applications/science/math/sage/sagenb.nix @@ -55,6 +55,7 @@ buildPythonPackage rec { # let sagenb use mathjax postInstall = '' - ln -s ${mathjax}/lib/node_modules/mathjax "$out/${python.sitePackages}/mathjax" + mkdir -p "$out/${python.sitePackages}/sagenb/data" + ln -s ${mathjax}/lib/node_modules/mathjax "$out/${python.sitePackages}/sagenb/data/mathjax" ''; }