libclc: use python3
This commit is contained in:
parent
993f3e4b4e
commit
b89e2d2ed0
1 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchFromGitHub, python, llvmPackages }:
|
||||
{ lib, stdenv, fetchFromGitHub, python3, llvmPackages }:
|
||||
|
||||
let
|
||||
llvm = llvmPackages.llvm;
|
||||
|
@ -16,8 +16,9 @@ stdenv.mkDerivation {
|
|||
sha256 = "03l9frx3iw3qdsb9rrscgzdwm6872gv6mkssvn027ndf9y321xk7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ python ];
|
||||
buildInputs = [ llvm clang clang-unwrapped ];
|
||||
nativeBuildInputs = [ python3 llvm ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's,llvm_clang =.*,llvm_clang = "${clang-unwrapped}/bin/clang",' configure.py
|
||||
|
@ -25,7 +26,7 @@ stdenv.mkDerivation {
|
|||
'';
|
||||
|
||||
configurePhase = ''
|
||||
${python.interpreter} ./configure.py --prefix=$out
|
||||
${python3.interpreter} ./configure.py --prefix=$out
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Reference in a new issue