File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 295295 backend = {
296296 enabled = true ;
297297 replicas = 3 ;
298+ env . NODE_EXTRA_OPTIONS = "--trace-gc" ;
298299 } ;
299300 stake-pool-provider = {
300301 enabled = true ;
Original file line number Diff line number Diff line change 88 mainnet preprod preprod_p2p preview preview_p2p testnet vasil-dev vasil-dev_p2p vasil-qa
99 */
1010 cardanoServicesPath = pkg : "${ pkg } /libexec/incl/packages/cardano-services" ;
11- runCardanoServices = pkg : "${ lib . getExe pkg . nodejs } ${ cardanoServicesPath pkg } " ;
11+ runCardanoServices = pkg : "${ lib . getExe pkg . nodejs } \ ${NODE_EXTRA_OPTIONS:-} ${ cardanoServicesPath pkg } " ;
1212in {
1313 cardano-services = std . lib . ops . mkOperable rec {
1414 package = cell . packages . cardano-services ;
Original file line number Diff line number Diff line change 8282 postInstall = ''
8383 cat > $out/bin/cli <<EOF
8484 #!${ nixpkgs . bash } /bin/bash
85- exec "${ nixpkgs . nodejs } /bin/node" "$out/libexec/$sourceRoot/packages/cardano-services/dist/cjs/cli.js" "\$@"
85+ exec "${ nixpkgs . nodejs } /bin/node" '' ${NODE_EXTRA_OPTIONS:-} "$out/libexec/$sourceRoot/packages/cardano-services/dist/cjs/cli.js" "\$@"
8686 EOF
8787 chmod a+x $out/bin/cli
8888 '' ;
You can’t perform that action at this time.
0 commit comments