opencl-clhpp: use python3

This commit is contained in:
Frederik Rietdijk 2021-03-25 10:26:56 +01:00
parent 548c9c0daa
commit 5603cabc2f

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, python, opencl-headers }: { lib, stdenv, fetchFromGitHub, cmake, python3, opencl-headers }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "opencl-clhpp"; pname = "opencl-clhpp";
@ -11,10 +11,12 @@ stdenv.mkDerivation rec {
sha256 = "04g3mg2cpbi048fxxkghra81bpxzqr4r3gspx5mvqipx1lzypsci"; sha256 = "04g3mg2cpbi048fxxkghra81bpxzqr4r3gspx5mvqipx1lzypsci";
}; };
nativeBuildInputs = [ cmake python ]; nativeBuildInputs = [ cmake python3 ];
propagatedBuildInputs = [ opencl-headers ]; propagatedBuildInputs = [ opencl-headers ];
strictDeps = true;
cmakeFlags = [ cmakeFlags = [
"-DBUILD_EXAMPLES=OFF" "-DBUILD_EXAMPLES=OFF"
"-DBUILD_TESTS=OFF" "-DBUILD_TESTS=OFF"