{
description = "Named tuples, records, and more!";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
utils.url = "github:numtide/flake-utils";
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, fenix, utils, nixpkgs }:
utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {inherit system;};
toolchain = with fenix.packages.${system}; combine [
minimal.rustc minimal.cargo default.clippy
];
in {
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
git toolchain
];
};
});
}