diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix index 2b03b5e94b3a..4922322f5589 100644 --- a/pkgs/applications/editors/jetbrains/default.nix +++ b/pkgs/applications/editors/jetbrains/default.nix @@ -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 \ + --prefix CGO_CPPFLAGS " " "-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0" ''; });