-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathflake.nix
More file actions
24 lines (21 loc) · 866 Bytes
/
flake.nix
File metadata and controls
24 lines (21 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
description = "Nix template for Haskell projects";
inputs = {
# nixpkgs revision used internally for GHC 9.2.8
nixpkgs.url = "github:nixos/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c";
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-parts/*.nix
# cf. https://nixos-unified.org/autowiring.html#flake-parts
#
# To write your own Nix, add or edit files in ./nix/modules/flake-parts/
inputs.nixos-unified.lib.mkFlake
{ inherit inputs; root = ./.; };
}