{ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; fenix = { url = "github:nix-community/fenix"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { self, nixpkgs, fenix }: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; fpkgs = fenix.packages.${system}; rust = with fpkgs; combine (with stable; [ defaultToolchain rust-analyzer rust-src ]); in rec { devShells.${system}.default = pkgs.mkShell { packages = [ rust ]; }; }; }