From 3dcedbf7bdf663ea4864452382a40f2492ca3bf1 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 9 Apr 2021 12:38:23 +0200 Subject: shell: hardcode channel to 1.50.0 Signed-off-by: Matthias Beyer --- shell.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/shell.nix b/shell.nix index 9bdbb40..01fd22d 100644 --- a/shell.nix +++ b/shell.nix @@ -9,11 +9,13 @@ let in pkgs.mkShell { - buildInputs = with pkgs; [ - rustChannels.stable.rust-std - rustChannels.stable.rust - rustChannels.stable.rustc - rustChannels.stable.cargo + buildInputs = with (pkgs.rustChannelOf { channel = "1.50.0"; }); [ + rust-std + rust + rustc + cargo + ] + ++ (with pkgs; [ diesel-cli pgcli @@ -26,7 +28,7 @@ pkgs.mkShell { pkgconfig which zlib - ]; + ]); LIBCLANG_PATH = "${pkgs.llvmPackages.libclang}/lib"; } -- cgit v1.2.3