rustBeta.rustc: beta-1.10.10 -> 1.11.0, rustBeta.cargo: 0.10.0 -> 0.12.0.

This commit is contained in:
Moritz Ulrich
2016-08-10 21:16:37 +02:00
parent 26d25774fa
commit 4115e94c87
2 changed files with 21 additions and 11 deletions
+10 -2
View File
@@ -1,7 +1,8 @@
{ stdenv, fetchurl, fetchgit, fetchzip, file, python2, tzdata, procps
, llvm, jemalloc, ncurses, darwin, binutils, rustPlatform, git
, llvm, jemalloc, ncurses, darwin, binutils, rustPlatform, git, cmake, curl
, isRelease ? false
, needsCmake ? false
, shortVersion
, forceBundledLLVM ? false
, srcSha, srcRev
@@ -94,8 +95,15 @@ stdenv.mkDerivation {
configureFlagsArray+=("--infodir=$out/share/info")
'';
# New -beta and -unstable unfortunately need cmake for compiling
# llvm-rt but don't use it for the normal build. This disables cmake
# in Nix.
dontUseCmakeConfigure = needsCmake;
# ps is needed for one of the test cases
nativeBuildInputs = [ file python2 procps rustPlatform.rust.rustc git ];
nativeBuildInputs = [ file python2 procps rustPlatform.rust.rustc git ]
++ stdenv.lib.optional needsCmake [ cmake curl ];
buildInputs = [ ncurses ] ++ targetToolchains
++ stdenv.lib.optional (!forceBundledLLVM) llvmShared;