diff options
author | Will Dietz <w@wdtz.org> | 2018-01-11 12:24:35 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-01-22 17:31:37 -0600 |
commit | 973d4f5354c6609e39e9736a0d34e2a32896a3c2 (patch) | |
tree | 084eaaa9d2373774afcf37c75859d0d687642f71 /pkgs/development/compilers/llvm/4/clang/default.nix | |
parent | 4e5a4a92e898e8255ff3a8d2c9293abfd48168e8 (diff) | |
download | nixlib-973d4f5354c6609e39e9736a0d34e2a32896a3c2.tar nixlib-973d4f5354c6609e39e9736a0d34e2a32896a3c2.tar.gz nixlib-973d4f5354c6609e39e9736a0d34e2a32896a3c2.tar.bz2 nixlib-973d4f5354c6609e39e9736a0d34e2a32896a3c2.tar.lz nixlib-973d4f5354c6609e39e9736a0d34e2a32896a3c2.tar.xz nixlib-973d4f5354c6609e39e9736a0d34e2a32896a3c2.tar.zst nixlib-973d4f5354c6609e39e9736a0d34e2a32896a3c2.zip |
clang-{4,5}: prefer python3, much friendlier for cross
Diffstat (limited to 'pkgs/development/compilers/llvm/4/clang/default.nix')
-rw-r--r-- | pkgs/development/compilers/llvm/4/clang/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/compilers/llvm/4/clang/default.nix b/pkgs/development/compilers/llvm/4/clang/default.nix index 77863ab4f1ea..28eb118e00df 100644 --- a/pkgs/development/compilers/llvm/4/clang/default.nix +++ b/pkgs/development/compilers/llvm/4/clang/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetch, cmake, libxml2, libedit, llvm, version, release_version, clang-tools-extra_src, python +{ stdenv, fetch, cmake, libxml2, libedit, llvm, version, release_version, clang-tools-extra_src, python3 , fixDarwinDylibNames , enableManpages ? false }: @@ -16,8 +16,8 @@ let mv clang-tools-extra-* $sourceRoot/tools/extra ''; - nativeBuildInputs = [ cmake python ] - ++ stdenv.lib.optional enableManpages python.pkgs.sphinx; + nativeBuildInputs = [ cmake python3 ] + ++ stdenv.lib.optional enableManpages python3.pkgs.sphinx; buildInputs = [ libedit libxml2 llvm ] ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames; |