Merge pull request #21995 from abbradar/opencl

Fix OpenCL support
This commit is contained in:
Nikolay Amiantov
2017-01-20 12:09:17 +03:00
committed by GitHub
13 changed files with 152 additions and 119 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, opencl-headers, opencl-icd }:
{ stdenv, fetchurl, makeWrapper, opencl-headers, ocl-icd }:
assert stdenv.isLinux;
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
'';
postFixup = ''
wrapProgram $out/bin/hashcat --prefix LD_LIBRARY_PATH : ${opencl-icd}/lib
wrapProgram $out/bin/hashcat --prefix LD_LIBRARY_PATH : ${ocl-icd}/lib
'';
meta = {