{ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; fenix.url = "github:nix-community/fenix"; fenix.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { nixpkgs, fenix, ... }: let forAllSystems = nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed; in { devShells = forAllSystems ( system: let pkgs = import nixpkgs { inherit system; config.allowUnfree = true; overlays = [ fenix.overlays.default ]; }; in { default = import ./devShell.nix { inherit pkgs; }; } ); # devShells = forAllSystems ( # system: # let # pkgs = import nixpkgs { # inherit system; # config.allowUnfree = true; # }; # in # { # default = pkgs.mkShell rec { # nativeBuildInputs = with pkgs; [ # (fenix.packages.${system}.complete.withComponents [ # "cargo" # "clippy" # "rust-src" # "rustc" # "rustfmt" # "rust-analyzer" # ]) # gcc # openssl # pkg-config # # nodejs # biome # # sqlite # sqlx-cli # lazysql # # gemini-cli # claude-code # # typos # tokei # ]; # buildInputs = [ ]; # LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (nativeBuildInputs ++ buildInputs); # }; # } # ); }; }