cling: use python3

This commit is contained in:
Frederik Rietdijk 2021-03-25 12:00:51 +01:00
parent d083017838
commit 4f39a2db4d

View File

@ -1,5 +1,5 @@
{ lib, stdenv { lib, stdenv
, python , python3
, libffi , libffi
, git , git
, cmake , cmake
@ -38,9 +38,11 @@ let
chmod -R a+w ./tools/cling chmod -R a+w ./tools/cling
''; '';
nativeBuildInputs = [ python git cmake ]; nativeBuildInputs = [ python3 git cmake ];
buildInputs = [ libffi llvmPackages_5.llvm zlib ]; buildInputs = [ libffi llvmPackages_5.llvm zlib ];
strictDeps = true;
cmakeFlags = [ cmakeFlags = [
"-DLLVM_TARGETS_TO_BUILD=host;NVPTX" "-DLLVM_TARGETS_TO_BUILD=host;NVPTX"
"-DLLVM_ENABLE_RTTI=ON" "-DLLVM_ENABLE_RTTI=ON"