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

2015-09-27 Thread Ruben Astudillo
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.

I am missing something? considering I haven't used ipython/jupyter
before. Any help is welcome.



___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


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

2015-09-27 Thread Edward Tjörnhammar
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@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


pgpJJcfSMyipb.pgp
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev