pycuda: fix boost_python3 link

Boost python library now named -lboost_python3 on py3.
Remove a couple unused inputs.
This commit is contained in:
Dylan Simon 2017-12-23 16:02:47 -05:00
parent 428708feba
commit 589d4640fb
2 changed files with 2 additions and 4 deletions

View File

@ -13,8 +13,7 @@
, python
, mkDerivation
, stdenv
, pythonOlder
, isPy35
, isPy3k
}:
let
compyte = import ./compyte.nix {
@ -35,7 +34,7 @@ buildPythonPackage rec {
${python.interpreter} configure.py --boost-inc-dir=${boost.dev}/include \
--boost-lib-dir=${boost}/lib \
--no-use-shipped-boost \
--boost-python-libname=boost_python
--boost-python-libname=boost_python${stdenv.lib.optionalString isPy3k "3"}
'';
postInstall = ''

View File

@ -6524,7 +6524,6 @@ in {
pycuda = callPackage ../development/python-modules/pycuda rec {
cudatoolkit = pkgs.cudatoolkit75;
inherit (pkgs.stdenv) mkDerivation;
inherit pythonOlder;
};
pyphen = callPackage ../development/python-modules/pyphen {};