rust: keep multiple version.

Firefox 70.0.1 and Thunderbird 68.2.2 require older version of rustc.
This commit is contained in:
taku0
2019-11-08 21:12:01 +09:00
parent f2503c14e5
commit 97f20c3011
6 changed files with 71 additions and 22 deletions
+4 -2
View File
@@ -4,6 +4,8 @@
, pkgconfig, openssl
, which, libffi
, withBundledLLVM ? false
, version
, sha256
}:
let
@@ -18,11 +20,11 @@ let
llvmShared = llvm_7.override { enableSharedLibraries = true; };
in stdenv.mkDerivation rec {
pname = "rustc";
version = "1.39.0";
inherit version;
src = fetchurl {
url = "https://static.rust-lang.org/dist/rustc-${version}-src.tar.gz";
sha256 = "0mwkc1bnil2cfyf6nglpvbn2y0zfbv44zfhsd5qg4c9rm6vgd8dl";
inherit sha256;
};
__darwinAllowLocalNetworking = true;