jetbrains rider: resharper on dotnet support

This commit is contained in:
BananchickPasha 2020-04-28 19:34:07 +03:00
parent 7610f0417b
commit b90dfdab83

View File

@ -1,13 +1,13 @@
{ lib, stdenv, callPackage, fetchurl { lib, stdenv, callPackage, fetchurl
, python , python
, jdk, cmake, libxml2, zlib, python3, ncurses5 , jdk, cmake, libxml2, zlib, python3, ncurses5
, dotnet-sdk_3
}: }:
with stdenv.lib; with stdenv.lib;
let let
mkJetBrainsProduct = callPackage ./common.nix { }; mkJetBrainsProduct = callPackage ./common.nix { };
# Sorted alphabetically # Sorted alphabetically
buildClion = { name, version, src, license, description, wmClass, ... }: buildClion = { name, version, src, license, description, wmClass, ... }:
@ -205,6 +205,8 @@ let
# Patch built-in mono for ReSharperHost to start successfully # Patch built-in mono for ReSharperHost to start successfully
interpreter=$(echo ${stdenv.glibc.out}/lib/ld-linux*.so.2) interpreter=$(echo ${stdenv.glibc.out}/lib/ld-linux*.so.2)
patchelf --set-interpreter "$interpreter" lib/ReSharperHost/linux-x64/mono/bin/mono-sgen patchelf --set-interpreter "$interpreter" lib/ReSharperHost/linux-x64/mono/bin/mono-sgen
rm -rf lib/ReSharperHost/linux-x64/dotnet
ln -s ${dotnet-sdk_3} lib/ReSharperHost/linux-x64/dotnet
''); '');
}); });