# { pkgs ? import {}}: let rust_overlay = import (builtins.fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz"); pkgs = import { overlays = [ rust_overlay ]; }; ruststable = (pkgs.rust-bin.stable.latest.default.override { extensions = [ "rust-src" "clippy" ]; }); in pkgs.mkShell { buildInputs = with pkgs; [ ruststable rust-analyzer ]; shellHook = '' cargo install --locked bacon export PATH=$HOME/.cargo/bin:$PATH ''; }