[Nix-dev] ipython/jupyter no notebook command available

Edward Tjörnhammar ed at cflags.cc
Mon Sep 28 07:35:08 CEST 2015


On Mon, Sep 28, 2015 at 01:05:41AM -0300, Ruben Astudillo wrote:
> Hi all
>
> I was trying to play a little with ihaskell. So I launched a nix-shell
> like this
>
>      nix-shell -p pypyPackages.ipython \
>      pypyPackages.ipython_genutils \
>      pypyPackages.jupyter_client \
>      pypyPackages.jupyter_core \
>      haskellPackages.ihaskell
>
> To set up the correct environment. With it `ihaskell install` runs
> correctly and `jupyter kernelspec list' shows "Available kernels:
> haskell". But running "jupyter notebook" "jupyter qtconsole" "ipython
> notebook" returns saying that such command is not found.
>

There is a convenience wrapper that is bound to the ihaskell attribute.
The following invocation should give you the correct behaviour:

nix-shell -p ihaskell --command "ihaskell install"

But right now it is broken, see
https://github.com/NixOS/nixpkgs/issues/10074

> I am missing something? considering I haven't used ipython/jupyter
> before. Any help is welcome.
>
>
>
> _______________________________________________
> 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/20150928/0fd02d00/attachment.bin 


More information about the nix-dev mailing list