diff options
author | artuuge <artuuge@gmail.com> | 2016-06-14 20:01:51 +0200 |
---|---|---|
committer | artuuge <artuuge@gmail.com> | 2016-06-14 20:01:51 +0200 |
commit | d1f38e2adcc78cfb17f2d60c0c63dd597b3e5c90 (patch) | |
tree | 00846f35e54c91a6ca607407bfbb12b9d82227f4 /pkgs/development/python-modules | |
parent | 93a11d8b0f8d53cc8171e6b74db1f31f9a6d63b5 (diff) | |
download | nixlib-d1f38e2adcc78cfb17f2d60c0c63dd597b3e5c90.tar nixlib-d1f38e2adcc78cfb17f2d60c0c63dd597b3e5c90.tar.gz nixlib-d1f38e2adcc78cfb17f2d60c0c63dd597b3e5c90.tar.bz2 nixlib-d1f38e2adcc78cfb17f2d60c0c63dd597b3e5c90.tar.lz nixlib-d1f38e2adcc78cfb17f2d60c0c63dd597b3e5c90.tar.xz nixlib-d1f38e2adcc78cfb17f2d60c0c63dd597b3e5c90.tar.zst nixlib-d1f38e2adcc78cfb17f2d60c0c63dd597b3e5c90.zip |
make clblas-cuda and libgpuarray-cuda more functorial
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/libgpuarray/cuda/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/libgpuarray/cuda/default.nix b/pkgs/development/python-modules/libgpuarray/cuda/default.nix index 70a79b76ec1a..6934d9bfe6f4 100644 --- a/pkgs/development/python-modules/libgpuarray/cuda/default.nix +++ b/pkgs/development/python-modules/libgpuarray/cuda/default.nix @@ -18,8 +18,14 @@ , python , cudatoolkit , nvidia_x11 +, setuptools }: - +let + scipy_numpy = scipy.override (let inherit numpy; in { + passthru = { blas = numpy.blas; }; + propagatedBuildInputs = [ numpy.blas numpy ] ++ [ python setuptools ]; + }); +in buildPythonPackage rec { name = "libgpuarray-cuda-${version}"; version = "-9998.0"; @@ -98,7 +104,7 @@ EOF propagatedBuildInputs = [ numpy - scipy + scipy_numpy nose six Mako |