-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
42 lines (42 loc) · 899 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
31
32
33
34
35
36
37
38
39
40
41
42
{
description = "Execute ACTUS traces in metric temporal logic";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
parts.url = "github:hercules-ci/flake-parts";
fmt = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
effects.url = "github:hercules-ci/hercules-ci-effects";
};
outputs =
inputs@{
self,
nixpkgs,
parts,
fmt,
effects,
}:
let
mainSystem = "x86_64-linux";
in
parts.lib.mkFlake { inherit inputs; } (
{ withSystem, ... }:
{
systems = [
mainSystem
"aarch64-darwin"
"x86_64-darwin"
];
imports = [
effects.flakeModule
./nix/actus
./nix/shells.nix
./nix/comms
fmt.flakeModule
./nix/format.nix
./nix/herc.nix
];
}
);
}