Phpstorm plugin help

I am nix newbie and I am struggling to activate a plugin (full line code completion) in phpstorm.

I have attempted to follow the wiki on Jetbrains Tools - NixOS Wiki, but I could not find a patched version of that plugin in the third party list.

The plugin comes with the phpstorm bundled inside, but it fails to launch due to working with a dynamically linked executable:

Since I have the files can I somehow build a derivation or a package that I would be able to add like in the wiki example:
image

I did not figure out how to create a patched plugin. But I did manage to make it work by using nix-ld:

programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
  glibc
];