{ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; rust-overlay.url = "github:oxalica/rust-overlay"; }; outputs = { nixpkgs, rust-overlay, ... }: let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; overlays = [ rust-overlay.overlays.default ]; }; rust-toolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml; in { devShells.${system}.default = pkgs.mkShell { packages = [ rust-toolchain ]; }; }; }