File tree Expand file tree Collapse file tree 2 files changed +63
-48
lines changed Expand file tree Collapse file tree 2 files changed +63
-48
lines changed Original file line number Diff line number Diff line change @@ -23,24 +23,23 @@ in rec {
23
23
preset = {
24
24
nix . enable = true ;
25
25
26
- github . status = {
26
+ github . ci = {
27
27
enable = config . actionRun . facts != { } ;
28
28
inherit repository ;
29
+ remote = config . preset . github . lib . readRepository ciInputName null ;
29
30
revision = config . preset . github . lib . readRevision ciInputName null ;
30
31
} ;
31
32
} ;
32
33
33
- command . text = let
34
- flakeUrl = ''github:${ repository } /"$(${ lib . escapeShellArg config . preset . github . status . revision } )"'' ;
35
- in config . preset . github . status . lib . reportBulk {
34
+ command . text = config . preset . github . status . lib . reportBulk {
36
35
bulk . text = ''
37
36
echo '["x86_64-linux", "x86_64-darwin"]' | nix-systems -i \
38
37
| jq 'with_entries(.key |= {"x86_64-linux": "linux", "x86_64-darwin": "macos"}[.])'
39
38
'' ;
40
- each . text = ''nix build -L ${ flakeUrl } #${ lib . escapeShellArg top } ."$1".required'' ;
39
+ each . text = ''nix build -L . #${ lib . escapeShellArg top } ."$1".required'' ;
41
40
skippedDescription = lib . escapeShellArg "No nix builder available for this platform" ;
42
41
} + "\n " + ''
43
- nix build -L ${ flakeUrl } #${ lib . escapeShellArg top } .cardano-deployment
42
+ nix build -L . #${ lib . escapeShellArg top } .cardano-deployment
44
43
'' ;
45
44
46
45
env . NIX_CONFIG = ''
You can’t perform that action at this time.
0 commit comments