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:
parent
66b6bd0072
commit
b862bde8b0
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue