From 06e2c60cc2ea59d3fa48b846cd8ef546076a18ac Mon Sep 17 00:00:00 2001 From: hacker1024 Date: Mon, 15 Apr 2024 23:02:23 +1000 Subject: jetbrains.clion: Add .NET SDK for ReSharper engine --- pkgs/applications/editors/jetbrains/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'pkgs/applications/editors/jetbrains') 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 -- cgit 1.4.1