Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
nix: version.nix uses fixed version of rust toolchain now (nightly-20…
…22-08-12)
  • Loading branch information
fixxxedpoint committed Jan 17, 2023
commit 4e821226cf618cda174dbba95b184849c55cc74d
6 changes: 1 addition & 5 deletions nix/versions.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ rec {
rustToolchain =
let
# use Rust toolchain declared by the rust-toolchain file
rustToolchain = with nixpkgs; overrideRustTarget ( rustChannelOf { rustToolchain = rustToolchainFile; } );
rustToolchain = with nixpkgs; overrideRustTarget ( rustChannelOf { date = "2022-08-12"; channel = "nightly"; } );

overrideRustTarget = rustChannel: rustChannel // {
rust = rustChannel.rust.override {
Expand Down Expand Up @@ -31,10 +31,6 @@ rec {
sha256 = "1wg61h4gndm3vcprdcg7rc4s1v3jkm5xd7lw8r2f67w502y94gcy";
}) { overlays = [
rustOverlay
# we override rust toolchain
(self: super: {
rust = rustToolchain.rust;
})
];
};
in
Expand Down