mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
oclgrind: switch to python3
This commit is contained in:
parent
187764481b
commit
9f9b94fe19
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages, readline, python2 }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages, readline, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "oclgrind";
|
||||
@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ llvmPackages.llvm llvmPackages.clang-unwrapped readline python2 ];
|
||||
checkInputs = [ python3 ];
|
||||
buildInputs = [ llvmPackages.llvm llvmPackages.clang-unwrapped readline ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCLANG_ROOT=${llvmPackages.clang-unwrapped}"
|
||||
|
Loading…
Reference in New Issue
Block a user