-
Notifications
You must be signed in to change notification settings - Fork 131
Conversation
it looks like -USER root
-
-RUN ihaskell install && \
+RUN ihaskell install --prefix=$CONDA_DIR/share/jupyter/kernels/ && \
rm -fr $(echo ~/.cabal/bin/* | grep -iv ihaskell) ~/.cabal/packages ~/.cabal/share/doc ~/.cabal/setup-exe-cache ~/.cabal/logs
-USER $NB_USER
- Solve the permission issue, or at least install the kernelspec in a location which is user writable. OMG this image takes forever to compile ! |
Spoke too soon, the command raise no error, but does nothing apparently. |
My Bad Let me know if you prefer the root method or the --prefix method and we can merge this. |
The |
Okay, I rebuilt it but now the kernel isn't installed (doesn't show up in the list of available kernels for me to choose from). I didn't realise the prefix had to be |
I think I've fixed the error in the introductory notebook, let me know if you'd like me to split that out into a separate PR 😃. |
That is weird it workd for me yesterday. I'll check. |
With the current state of the PR I see the IHaskell kernel, and I can run the notebook, So Im going to merge and would happily get other PRs to have extra fixes if it does not suits you. Thanks ! |
Thanks for your help! |
Thanks for maintaining IHaskell ! |
This bumps the versions of Haskell packages for IHaskell, and seems to work when I do
make dev
. Comments, suggestions, and improvements appreciated, especially the part where I change the user to root to install the IHaskell kernel.