[Nix-dev] IHaskell on nixos

Carlo Nucera meditans at gmail.com
Fri Jan 16 23:41:42 CET 2015


Hi, does anyone know how to run ihaskell notebook on nixos?

The naive installation via `nix-env -iA nixos.pkgs.ihaskell` doesn't
work for me, I get the following error:
---------------------------------
> ihaskell console
Updating IPython profile.
Loading profile from
/nix/store/zw2a8a60pigxlcspx9f0g4cwdx83i1gk-haskell-ihaskell-ghc7.8.4-0.4.3.0-shared/share/x86_64-linux-ghc-7.8.4/ihaskell-0.4.3.0/profile/profile.tar
IHaskell:
Ran commands:
mkdir -p /home/carlo/.ihaskell
/nix/store/2w942lbq0vbbipmc4zldr85028wnfg5d-ipython-2.3.1/bin/ipython
locate profile haskell
which /nix/store/2w942lbq0vbbipmc4zldr85028wnfg5d-ipython-2.3.1/bin/ipython
/nix/store/2w942lbq0vbbipmc4zldr85028wnfg5d-ipython-2.3.1/bin/ipython
locate profile haskell
which /nix/store/2w942lbq0vbbipmc4zldr85028wnfg5d-ipython-2.3.1/bin/ipython

Exception: /home/carlo/.ipython/profile_haskell/ipython_config.py:
openFile: does not exist (No such file or directory)
---------------------------------

I tried removing the locally created folders .ihaskell and/or
.ipython, but the error persists. I think there could be a problem
with the interaction with my local `.nixpkgs/config.nix` file, which
is this:

https://github.com/meditans/settings/blob/master/nix-local/config.nix

Do you have any idea on how should I install it?
Carlo


More information about the nix-dev mailing list