From 0385f033b22a4b79c3379042b87cae1d0588a412 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 17 Feb 2022 12:31:47 +0530 Subject: [PATCH] nix: pin Rust version --- shell.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/shell.nix b/shell.nix index 3c6c668..c8000b7 100644 --- a/shell.nix +++ b/shell.nix @@ -2,10 +2,9 @@ with import { overlays = [ (import ) ]; }; mkShell { RUSTFLAGS = ""; buildInputs = [ - (rust-bin.selectLatestNightlyWith (toolchain: - toolchain.default.override { - extensions = [ "rust-src" "rustfmt-preview" ]; - })) + (rust-bin.nightly."2022-02-14".default.override { + extensions = [ "rust-src" "rustfmt-preview" ]; + }) xorg.libxcb ]; }