From 7a530e7f2ea729322696d1a780d473ee039b2ac1 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 29 Mar 2022 16:22:25 +0530 Subject: [PATCH] nix: switch back to nightlies --- shell.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/shell.nix b/shell.nix index 8f14c64..8b0a92d 100644 --- a/shell.nix +++ b/shell.nix @@ -1,13 +1,14 @@ with import { overlays = [ (import ) ]; }; mkShell { buildInputs = [ - (rust-bin.stable.latest.default.override { - extensions = [ "rust-src" "rustfmt-preview" ]; + (rust-bin.selectLatestNightlyWith (toolchain: + toolchain.default.override { + extensions = [ "rust-src" "rustfmt-preview" "llvm-tools-preview"]; targets = pkgs.lib.optionals pkgs.stdenv.isDarwin [ "aarch64-apple-darwin" ] ++ pkgs.lib.optionals pkgs.stdenv.isLinux [ "x86_64-unknown-linux-musl" ]; - }) + })) xorg.libxcb python39 ];