Merge pull request #150896 from diogox/jetbrains.goland-Fix-debugging

jetbrains.goland: Fix debugging
This commit is contained in:
Jörg Thalheim 2021-12-28 09:56:56 +00:00 committed by GitHub
commit e93876e3b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,6 +91,10 @@ let
patchelf --set-interpreter $interp $out/goland*/plugins/go/lib/dlv/linux/dlv
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
'';
});