!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

690 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure137 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
7 Sep 2025
@emilazy:matrix.orgemilyI do worry a bit about the part where he says the resulting binaries are 10x slower than GHC.21:55:36
@emilazy:matrix.orgemilyit's not exactly fast to bootstrap GHC to begin with21:55:49
@emilazy:matrix.orgemilybut I guess targeted optimization work could be applied21:56:08
8 Sep 2025
@romildo:matrix.orgromildo joined the room.21:04:44
@romildo:matrix.orgromildo

I want to install IHaskell with access to the System.Random package, as 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?

21:16:33
@romildo:matrix.orgromildo *

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?

21:16:47

Show newer messages


Back to Room ListRoom Version: 6