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