jetbrains.rider: fix internal dotnet runtime/SDK (#120589)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Mauricio Scheffer 2021-04-27 14:22:06 +01:00 committed by GitHub
parent 3be2b56742
commit 422441ed88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,8 +1,7 @@
{ lib, stdenv, callPackage, fetchurl
, jdk, cmake, libxml2, zlib, python3, ncurses5
, dotnet-sdk_3
, jdk, cmake, zlib, python3
, dotnet-sdk_5
, autoPatchelfHook
, glib
, libdbusmenu
, vmopts ? null
}:
@ -197,7 +196,7 @@ let
patchPhase = lib.optionalString (!stdenv.isDarwin) (attrs.patchPhase + ''
rm -rf lib/ReSharperHost/linux-x64/dotnet
mkdir -p lib/ReSharperHost/linux-x64/dotnet/
ln -s ${dotnet-sdk_3}/bin/dotnet lib/ReSharperHost/linux-x64/dotnet/dotnet
ln -s ${dotnet-sdk_5}/bin/dotnet lib/ReSharperHost/linux-x64/dotnet/dotnet
'');
});