mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
cudnn: add cudatoolkit to propagatedBuildInputs
This commit is contained in:
parent
55b8868baf
commit
ff8985e7ab
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user