let rust-overlay = builtins.fetchTarball { url = "https://github.com/oxalica/rust-overlay/tarball/611e6213c5563a3f46a57c600c70e0f0fd2811f3"; sha256 = "sha256:1z9yv2wcxpzf7y4lsv21lrvzwcvsfpgfjqsg53m5z3h5pdvap26g"; }; pkgs = import { overlays = [ (import (rust-overlay)) ]; }; in with pkgs; let rustChannel = rustChannelOf { channel = "1.51.0"; }; rust = rustChannel.rust.override { extensions = [ "rust-src" ]; }; rustPlatform = makeRustPlatform { rustc = rust; cargo = rust; }; pythonWithPackages = python3.withPackages (python-packages: with python-packages; [ pandas matplotlib ]); in mkShell { buildInputs = [ clang rust openssl pkgconfig pythonWithPackages ]; LIBCLANG_PATH = "${llvmPackages.libclang}/lib"; }