jetbrains.goland: Fix debugging

This commit is contained in:
Diogo Xavier 2022-01-08 15:14:14 +00:00
parent 9ef985aa84
commit 76034fee72

View file

@ -93,8 +93,8 @@ let
chmod +x $out/goland*/plugins/go/lib/dlv/linux/dlv
# fortify source breaks build since delve compiles with -O0
wrapProgram $out/goland*/plugins/go/lib/dlv/linux/dlv \
--prefix disableHardening " " fortify
wrapProgram $out/bin/goland \
--set CGO_CPPFLAGS "-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
'';
});