nix/templates/rust/flake.nix
Daniel Flanagan b4bc4ce599
All checks were successful
/ check (push) Successful in 5m12s
Rust template
2024-12-23 20:52:28 -06:00

14 lines
492 B
Nix

{
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;
in {
# overlays = import nix/overlays.nix;
checks = fullImport nix/checks.nix;
packages = fullImport nix/packages.nix;
devShells = fullImport nix/shells.nix;
formatter = genPkgs (p: p.alejandra);
};
}