-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
54 lines (54 loc) · 1.5 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
inputs = {
# FIXME more recent revisions breaks the docs
nixpkgs.url = "github:NixOS/nixpkgs/58a1abdbae3217ca6b702f03d3b35125d88a2994";
flake-parts.url = "github:hercules-ci/flake-parts";
# TODO: use upstream `hercules-ci-effects` once this is merged:
# https://github.com/hercules-ci/hercules-ci-effects/pull/165/
# hercules-ci-effects.follows = "cardanoNix/hercules-ci-effects";
hercules-ci-effects.url = "github:mlabs-haskell/hercules-ci-effects/push-cache-effect";
devshell = {
url = "github:numtide/devshell";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-root.url = "github:srid/flake-root";
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
devour-flake = {
url = "github:srid/devour-flake";
flake = false;
};
cardano-node.url = "github:intersectmbo/cardano-node/9.1.1";
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-images = {
url = "github:nix-community/nixos-images";
};
cardano-nix.url = "github:mlabs-haskell/cardano.nix";
};
outputs = inputs @ {flake-parts, ...}:
flake-parts.lib.mkFlake {
inherit inputs;
} {
imports = [
./lib
./checks
./ci
./docs
./formatter
./shell
./modules
./tests
./apps
./templates
];
systems = [
"x86_64-linux"
"x86_64-darwin"
];
};
}