chore: initialize project template
This commit is contained in:
commit
3857b5dfa3
15 changed files with 3728 additions and 0 deletions
22
flake.nix
Normal file
22
flake.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
description = "Nix template for Haskell projects";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
|
||||
nixos-unified.url = "github:srid/nixos-unified";
|
||||
haskell-flake.url = "github:srid/haskell-flake";
|
||||
fourmolu-nix.url = "github:jedimahdi/fourmolu-nix";
|
||||
|
||||
git-hooks.url = "github:cachix/git-hooks.nix";
|
||||
git-hooks.flake = false;
|
||||
};
|
||||
|
||||
outputs = inputs:
|
||||
# This will import ./nix/modules/flake/*.nix
|
||||
# cf. https://nixos-unified.org/autowiring.html#flake-parts
|
||||
#
|
||||
# To write your own Nix, add or edit files in ./nix/modules/flake/
|
||||
inputs.nixos-unified.lib.mkFlake
|
||||
{ inherit inputs; root = ./.; };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue