-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
30 lines (29 loc) · 934 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
description = "Yielding Transaction Pattern Library";
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
haskellNix.url = "github:input-output-hk/haskell.nix";
iohk-nix.url = "github:input-output-hk/iohk-nix";
nixpkgs.follows = "haskellNix/nixpkgs-unstable";
CHaP = {
url = "github:intersectmbo/cardano-haskell-packages?ref=repo";
flake = false;
};
git-hooks.url = "github:cachix/git-hooks.nix";
hercules-ci-effects = {
url = "github:mlabs-haskell/hercules-ci-effects/push-cache-effect";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
};
};
outputs = inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" "x86_64-darwin" ];
imports = [
./nix/pre-commit.nix
./nix/packages.nix
./nix/checks.nix
./nix/gh-pages.nix
];
};
}