mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
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 }:
|
||||
(mkJetBrainsProduct {
|
||||
lib.overrideDerivation (mkJetBrainsProduct {
|
||||
inherit name version src wmClass jdk;
|
||||
product = "WebStorm";
|
||||
meta = with stdenv.lib; {
|
||||
@ -225,8 +225,13 @@ let
|
||||
maintainers = with maintainers; [ abaldeau ];
|
||||
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
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user