diff options
author | Akshay <[email protected]> | 2021-02-06 13:30:40 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2021-02-21 05:13:14 +0000 |
commit | 53f7a679a0cf7a510de13d67cf370988f71c0d08 (patch) | |
tree | b43b30df476d76d0a18feb7c6e7e00fd3ac4dae4 /flake.nix | |
parent | 9cdef4e296c77fb94d99553de05ba1aaa6c81ed8 (diff) |
deprecate view_month_offset in favor of cursor
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -19,6 +19,11 @@ | |||
19 | channel = "nightly"; | 19 | channel = "nightly"; |
20 | sha256 = "LbKHsCOFXWpg/SEyACfzZuWjKbkXdH6EJKOPSGoO01E="; # set zeros after modifying channel or date | 20 | sha256 = "LbKHsCOFXWpg/SEyACfzZuWjKbkXdH6EJKOPSGoO01E="; # set zeros after modifying channel or date |
21 | }).rust; | 21 | }).rust; |
22 | rust-src = (mozilla.rustChannelOf { | ||
23 | date = "2020-12-23"; | ||
24 | channel = "nightly"; | ||
25 | sha256 = "LbKHsCOFXWpg/SEyACfzZuWjKbkXdH6EJKOPSGoO01E="; # set zeros after modifying channel or date | ||
26 | }).rust-src; | ||
22 | 27 | ||
23 | naersk-lib = naersk.lib."${system}".override { | 28 | naersk-lib = naersk.lib."${system}".override { |
24 | cargo = rust; | 29 | cargo = rust; |
@@ -37,10 +42,15 @@ | |||
37 | devShell = pkgs.mkShell { | 42 | devShell = pkgs.mkShell { |
38 | nativeBuildInputs = [ | 43 | nativeBuildInputs = [ |
39 | rust | 44 | rust |
45 | rust-src | ||
46 | pkgs.rust-analyzer | ||
40 | pkgs.cargo | 47 | pkgs.cargo |
41 | pkgs.openssl | 48 | pkgs.openssl |
42 | pkgs.ncurses | 49 | pkgs.ncurses |
43 | ]; | 50 | ]; |
51 | shellHook = '' | ||
52 | export RUST_SRC_PATH="${rust-src}/lib/rustlib/src/rust/library" | ||
53 | ''; | ||
44 | }; | 54 | }; |
45 | }); | 55 | }); |
46 | } | 56 | } |