about summary refs log tree commit diff
path: root/pkgs/applications/editors/jetbrains
diff options
context:
space:
mode:
authorhacker1024 <hacker1024@users.sourceforge.net>2024-04-15 23:02:23 +1000
committerhacker1024 <hacker1024@users.sourceforge.net>2024-04-18 12:20:32 +1000
commit06e2c60cc2ea59d3fa48b846cd8ef546076a18ac (patch)
treeab787b4b242d4e4377af6b3c5d20a710320a25c1 /pkgs/applications/editors/jetbrains
parent203fac824e2fdfed2e3a832b8123d9a64ee58b43 (diff)
jetbrains.clion: Add .NET SDK for ReSharper engine
Diffstat (limited to 'pkgs/applications/editors/jetbrains')
-rw-r--r--pkgs/applications/editors/jetbrains/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix
index 4c53a5bbe59e3..20813cbae89d5 100644
--- a/pkgs/applications/editors/jetbrains/default.nix
+++ b/pkgs/applications/editors/jetbrains/default.nix
@@ -113,6 +113,17 @@ rec {
       xz
     ];
   }).overrideAttrs (attrs: {
+    postInstall = (attrs.postInstall or "") + lib.optionalString (stdenv.isLinux) ''
+      (
+        cd $out/clion
+
+        for dir in plugins/clion-radler/DotFiles/linux-*; do
+          rm -rf $dir/dotnet
+          ln -s ${dotnet-sdk_7} $dir/dotnet
+        done
+      )
+    '';
+
     postFixup = (attrs.postFixup or "") + lib.optionalString (stdenv.isLinux) ''
       (
         cd $out/clion