[Nix-dev] IHaskell on nixos

Edward Tjörnhammar ed at cflags.cc
Sat Jan 17 18:45:28 CET 2015


On Sat, Jan 17, 2015 at 02:39:57AM +0100, Carlo Nucera wrote:
> 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)

Exactly, I validated a fix and commited it to the nixpkgs repo. You will
have to wait for the delft hydra to munge through to its place in the
queue, after which, if everything checks out, it will get published on
the unstable channel.

You can see the latest published shorthash as the rightmost part of
the title, after the last dot, at:

http://nixos.org/channels/nixpkgs-unstable

>
> 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
> _______________________________________________
> 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/35c85937/attachment.bin 


More information about the nix-dev mailing list