nix/templates/rust/flake.nix

15 lines
492 B
Nix
Raw Normal View History

2023-12-19 10:33:43 -06:00
{
2024-12-23 20:52:28 -06:00
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
inputs.git-hooks.url = "github:cachix/git-hooks.nix";
inputs.git-hooks.inputs.nixpkgs.follows = "nixpkgs";
outputs = inputs: let
inherit (import nix/boilerplate.nix inputs) fullImport genPkgs;
2023-12-19 10:33:43 -06:00
in {
2024-12-23 20:52:28 -06:00
# overlays = import nix/overlays.nix;
checks = fullImport nix/checks.nix;
packages = fullImport nix/packages.nix;
devShells = fullImport nix/shells.nix;
2024-07-30 15:16:46 -05:00
formatter = genPkgs (p: p.alejandra);
2023-12-19 10:33:43 -06:00
};
}