[Nix-dev] IHaskell on nixos

Carlo Nucera meditans at gmail.com
Sat Jan 17 02:39:57 CET 2015


Hi Edward,
do you mean that the change isn't in nixos-unstable yet, but it's
merged? (I'm using nixos-unstable, and I obtain the error I described
early)

Best regards
Carlo

2015-01-17 1:31 GMT+01:00 Edward Tjörnhammar <ed at cflags.cc>:
> 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


More information about the nix-dev mailing list