File tree Expand file tree Collapse file tree 2 files changed +19
-14
lines changed Expand file tree Collapse file tree 2 files changed +19
-14
lines changed Original file line number Diff line number Diff line change
1
+ { self , inputs , ... } :
2
+ {
3
+ flake = {
4
+ nixosConfigurations =
5
+ let
6
+ examplesFor =
7
+ system :
8
+ import ../examples {
9
+ inherit system ;
10
+ inherit ( inputs ) nixpkgs ;
11
+ buildbot-nix = self ;
12
+ } ;
13
+ in
14
+ examplesFor "x86_64-linux" // examplesFor "aarch64-linux" ;
15
+ } ;
16
+ }
Original file line number Diff line number Diff line change 17
17
} ;
18
18
19
19
outputs =
20
- inputs @{ self , flake-parts , ... } :
20
+ inputs @{ flake-parts , ... } :
21
21
flake-parts . lib . mkFlake { inherit inputs ; } {
22
22
imports =
23
23
[
24
+ ./examples/flake-module.nix
24
25
./devShells/flake-module.nix
25
26
./nixosModules/flake-module.nix
26
27
./checks/flake-module.nix
31
32
inputs . hercules-ci-effects . flakeModule
32
33
./herculesCI/flake-module.nix
33
34
] ;
35
+
34
36
systems = [
35
37
"x86_64-linux"
36
38
"aarch64-linux"
37
39
"aarch64-darwin"
38
40
] ;
39
41
40
- flake = {
41
- nixosConfigurations =
42
- let
43
- examplesFor =
44
- system :
45
- import ./examples {
46
- inherit system ;
47
- inherit ( inputs ) nixpkgs ;
48
- buildbot-nix = self ;
49
- } ;
50
- in
51
- examplesFor "x86_64-linux" // examplesFor "aarch64-linux" ;
52
- } ;
53
42
} ;
54
43
}
You can’t perform that action at this time.
0 commit comments