From 3846e67e4beeb9754159c1e4484613a6a0adcdf4 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 13 Jul 2022 13:14:52 +0530 Subject: [PATCH] feat(nix): remove Rust from the shell config I've migrated to rustup --- shell.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/shell.nix b/shell.nix index bae806c..ef8c453 100644 --- a/shell.nix +++ b/shell.nix @@ -1,14 +1,6 @@ -with import { overlays = [ (import ) ]; }; -mkShell { - buildInputs = [ - (rust-bin.stable.latest.default.override { - extensions = - [ "rust-src" "rustc-dev" "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-gnu" ]; - }) +{ pkgs ? import { } }: +pkgs.mkShell { + buildInputs = with pkgs; [ xorg.libxcb python39 ] ++ pkgs.lib.optionals stdenv.isDarwin