Skip to content

Commit aef947a

Browse files
authored
A0-2133: bump rust version for nix (#1478)
# Description nix build scripts should use rust-1.70.
1 parent 646cfa4 commit aef947a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nix/versions.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ rec {
33
rustToolchain =
44
let
55
# use Rust toolchain declared by the rust-toolchain.toml file
6-
rustToolchain = with nixpkgs; overrideRustTarget ( rustChannelOf { date = "2022-10-30"; channel = "nightly"; } );
6+
rustToolchain = with nixpkgs; overrideRustTarget ( rustChannelOf { channel = "1.70"; } );
77

88
overrideRustTarget = rustChannel: rustChannel // {
99
rust = rustChannel.rust.override {
@@ -18,8 +18,8 @@ rec {
1818
# this overlay allows us to use a version of the rust toolchain specified by the rust-toolchain.toml file
1919
rustOverlay =
2020
import (builtins.fetchTarball {
21-
url = "https://github.com/mozilla/nixpkgs-mozilla/archive/f233fdc4ff6ba2ffeb1e3e3cd6d63bb1297d6996.tar.gz";
22-
sha256 = "1rzz03h0b38l5sg61rmfvzpbmbd5fn2jsi1ccvq22rb76s1nbh8i";
21+
url = "https://github.com/mozilla/nixpkgs-mozilla/archive/7800b921f749d74ecb8456f35f7ef04cd49b4d24.tar.gz";
22+
sha256 = "1shxjmpmx92q9msh9qy3bz3pk9xcj4rkbphy0q01qgmmrc2f313h";
2323
});
2424

2525
# pinned version of nix packages

0 commit comments

Comments
 (0)