| * I want to install IHaskell with access to the System.Random package, as a Jupyter kernel (on NixOS unstable). I have tried the following, without success:
$ nix-shell -p python313Packages.jupyter-client '(ihaskell.override { packages = (ps: with ps; [ random ]); })'
$ ihaskell install
$ jupyter kernelspec list
Available kernels:
python3 /nix/store/452p7spwcycp694vd791hw2c2a2kl5c5-ihaskell-with-packages/lib/python3.13/site-packages/ipykernel/resources
haskell /home/romildo/.local/share/jupyter/kernels/haskell
$ jupyter console --kernel haskell
Jupyter console 6.6.3
IHaskell 0.11.0.0 GHC 9.8.4
In [1]: import System.Random
...:
<interactive>:1:1: error: [GHC-87110]
Could not find module ‘System.Random’.
Use -v to see a list of the files searched for.
In [2]:
Can anyone help me with this?
|