{ description = "Nix config for Rust"; inputs = { nixpkgs.url = "nixpkgs/nixos-21.11"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = inputs: inputs.flake-utils.lib.eachDefaultSystem (system: let pkgs = import inputs.nixpkgs { inherit system; }; in { devShell = pkgs.mkShell { packages = with pkgs; [ clang_12 ]; }; } ); }