sage: fix jmol integration

This commit is contained in:
Timo Kaufmann 2018-12-01 21:26:37 +01:00
parent cb73495f02
commit 0e570199de
2 changed files with 3 additions and 1 deletions

View file

@ -39,7 +39,7 @@ writeTextFile rec {
export ECLDIR='${ecl}/lib/ecl-${ecl.version}/' export ECLDIR='${ecl}/lib/ecl-${ecl.version}/'
export COMBINATORIAL_DESIGN_DATA_DIR="${combinatorial_designs}/share/combinatorial_designs" export COMBINATORIAL_DESIGN_DATA_DIR="${combinatorial_designs}/share/combinatorial_designs"
export CREMONA_MINI_DATA_DIR="${elliptic_curves}/share/cremona" export CREMONA_MINI_DATA_DIR="${elliptic_curves}/share/cremona"
export JMOL_DIR="${jmol}" export JMOL_DIR="${jmol}/share/jmol" # point to the directory that contains JmolData.jar
export JSMOL_DIR="${jmol}/share/jsmol" export JSMOL_DIR="${jmol}/share/jsmol"
export MATHJAX_DIR="${mathjax}/lib/node_modules/mathjax" export MATHJAX_DIR="${mathjax}/lib/node_modules/mathjax"
export THREEJS_DIR="${three}/lib/node_modules/three" export THREEJS_DIR="${three}/lib/node_modules/three"

View file

@ -44,6 +44,7 @@
, zlib , zlib
, gsl , gsl
, ntl , ntl
, jdk
}: }:
# This generates a `sage-env` shell file that will be sourced by sage on startup. # This generates a `sage-env` shell file that will be sourced by sage on startup.
@ -91,6 +92,7 @@ let
lcalc lcalc
rubiks rubiks
flintqs flintqs
jdk # only needed for `jmol` which may be replaced in the future
] ]
)); ));
in in