diff options
| author | Diogo Xavier <diogoxavierpinto@gmail.com> | 2022-01-08 15:14:14 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2022-01-10 00:34:55 +0000 |
| commit | 2b9e967b02e1bbc1ed6b2e397101a14b64f13559 (patch) | |
| tree | 6bf1c9cecb83868aec90fb235f82768b8c7619d6 | |
| parent | Merge pull request #154165 from NixOS/backport-153903-to-release-21.11 (diff) | |
| download | nixpkgs-2b9e967b02e1bbc1ed6b2e397101a14b64f13559.tar.gz | |
jetbrains.goland: Fix debugging
(cherry picked from commit 76034fee72c735a6419477f9e968284fa44e6b1e)
| -rw-r--r-- | pkgs/applications/editors/jetbrains/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix index 14a6b8bcc1b7..8946f7321dda 100644 --- a/pkgs/applications/editors/jetbrains/default.nix +++ b/pkgs/applications/editors/jetbrains/default.nix @@ -92,8 +92,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" ''; }); |
