rust: Updates & rename rustUnstable
to rustNighly
.
This commit is contained in:
parent
75f131da02
commit
8806344618
@ -3,13 +3,13 @@
|
|||||||
|
|
||||||
rec {
|
rec {
|
||||||
rustc = callPackage ./rustc.nix {
|
rustc = callPackage ./rustc.nix {
|
||||||
shortVersion = "beta-2016-08-17";
|
shortVersion = "beta-2016-11-16";
|
||||||
forceBundledLLVM = false;
|
forceBundledLLVM = false;
|
||||||
configureFlags = [ "--release-channel=beta" ];
|
configureFlags = [ "--release-channel=beta" ];
|
||||||
srcRev = "822166b842e4d0b32fafc8b077fb927ec281253d";
|
srcRev = "e627a2e6edbc7b7fd205de8ca7c86cff76655f4d";
|
||||||
srcSha = "1zkv7hyjvcj7kvbngf309skgllk6rd7727a6hkvhd3hg8jlz0d00";
|
srcSha = "14sbhn6dp6rri1rpkspjlmy359zicwmyppdak52xj1kqhcjn71wa";
|
||||||
patches = [
|
patches = [
|
||||||
./patches/disable-lockfile-check.patch
|
./patches/disable-lockfile-check-beta.patch
|
||||||
] ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
|
] ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
|
||||||
inherit targets;
|
inherit targets;
|
||||||
inherit targetPatches;
|
inherit targetPatches;
|
||||||
@ -18,10 +18,10 @@ rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
cargo = callPackage ./cargo.nix rec {
|
cargo = callPackage ./cargo.nix rec {
|
||||||
version = "beta-2016-07-25";
|
version = "0.14.0";
|
||||||
srcRev = "f09ef68cc47956ccc5f99212bdcdd15298c400a0";
|
srcRev = "eca9e159b6b0d484788ac757cf23052eba75af55";
|
||||||
srcSha = "1r6q9jd0fl6mzhwkvrrcv358q2784hg51dfpy28xgh4n61m7c155";
|
srcSha = "1zm5rzw1mvixnkzr4775pcxx6k235qqxbysyp179cbxsw3dm045s";
|
||||||
depsSha256 = "1p1ygabg9k9b0azm0mrx8asjzdi35c5zw53iysba198lli6bhdl4";
|
depsSha256 = "0gpn0cpwgpzwhc359qn6qplx371ag9pqbwayhqrsydk1zm5bm3zr";
|
||||||
|
|
||||||
inherit rustc; # the rustc that will be wrapped by cargo
|
inherit rustc; # the rustc that will be wrapped by cargo
|
||||||
inherit rustPlatform; # used to build cargo
|
inherit rustPlatform; # used to build cargo
|
||||||
|
@ -15,7 +15,7 @@ rec {
|
|||||||
srcSha = "1w0alyyc29cy2lczrqvg1kfycjxy0xg8fpzdac80m88fxpv23glp";
|
srcSha = "1w0alyyc29cy2lczrqvg1kfycjxy0xg8fpzdac80m88fxpv23glp";
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./patches/disable-lockfile-check.patch
|
./patches/disable-lockfile-check-stable.patch
|
||||||
] ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
|
] ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
|
||||||
|
|
||||||
inherit targets;
|
inherit targets;
|
||||||
|
@ -3,13 +3,13 @@
|
|||||||
|
|
||||||
rec {
|
rec {
|
||||||
rustc = callPackage ./rustc.nix {
|
rustc = callPackage ./rustc.nix {
|
||||||
shortVersion = "master-1.13.0";
|
shortVersion = "nightly-2016-11-23";
|
||||||
forceBundledLLVM = false;
|
forceBundledLLVM = false;
|
||||||
configureFlags = [ "--release-channel=nightly" ];
|
configureFlags = [ "--release-channel=nightly" ];
|
||||||
srcRev = "308824acecf902f2b6a9c1538bde0324804ba68e";
|
srcRev = "d5814b03e652043be607f96e24709e06c2b55429";
|
||||||
srcSha = "17zv1a27a7w6n3a22brriqx5m6i4s3nsj7mlnpliwghlbz8q7384";
|
srcSha = "0x2vr1mda0mr8q28h96zfpv0f26dyrg8jwxznlh6gk0y0mprgcbr";
|
||||||
patches = [
|
patches = [
|
||||||
./patches/disable-lockfile-check.patch
|
./patches/disable-lockfile-check-nightly.patch
|
||||||
] ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
|
] ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
|
||||||
inherit targets;
|
inherit targets;
|
||||||
inherit targetPatches;
|
inherit targetPatches;
|
||||||
@ -18,10 +18,10 @@ rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
cargo = callPackage ./cargo.nix rec {
|
cargo = callPackage ./cargo.nix rec {
|
||||||
version = "master-2016-07-25";
|
version = "nightly-2016-07-25";
|
||||||
srcRev = "f09ef68cc47956ccc5f99212bdcdd15298c400a0";
|
srcRev = "f09ef68cc47956ccc5f99212bdcdd15298c400a0";
|
||||||
srcSha = "1r6q9jd0fl6mzhwkvrrcv358q2784hg51dfpy28xgh4n61m7c155";
|
srcSha = "1r6q9jd0fl6mzhwkvrrcv358q2784hg51dfpy28xgh4n61m7c155";
|
||||||
depsSha256 = "1p1ygabg9k9b0azm0mrx8asjzdi35c5zw53iysba198lli6bhdl4";
|
depsSha256 = "055ky0lkrcsi976kmvc4lqyv0sjdpcj3jv36kz9hkqq0gip3crjc";
|
||||||
|
|
||||||
inherit rustc; # the rustc that will be wrapped by cargo
|
inherit rustc; # the rustc that will be wrapped by cargo
|
||||||
inherit rustPlatform; # used to build cargo
|
inherit rustPlatform; # used to build cargo
|
@ -48,12 +48,6 @@ rec {
|
|||||||
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
||||||
"$out/bin/rustc"
|
"$out/bin/rustc"
|
||||||
''}
|
''}
|
||||||
|
|
||||||
# Do NOT, I repeat, DO NOT use `wrapProgram` on $out/bin/rustc
|
|
||||||
# (or similar) here. It causes strange effects where rustc loads
|
|
||||||
# the wrong libraries in a bootstrap-build causing failures that
|
|
||||||
# are very hard to track dow. For details, see
|
|
||||||
# https://github.com/rust-lang/rust/issues/34722#issuecomment-232164943
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,25 @@
|
|||||||
|
From 5702d7cdb2bed7ac3af3c01087b181da35f6e108 Mon Sep 17 00:00:00 2001
|
||||||
|
From: joachim schiele <js@lastlog.de>
|
||||||
|
Date: Thu, 24 Nov 2016 22:25:48 +0100
|
||||||
|
Subject: [PATCH 2/2] asdf
|
||||||
|
|
||||||
|
---
|
||||||
|
src/tools/tidy/src/main.rs | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/tools/tidy/src/main.rs b/src/tools/tidy/src/main.rs
|
||||||
|
index cabaee5..685df94 100644
|
||||||
|
--- a/src/tools/tidy/src/main.rs
|
||||||
|
+++ b/src/tools/tidy/src/main.rs
|
||||||
|
@@ -48,7 +48,7 @@ fn main() {
|
||||||
|
errors::check(&path, &mut bad);
|
||||||
|
cargo::check(&path, &mut bad);
|
||||||
|
features::check(&path, &mut bad);
|
||||||
|
- cargo_lock::check(&path, &mut bad);
|
||||||
|
+ //cargo_lock::check(&path, &mut bad);
|
||||||
|
pal::check(&path, &mut bad);
|
||||||
|
|
||||||
|
if bad {
|
||||||
|
--
|
||||||
|
2.10.0
|
||||||
|
|
@ -0,0 +1,25 @@
|
|||||||
|
From ac204f8be95cdb2350a1dd893641e38528aaf01d Mon Sep 17 00:00:00 2001
|
||||||
|
From: joachim schiele <js@lastlog.de>
|
||||||
|
Date: Fri, 25 Nov 2016 02:17:02 +0100
|
||||||
|
Subject: [PATCH] asdf
|
||||||
|
|
||||||
|
---
|
||||||
|
src/tools/tidy/src/main.rs | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/tools/tidy/src/main.rs b/src/tools/tidy/src/main.rs
|
||||||
|
index cb11fe2..c9b7d2a 100644
|
||||||
|
--- a/src/tools/tidy/src/main.rs
|
||||||
|
+++ b/src/tools/tidy/src/main.rs
|
||||||
|
@@ -45,7 +45,7 @@ fn main() {
|
||||||
|
bins::check(&path, &mut bad);
|
||||||
|
style::check(&path, &mut bad);
|
||||||
|
errors::check(&path, &mut bad);
|
||||||
|
- cargo::check(&path, &mut bad);
|
||||||
|
+ //cargo::check(&path, &mut bad);
|
||||||
|
features::check(&path, &mut bad);
|
||||||
|
pal::check(&path, &mut bad);
|
||||||
|
|
||||||
|
--
|
||||||
|
2.10.0
|
||||||
|
|
@ -91,6 +91,7 @@ doNotDisplayTwice rec {
|
|||||||
rekonqWrapper = rekonq; # added 2015-01
|
rekonqWrapper = rekonq; # added 2015-01
|
||||||
rssglx = rss-glx; #added 2015-03-25
|
rssglx = rss-glx; #added 2015-03-25
|
||||||
rubygems = throw "deprecated 2016-03-02: rubygems is now bundled with ruby";
|
rubygems = throw "deprecated 2016-03-02: rubygems is now bundled with ruby";
|
||||||
|
rustUnstable = rustNightly; # added 2016-11-29
|
||||||
rxvt_unicode_with-plugins = rxvt_unicode-with-plugins; # added 2015-04-02
|
rxvt_unicode_with-plugins = rxvt_unicode-with-plugins; # added 2015-04-02
|
||||||
samsungUnifiedLinuxDriver = samsung-unified-linux-driver; # added 2016-01-25
|
samsungUnifiedLinuxDriver = samsung-unified-linux-driver; # added 2016-01-25
|
||||||
saneBackends = sane-backends; # added 2016-01-02
|
saneBackends = sane-backends; # added 2016-01-02
|
||||||
|
@ -5217,16 +5217,16 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
rust = rustStable;
|
rust = rustStable;
|
||||||
rustcNightlyBin = lowPrio(callPackage ../development/compilers/rust/nightlyBin.nix {});
|
rustcNightlyBin = lowPrio (callPackage ../development/compilers/rust/nightlyBin.nix {});
|
||||||
rustcNightlyBin-2016-11-26 = rustcNightlyBin;
|
|
||||||
rustStable = callPackage ../development/compilers/rust {};
|
rustStable = callPackage ../development/compilers/rust {};
|
||||||
rustBeta = callPackage ../development/compilers/rust/beta.nix {};
|
rustBeta = callPackage ../development/compilers/rust/beta.nix {};
|
||||||
rustUnstable = callPackage ../development/compilers/rust/head.nix {
|
rustNightly = callPackage ../development/compilers/rust/nightly.nix {
|
||||||
rustPlatform = recurseIntoAttrs (makeRustPlatform rustBeta);
|
rustPlatform = recurseIntoAttrs (makeRustPlatform rustBeta);
|
||||||
};
|
};
|
||||||
|
|
||||||
cargo = rust.cargo;
|
cargo = rust.cargo;
|
||||||
rustc = rust.rustc;
|
rustc = rust.rustc;
|
||||||
|
|
||||||
rustPlatform = recurseIntoAttrs (makeRustPlatform rust);
|
rustPlatform = recurseIntoAttrs (makeRustPlatform rust);
|
||||||
|
|
||||||
makeRustPlatform = rust: lib.fix (self:
|
makeRustPlatform = rust: lib.fix (self:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user