Skip to content

Commit 9705116

Browse files
authoredJan 23, 2018
Merge pull request #34193 from NixOS/revert-34178-fix/clang-python3
Revert "clang-{4,5}: prefer python3, much friendlier for cross"
2 parents 7bb18a9 + d18af26 commit 9705116

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
 

‎pkgs/development/compilers/llvm/4/clang/default.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, fetch, cmake, libxml2, libedit, llvm, version, release_version, clang-tools-extra_src, python3
1+
{ stdenv, fetch, cmake, libxml2, libedit, llvm, version, release_version, clang-tools-extra_src, python
22
, fixDarwinDylibNames
33
, enableManpages ? false
44
}:
@@ -16,8 +16,8 @@ let
1616
mv clang-tools-extra-* $sourceRoot/tools/extra
1717
'';
1818

19-
nativeBuildInputs = [ cmake python3 ]
20-
++ stdenv.lib.optional enableManpages python3.pkgs.sphinx;
19+
nativeBuildInputs = [ cmake python ]
20+
++ stdenv.lib.optional enableManpages python.pkgs.sphinx;
2121

2222
buildInputs = [ libedit libxml2 llvm ]
2323
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;

‎pkgs/development/compilers/llvm/5/clang/default.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, fetch, cmake, libxml2, libedit, llvm, version, release_version, clang-tools-extra_src, python3
1+
{ stdenv, fetch, cmake, libxml2, libedit, llvm, version, release_version, clang-tools-extra_src, python
22
, fixDarwinDylibNames
33
, enableManpages ? false
44
}:
@@ -16,8 +16,8 @@ let
1616
mv clang-tools-extra-* $sourceRoot/tools/extra
1717
'';
1818

19-
nativeBuildInputs = [ cmake python3 ]
20-
++ stdenv.lib.optional enableManpages python3.pkgs.sphinx;
19+
nativeBuildInputs = [ cmake python ]
20+
++ stdenv.lib.optional enableManpages python.pkgs.sphinx;
2121

2222
buildInputs = [ libedit libxml2 llvm ]
2323
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;

0 commit comments

Comments
 (0)
Please sign in to comment.