webstorm: fix incorrect jre usuage
it tried to use its own jre, which is not patched fixes #36943 #37328
This commit is contained in:
parent
dfba22e28a
commit
b9b08f8a09
@ -211,7 +211,7 @@ let
|
|||||||
});
|
});
|
||||||
|
|
||||||
buildWebStorm = { name, version, src, license, description, wmClass, update-channel }:
|
buildWebStorm = { 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 = "WebStorm";
|
product = "WebStorm";
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
@ -225,8 +225,13 @@ let
|
|||||||
maintainers = with maintainers; [ abaldeau ];
|
maintainers = with maintainers; [ abaldeau ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
}) (attrs: {
|
||||||
|
patchPhase = (attrs.patchPhase or "") + optionalString (stdenv.isLinux) ''
|
||||||
|
# Webstorm tries to use bundled jre if available.
|
||||||
|
# Lets prevent this for the moment
|
||||||
|
rm -r jre64
|
||||||
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user