Problem when installing HaskellR with Nix

49 views
Skip to first unread message

Stéphane Thibaud

unread,
Feb 11, 2017, 4:44:32 AM2/11/17
to haskellr
Hello! I have tried to install the HaskellR package using the instructions under the 'Building and installing HaskellR' section on https://tweag.github.io/HaskellR/docs/build-and-install.html 
The installation fails with the following message however (when doing the stack --nix build step):

writing top-level names to ipython_genutils.egg-info/top_level.txt
writing dependency_links to ipython_genutils.egg-info/dependency_links.txt
writing ipython_genutils.egg-info/PKG-INFO
reading manifest file 'ipython_genutils.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
error: [Errno 2] No such file or directory: 'docs'
builder for ‘/nix/store/429g772d3szxg72ph1rww5p8f36ca48w-python3.4-ipython_genutils-0.1.0.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/yxy927hjygxq9cfk6g3zqjwzk05rb0ma-python3.4-notebook-4.3.2.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/yxy927hjygxq9cfk6g3zqjwzk05rb0ma-python3.4-notebook-4.3.2.drv’ failed
/home/snthibaud/.nix-profile/bin/nix-shell: failed to build all dependencies


Any ideas on what I am missing?


Best regards,

Stéphane

Boespflug, Mathieu

unread,
Feb 11, 2017, 6:39:36 AM2/11/17
to Stéphane Thibaud, haskellr
python3.4-notebook is an upstream package in Nixpkgs. So this is likely an upstream issue. That said, I just tried this morning with Nixpkgs 17.03pre99759.f66d782 on NixOS (linux) and couldn't reproduce.

- What OS are you running this on?
- Which Nixpkgs version? Use

nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion

to find out.

--
Mathieu Boespflug
Founder at http://tweag.io.

--
You received this message because you are subscribed to the Google Groups "haskellr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haskellr+unsubscribe@googlegroups.com.
To post to this group, send email to hask...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/haskellr/718732a1-3a47-4264-8590-17c3f505858b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stéphane Thibaud

unread,
Feb 11, 2017, 7:16:10 AM2/11/17
to Boespflug, Mathieu, haskellr
Thanks for your answer!
The OS is: Ubuntu 16.04.1 LTS
The Nixpkgs version is: "17.03pre100738.3fd44e2"

Kind regards,

Stéphane

2017年2月11日(土) 20:39 Boespflug, Mathieu <m...@tweag.io>:
To unsubscribe from this group and stop receiving emails from it, send an email to haskellr+u...@googlegroups.com.

Boespflug, Mathieu

unread,
Feb 14, 2017, 9:53:55 AM2/14/17
to Stéphane Thibaud, haskellr
This is indeed an upstream issue. As a workaround, comment out the packages whose name start with python34 in shell.nix.

--
Mathieu Boespflug
Founder at http://tweag.io.

To unsubscribe from this group and stop receiving emails from it, send an email to haskellr+unsubscribe@googlegroups.com.

Boespflug, Mathieu

unread,
Feb 14, 2017, 10:11:51 AM2/14/17
to Stéphane Thibaud, haskellr
Or as another workaround, checkout the laster master branch: it turns out the python34 packages currently fail in Nixpkgs but not the python35 ones, which use a more recent interpreter anyways.

--
Mathieu Boespflug
Founder at http://tweag.io.

Stéphane Thibaud

unread,
Feb 14, 2017, 10:46:42 AM2/14/17
to Boespflug, Mathieu, haskellr

Thanks for the tip!

Best regards,

Stéphane


2017年2月15日(水) 0:11 Boespflug, Mathieu <m...@tweag.io>:
To unsubscribe from this group and stop receiving emails from it, send an email to haskellr+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages