nix/templates/rust/flake.nix

15 lines
495 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
2025-01-02 21:16:51 -06:00
inherit (import nix/boilerplate.nix inputs) call genPkgs;
2023-12-19 10:33:43 -06:00
in {
2024-12-23 20:52:28 -06:00
# overlays = import nix/overlays.nix;
2025-01-02 21:16:51 -06:00
checks = call (import nix/checks.nix);
packages = call (import nix/packages.nix);
devShells = call (import nix/shells.nix);
2024-07-30 15:16:46 -05:00
formatter = genPkgs (p: p.alejandra);
2023-12-19 10:33:43 -06:00
};
}