[Nix-dev] IHaskell on nixos

Edward Tjörnhammar ed at cflags.cc
Sat Jan 17 01:31:22 CET 2015


On Fri, Jan 16, 2015 at 11:41:42PM +0100, Carlo Nucera wrote:
> Hi, does anyone know how to run ihaskell notebook on nixos?

There was some movement recently which broke the ihaskell wrapper, it
should be working now.

>
> 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
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150117/b8cb01b2/attachment.bin 


More information about the nix-dev mailing list