gogland: fix debugger
This commit is contained in:
parent
4ea79d3f36
commit
7b3a61af73
@ -78,7 +78,7 @@ let
|
|||||||
});
|
});
|
||||||
|
|
||||||
buildGogland = { name, version, src, license, description, wmClass, update-channel }:
|
buildGogland = { name, version, src, license, description, wmClass, update-channel }:
|
||||||
(mkJetBrainsProduct {
|
lib.overrideDerivation (mkJetBrainsProduct {
|
||||||
inherit name version src wmClass jdk;
|
inherit name version src wmClass jdk;
|
||||||
product = "Gogland";
|
product = "Gogland";
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
@ -93,6 +93,13 @@ let
|
|||||||
maintainers = [ maintainers.miltador ];
|
maintainers = [ maintainers.miltador ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
}) (attrs: {
|
||||||
|
postFixup = (attrs.postFixup or "") + ''
|
||||||
|
interp="$(cat $NIX_CC/nix-support/dynamic-linker)"
|
||||||
|
patchelf --set-interpreter $interp $out/gogland*/plugins/intellij-go-plugin/lib/dlv/linux/dlv
|
||||||
|
|
||||||
|
chmod +x $out/gogland*/plugins/intellij-go-plugin/lib/dlv/linux/dlv
|
||||||
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
buildIdea = { name, version, src, license, description, wmClass, update-channel }:
|
buildIdea = { name, version, src, license, description, wmClass, update-channel }:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user