website/flake.nix

23 lines
530 B
Nix
Raw Normal View History

2024-11-09 18:07:47 -06:00
{
inputs = {
2024-12-05 02:26:48 -06:00
haskell-flake.url = "github:srid/haskell-flake";
2025-04-11 13:29:01 -05:00
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
pre-commit-hooks-nix.url = "github:cachix/pre-commit-hooks.nix";
2024-11-09 18:07:47 -06:00
};
2025-04-11 13:29:01 -05:00
outputs =
inputs@{
self,
nixpkgs,
flake-parts,
...
}:
flake-parts.lib.mkFlake { inherit inputs; } {
2024-11-09 18:07:47 -06:00
imports = [
2024-12-05 02:26:48 -06:00
inputs.haskell-flake.flakeModule
2025-04-11 13:29:01 -05:00
inputs.pre-commit-hooks-nix.flakeModule
./parts
2024-11-09 18:07:47 -06:00
];
2025-04-11 13:29:01 -05:00
systems = nixpkgs.lib.systems.flakeExposed;
2024-11-09 18:07:47 -06:00
};
}