File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -102,11 +102,6 @@ in {
102
102
${ concatStringsSep " \\ \n " filteredArgs } \
103
103
${ lib . escapeShellArgs cfg . extraArgs }
104
104
'' ;
105
-
106
- package =
107
- if cfg . blst-portable
108
- then pkgs . erigon-blst-portable
109
- else cfg . package ;
110
105
in
111
106
nameValuePair serviceName ( mkIf cfg . enable {
112
107
description = "Erigon Ethereum node (${ erigonName } )" ;
122
117
ExecStartPre = mkIf cfg . subVolume ( mkBefore [
123
118
"+${ scripts . setupSubVolume } /var/lib/private/${ serviceName } "
124
119
] ) ;
125
- ExecStart = "${ package } /bin/erigon ${ scriptArgs } " ;
120
+ ExecStart = "${ cfg . package } /bin/erigon ${ scriptArgs } " ;
126
121
}
127
122
( mkIf ( cfg . args . authrpc . jwtsecret != null ) {
128
123
LoadCredential = [ "jwtsecret:${ cfg . args . authrpc . jwtsecret } " ] ;
Original file line number Diff line number Diff line change 19
19
default = [ ] ;
20
20
} ;
21
21
22
- blst-portable = mkOption {
23
- type = types . bool ;
24
- default = false ;
25
- description = lib . mdDoc "Make blst library used by erigon build in portable mode. When this option is enabled, the package option is ignored." ;
26
- } ;
27
-
28
22
package = mkOption {
29
23
type = types . package ;
30
24
default = pkgs . erigon ;
You can’t perform that action at this time.
0 commit comments