Use NB_PYTHON_PREFIX for kernel install path
MODIFY
docs/source/changelog.rst
docs/source/changelog.rst
@@ -17,7 +17,7 @@ API changes
Bug fixes
---------
-- Install IJulia kernel into ${APP_BASE}/conda/share/jupyter in :pr:`622` by
+- Install IJulia kernel into ${NB_PYTHON_PREFIX}/share/jupyter in :pr:`622` by
:user:`davidanthoff`.

MODIFY
repo2docker/buildpacks/julia/julia_require.py
repo2docker/buildpacks/julia/julia_require.py
@@ -119,7 +119,7 @@ class JuliaRequireBuildPack(PythonBuildPack):
# FIXME: Find way to get it to install under /srv and not $HOME?
r"""
julia -e 'if (VERSION > v"0.7-") using Pkg; else Pkg.init(); end; Pkg.add("IJulia"); using IJulia;' && \
- mv ${HOME}/.local/share/jupyter/kernels/julia-${JULIA_VERSION%[.-]*} ${APP_BASE}/conda/share/jupyter/kernels/julia-${JULIA_VERSION%[.-]*}
+ mv ${HOME}/.local/share/jupyter/kernels/julia-${JULIA_VERSION%[.-]*} ${NB_PYTHON_PREFIX}/share/jupyter/kernels/julia-${JULIA_VERSION%[.-]*}
"""
)
]

Use NB_PYTHON_PREFIX for kernel install path