summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-04-09 12:38:23 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-04-09 13:10:44 +0200
commit3dcedbf7bdf663ea4864452382a40f2492ca3bf1 (patch)
tree6af1a2f15fdec112baf3296d44e0816bd37c85eb
parentca0840cd0315ab5e71c97ad7efd8fc5e1a480533 (diff)
shell: hardcode channel to 1.50.0shell-rust-toolchain
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--shell.nix14
1 files 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";
}