cudnn: add cudatoolkit to propagatedBuildInputs

This commit is contained in:
Ian-Woo Kim 2016-05-31 19:20:00 +00:00 committed by Christoph Hrdinka
parent 55b8868baf
commit ff8985e7ab

View File

@ -1,4 +1,4 @@
{ stdenv, requireFile }:
{ stdenv, requireFile, cudatoolkit }:
stdenv.mkDerivation rec {
version = "4.0";
@ -18,18 +18,14 @@ stdenv.mkDerivation rec {
phases = "unpackPhase installPhase fixupPhase";
propagatedBuildInputs = [ cudatoolkit ];
installPhase = ''
mkdir -p $out
cp -a include $out/include
cp -a lib64 $out/lib64
'';
# all binaries are already stripped
#dontStrip = true;
# we did this in prefixup already
#dontPatchELF = true;
meta = {
description = "NVIDIA CUDA Deep Neural Network library (cuDNN)";
homepage = "https://developer.nvidia.com/cudnn";