From 879b115d651b26d3935f5c95d06f426019dedcd3 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 21 Feb 2021 10:12:10 +0530 Subject: remove all instances of view_month_offset --- flake.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index a51c554..4526047 100644 --- a/flake.nix +++ b/flake.nix @@ -19,6 +19,11 @@ channel = "nightly"; sha256 = "LbKHsCOFXWpg/SEyACfzZuWjKbkXdH6EJKOPSGoO01E="; # set zeros after modifying channel or date }).rust; + rust-src = (mozilla.rustChannelOf { + date = "2020-12-23"; + channel = "nightly"; + sha256 = "LbKHsCOFXWpg/SEyACfzZuWjKbkXdH6EJKOPSGoO01E="; # set zeros after modifying channel or date + }).rust-src; naersk-lib = naersk.lib."${system}".override { cargo = rust; @@ -37,10 +42,15 @@ devShell = pkgs.mkShell { nativeBuildInputs = [ rust + rust-src + pkgs.rust-analyzer pkgs.cargo pkgs.openssl pkgs.ncurses ]; + shellHook = '' + export RUST_SRC_PATH="${rust-src}/lib/rustlib/src/rust/library" + ''; }; }); } -- cgit v1.2.3