-
Notifications
You must be signed in to change notification settings - Fork 2
/
flake.nix
42 lines (39 loc) · 1.46 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
{
description = "Cardano New Parts Project";
inputs = rec {
nixpkgs.follows = "cardano-parts/nixpkgs";
nixpkgs-unstable.follows = "cardano-parts/nixpkgs-unstable";
flake-parts.follows = "cardano-parts/flake-parts";
iohkNix.url = "github:input-output-hk/iohk-nix";
cardano-parts.url = "github:input-output-hk/cardano-parts/next-2024-07-03";
cardano-parts.inputs.iohk-nix.follows = "iohkNix";
cardano-parts.inputs.iohk-nix-ng.follows = "iohkNix";
cardano-cli.url = "github:intersectmbo/cardano-cli/cardano-cli-9.0.0.1";
credential-manager.url = "github:intersectmbo/credential-manager";
};
outputs = inputs: let
inherit (inputs.cardano-parts.lib) recursiveImports;
in
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
imports =
recursiveImports [
./flake
./perSystem
]
++ [
inputs.cardano-parts.flakeModules.pkgs
inputs.cardano-parts.flakeModules.shell
inputs.cardano-parts.flakeModules.entrypoints
inputs.cardano-parts.flakeModules.jobs
inputs.cardano-parts.flakeModules.lib
inputs.cardano-parts.flakeModules.process-compose
];
systems = ["x86_64-linux" "aarch64-darwin"];
debug = true;
};
nixConfig = {
extra-substituters = ["https://cache.iog.io"];
extra-trusted-public-keys = ["hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="];
allow-import-from-derivation = "true";
};
}