diff options
author | Alain Lehmann <alain.lehmann@gmail.com> | 2018-02-11 14:15:28 +0100 |
---|---|---|
committer | Alain Lehmann <alain.lehmann@gmail.com> | 2018-02-11 21:34:01 +0100 |
commit | a842f0e90577d2e715e5a55e3079698946b3f2b9 (patch) | |
tree | 0ba6bfde9efd5b858c754e37d5a1e5229ff3bb67 /pkgs/top-level/python-packages.nix | |
parent | b0047a527c7fe700cc3a9710fe4da1c50c74ca6f (diff) | |
download | nixlib-a842f0e90577d2e715e5a55e3079698946b3f2b9.tar nixlib-a842f0e90577d2e715e5a55e3079698946b3f2b9.tar.gz nixlib-a842f0e90577d2e715e5a55e3079698946b3f2b9.tar.bz2 nixlib-a842f0e90577d2e715e5a55e3079698946b3f2b9.tar.lz nixlib-a842f0e90577d2e715e5a55e3079698946b3f2b9.tar.xz nixlib-a842f0e90577d2e715e5a55e3079698946b3f2b9.tar.zst nixlib-a842f0e90577d2e715e5a55e3079698946b3f2b9.zip |
graph-tool: 2.16 -> 2.26
- add ncurses: configure links against ncurses and fails otherwise configure: error: Could not link test program to Python. https://travis-ci.org/NixOS/nixpkgs/builds/48759067 The given hint (Maybe the main Python library has been installed in some non-standard library path) is misleading. The config.log reveals that the failure is due to missing ncurses link option - with-boost-libdir is need to find Boost::IOStreams/regex/etc. - expat/cgal are detected in /usr/lib when not specified explicitly - boost > boost159 is needed to have -lboost_python3 (and -lboost_python) - set pythonModule = Python; => inorder to be used in python.buildEnv { extraLibs = [..]; } tested on MacOSX and in a linux Docker container with: > nix-shell -I nixpkgs=. -p python2.pkgs.graph-tool > nix-shell -I nixpkgs=. -p python3.pkgs.graph-tool
Diffstat (limited to 'pkgs/top-level/python-packages.nix')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 515759d3e470..64a12ea69dd3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7970,9 +7970,7 @@ in { }; }; - # py3k disabled, see https://travis-ci.org/NixOS/nixpkgs/builds/48759067 - graph-tool = if isPy3k then throw "graph-tool in Nix doesn't support py3k yet" - else callPackage ../development/python-modules/graph-tool/2.x.x.nix { boost = pkgs.boost159; }; + graph-tool = callPackage ../development/python-modules/graph-tool/2.x.x.nix { }; grappelli_safe = buildPythonPackage rec { version = "0.3.13"; |