File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 295
295
backend = {
296
296
enabled = true ;
297
297
replicas = 3 ;
298
+ env . NODE_EXTRA_OPTIONS = "--trace-gc" ;
298
299
} ;
299
300
stake-pool-provider = {
300
301
enabled = true ;
Original file line number Diff line number Diff line change 8
8
mainnet preprod preprod_p2p preview preview_p2p testnet vasil-dev vasil-dev_p2p vasil-qa
9
9
*/
10
10
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 } " ;
12
12
in {
13
13
cardano-services = std . lib . ops . mkOperable rec {
14
14
package = cell . packages . cardano-services ;
Original file line number Diff line number Diff line change 82
82
postInstall = ''
83
83
cat > $out/bin/cli <<EOF
84
84
#!${ 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" "\$@"
86
86
EOF
87
87
chmod a+x $out/bin/cli
88
88
'' ;
You can’t perform that action at this time.
0 commit comments