mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
pycuda: fix boost_python3 link
Boost python library now named -lboost_python3 on py3. Remove a couple unused inputs.
This commit is contained in:
parent
428708feba
commit
589d4640fb
@ -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 = ''
|
||||
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user