File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 59
59
( name : env : f ( env // { inherit name ; } ) )
60
60
environments ;
61
61
} ;
62
+ ciJobs = self . ciJobs . ${ final . system } ;
62
63
} )
63
64
( import ./nix/pkgs.nix { inherit inputMap ; } )
64
65
] ;
137
138
supportedSystems = [ system ] ;
138
139
} ;
139
140
} // tullia . fromSimple system ( import ./nix/tullia.nix ) ) // {
141
+
142
+ # allows precise paths (avoid fallbacks) with nix build/eval:
143
+ outputs = self ;
144
+
140
145
overlay = final : prev :
141
146
with self . legacyPackages . ${ final . system } ; {
142
147
inherit cardano-db-sync cardano-node dockerImage ;
Original file line number Diff line number Diff line change @@ -22,11 +22,12 @@ rec {
22
22
23
23
command . text = config . preset . github . status . lib . reportBulk {
24
24
bulk . text = ''
25
- nix eval .#ciJobs --apply __attrNames --json |
25
+ nix eval .#outputs. ciJobs --apply __attrNames --json |
26
26
nix-systems -i |
27
27
jq 'with_entries(select(.value))' # filter out systems that we cannot build for
28
28
'' ;
29
- each . text = ''nix build -L .#ciJobs."$1".required'' ;
29
+ # have to go through legacyPackages instead of top-level attribute for compat with older nix (2.8):
30
+ each . text = ''nix build -L .#legacyPackages."$1".ciJobs.required'' ;
30
31
skippedDescription = lib . escapeShellArg "No nix builder available for this system" ;
31
32
} ;
32
33
You can’t perform that action at this time.
0 commit comments