let oxalica_overlay = import (builtins.fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz"); nixpkgs = import { overlays = [ oxalica_overlay ]; }; in with nixpkgs; stdenv.mkDerivation { name = "rust-env"; buildInputs = [ (rust-bin.stable."1.68.0".default.override { extensions = [ "rust-src" ]; }) # used for test debuging cargo-insta ]; # Set Environment Variables RUST_BACKTRACE = 1; }