1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

ocl-icd: update platforms, remove outdated postPatch (#137342)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Elliot 2021-10-06 03:30:32 -04:00 committed by GitHub
parent 66b6bd0072
commit b862bde8b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,14 +25,10 @@ stdenv.mkDerivation rec {
buildInputs = [ opencl-headers ];
postPatch = ''
sed -i 's,"/etc/OpenCL/vendors","${addOpenGLRunpath.driverLink}/etc/OpenCL/vendors",g' ocl_icd_loader.c
'';
meta = with lib; {
description = "OpenCL ICD Loader for ${opencl-headers.name}";
homepage = "https://github.com/OCL-dev/ocl-icd";
license = licenses.bsd2;
platforms = platforms.linux;
platforms = platforms.unix;
};
}