diff --git a/pkgs/development/compilers/llvm/3.4/lld.nix b/pkgs/development/compilers/llvm/3.4/lld.nix index c502b0e215e..c1841610f31 100644 --- a/pkgs/development/compilers/llvm/3.4/lld.nix +++ b/pkgs/development/compilers/llvm/3.4/lld.nix @@ -1,4 +1,4 @@ -{ stdenv, fetch, cmake, llvm, ncurses, zlib, python, version }: +{ stdenv, fetch, cmake, llvm, ncurses, zlib, python2, version }: stdenv.mkDerivation { name = "lld-${version}"; @@ -11,7 +11,7 @@ stdenv.mkDerivation { export cmakeFlags="$cmakeFlags -DLLD_PATH_TO_LLVM_SOURCE="`ls -d $PWD/llvm-*` ''; - buildInputs = [ cmake ncurses zlib python ]; + buildInputs = [ cmake ncurses zlib python2 ]; cmakeFlags = [ "-DCMAKE_CXX_FLAGS=-std=c++11" diff --git a/pkgs/development/compilers/llvm/3.4/lldb.nix b/pkgs/development/compilers/llvm/3.4/lldb.nix index cd498b5cf51..5d2e9c479ab 100644 --- a/pkgs/development/compilers/llvm/3.4/lldb.nix +++ b/pkgs/development/compilers/llvm/3.4/lldb.nix @@ -8,7 +8,7 @@ , libedit , llvm , clang -, python +, python2 , version }: @@ -23,7 +23,7 @@ stdenv.mkDerivation { scripts/Python/build-swig-Python.sh ''; - buildInputs = [ cmake python which swig ncurses zlib libedit ]; + buildInputs = [ cmake python2 which swig ncurses zlib libedit ]; cmakeFlags = [ "-DCMAKE_CXX_FLAGS=-std=c++11" diff --git a/pkgs/development/compilers/llvm/3.4/llvm.nix b/pkgs/development/compilers/llvm/3.4/llvm.nix index 7471974d00a..54346baba0d 100644 --- a/pkgs/development/compilers/llvm/3.4/llvm.nix +++ b/pkgs/development/compilers/llvm/3.4/llvm.nix @@ -3,7 +3,7 @@ , perl , groff , cmake -, python +, python2 , libffi , binutils , libxml2 @@ -30,7 +30,7 @@ in stdenv.mkDerivation rec { buildInputs = [ perl groff cmake libxml2 libffi ] - ++ stdenv.lib.optional (!stdenv.isDarwin) python /* + ++ stdenv.lib.optional (!stdenv.isDarwin) python2 /* ++ stdenv.lib.optional stdenv.isLinux valgrind */; propagatedBuildInputs = [ ncurses zlib ]; diff --git a/pkgs/development/compilers/llvm/3.4/polly.nix b/pkgs/development/compilers/llvm/3.4/polly.nix index 2fed0fc8abe..3d3483afafa 100644 --- a/pkgs/development/compilers/llvm/3.4/polly.nix +++ b/pkgs/development/compilers/llvm/3.4/polly.nix @@ -1,4 +1,4 @@ -{ stdenv, fetch, cmake, isl, python, gmp, llvm, version }: +{ stdenv, fetch, cmake, isl, python2, gmp, llvm, version }: stdenv.mkDerivation { name = "polly-${version}"; @@ -7,7 +7,7 @@ stdenv.mkDerivation { patches = [ ./polly-separate-build.patch ]; - buildInputs = [ cmake isl python gmp ]; + buildInputs = [ cmake isl python2 gmp ]; cmakeFlags = [ "-DCMAKE_CXX_FLAGS=-std=c++11"