File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 77
77
} ;
78
78
supervisorConf =
79
79
import ./supervisor-conf.nix
80
- { inherit ( profileNix ) node-services ;
80
+ { inherit profileNix ;
81
81
inherit pkgs lib stateDir ;
82
82
unixHttpServerPort = "/tmp/supervisor.sock" ;
83
83
} ;
Original file line number Diff line number Diff line change 1
1
{ pkgs
2
2
, lib
3
3
, stateDir
4
- , node-services
4
+ , profileNix
5
5
, unixHttpServerPort ? null
6
6
, inetHttpServerPort ? null
7
7
} :
41
41
}
42
42
//
43
43
listToAttrs
44
- ( mapAttrsToList ( _ : nodeSvcSupervisorProgram ) node-services )
44
+ ( mapAttrsToList ( _ : nodeSvcSupervisorProgram ) ( profileNix . node-services ) )
45
45
//
46
46
{
47
47
"program:generator" = {
58
58
} ;
59
59
}
60
60
//
61
- {
61
+ lib . attrsets . optionalAttrs ( profileNix . value . node . tracer ) {
62
62
"program:tracer" = {
63
63
directory = "${ stateDir } /tracer" ;
64
64
command = "sh start.sh" ;
Original file line number Diff line number Diff line change 32
32
materialise-profile =
33
33
{ stateDir , profileNix } :
34
34
let supervisorConf = import ./supervisor-conf.nix
35
- { inherit ( profileNix ) node-services ;
35
+ { inherit profileNix ;
36
36
inherit pkgs lib stateDir ;
37
37
inetHttpServerPort = "127.0.0.1:9001" ;
38
38
} ;
You can’t perform that action at this time.
0 commit comments