NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.07k stars 14.13k forks source link

Patching RustRover JetBrains IDE #271612

Open orhnk opened 11 months ago

orhnk commented 11 months ago

Describe the bug

as JetBrains requires some patches as described in NixOS wiki but applying these patches (as following) doesn't have an effect to RustRover.

Gist to my config

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install RustRover
  2. Patch it according to my config
  3. Initializing RustRover gives errors.

Expected behavior

clean init process

Screenshots

https://github.com/NixOS/nixpkgs/assets/101834410/77b01356-2a46-4d78-9c0f-b53a9c5d4413

Additional context

I'm using clion as well. I have applied the same configuration to CLion which works almost smoothly (which-key plugin gives pukes some errors but It doesn't have a patch on nixpkgs)

Notify maintainers

@Followin @wegank

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.61, NixOS, 23.11 (Tapir), 23.11.20231104.85f1ba3`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Priorities

Add a :+1: reaction to issues you find important.

orhnk commented 11 months ago

Idk why but CLion Github Copilot stopped working too!

orhnk commented 11 months ago

The problem initiated because I have installed the bare product at first. (Then changed it to get patched) Before switching to the patched config format. I did install some plugins (e.g ideavim) which was then listed in the patchlist. The ideavim I'd installed before patching conflicted with the patched version so nothing did actually get patched (because the file-tree was there) so I saw some errors related to plugins I have already patched.

So deleting the plug-ins and restrating the IDE will fix your issue.

(Because the plugins I've installed before patching will get replaced by the patched versions)