Skip to content

Commit d7a7fee

Browse files
committed
[DDW-1109] Prevent segfaults on Darwin in GC_* code when launching nix-shell
1 parent 666d1bf commit d7a7fee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nix/yarn-nix-shell.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,9 @@ if [ -z "$command" ] ; then
2929
fi
3030

3131
export NETWORK
32+
33+
# Prevent segfaults on Darwin in `GC_*` code:
34+
export GC_DONT_GC=1
35+
3236
# `return` will make the user stay in `nix-shell` after the initial command finishes:
3337
exec nix-shell --argstr nodeImplementation cardano --argstr cluster "$cluster" --command "$command ; return"

0 commit comments

Comments
 (0)