File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change 3
3
{
4
4
supportedSystems ? [ "x86_64-linux" "x86_64-darwin" ]
5
5
, include ? ( compiler-nix-name : true )
6
- } : let
6
+ } :
7
+ let
8
+ traceNames = prefix : builtins . mapAttrs ( n : v :
9
+ if builtins . isAttrs v
10
+ then if v ? type && v . type == "derivation"
11
+ then __trace ( prefix + n ) v
12
+ else traceNames ( prefix + n + "." ) v
13
+ else v ) ;
14
+
7
15
defaultNix = import ./. { } ;
8
16
9
17
inherit ( defaultNix ) pkgs ;
20
28
21
29
jobs = lib . getAttrs supportedSystems ( filterCiJobs defaultNix . ciJobs ) ;
22
30
31
+ windows-secp256k1 =
32
+ let
33
+ pkgs = ( import ./. { } ) . pkgs-unstable ;
34
+ makeBinDist = drv : pkgs . runCommand drv . name {
35
+ nativeBuildInputs = [ pkgs . zip ] ;
36
+ } ''
37
+ mkdir -p $out/nix-support
38
+ cp -r ${ drv } /* .
39
+ chmod -R +w .
40
+ zip -r $out/${ drv . name } .zip .
41
+ echo "file binary-dist $out/${ drv . name } .zip" > $out/nix-support/hydra-build-products
42
+ '' ;
43
+ in makeBinDist pkgs . pkgsCross . mingwW64 . secp256k1 ;
23
44
required = defaultNix . pkgs . releaseTools . aggregate {
24
45
name = "github-required" ;
25
46
meta . description = "All jobs required to pass CI" ;
26
47
constituents = lib . collect lib . isDerivation jobs ;
27
48
} ;
28
49
in
29
- jobs // { inherit required ; }
50
+ traceNames "job " ( jobs // { inherit windows-secp256k1 required ; } )
You can’t perform that action at this time.
0 commit comments