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 {
102102 ${ concatStringsSep " \\ \n " filteredArgs } \
103103 ${ lib . escapeShellArgs cfg . extraArgs }
104104 '' ;
105-
106- package =
107- if cfg . blst-portable
108- then pkgs . erigon-blst-portable
109- else cfg . package ;
110105 in
111106 nameValuePair serviceName ( mkIf cfg . enable {
112107 description = "Erigon Ethereum node (${ erigonName } )" ;
122117 ExecStartPre = mkIf cfg . subVolume ( mkBefore [
123118 "+${ scripts . setupSubVolume } /var/lib/private/${ serviceName } "
124119 ] ) ;
125- ExecStart = "${ package } /bin/erigon ${ scriptArgs } " ;
120+ ExecStart = "${ cfg . package } /bin/erigon ${ scriptArgs } " ;
126121 }
127122 ( mkIf ( cfg . args . authrpc . jwtsecret != null ) {
128123 LoadCredential = [ "jwtsecret:${ cfg . args . authrpc . jwtsecret } " ] ;
Original file line number Diff line number Diff line change 1919 default = [ ] ;
2020 } ;
2121
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-
2822 package = mkOption {
2923 type = types . package ;
3024 default = pkgs . erigon ;
You can’t perform that action at this time.
0 commit comments