{ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; flake-utils = { url = "github:numtide/flake-utils"; }; }; outputs = { flake-utils, nixpkgs, ... }: flake-utils.lib.eachDefaultSystem ( system: let pkgs = import nixpkgs { localSystem = { inherit system; }; }; in { formatter = pkgs.alejandra; devShells.default = pkgs.mkShell { packages = with pkgs; [ clang-tools gcc bear gnumake ]; }; } ); nixConfig = { keepOutputs = true; }; }