{ description = "Blackjack Rust backend"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; }; outputs = { self, nixpkgs }: let forAllSystems = function: nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed ( system: function ( import nixpkgs { inherit system; } ) ); in { devShells = forAllSystems (pkgs: { default = pkgs.mkShell { buildInputs = with pkgs; [ rustc cargo rust-analyzer rustfmt clippy ]; RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; }; }); }; }