Merge pull request #69349 from uri-canva/rider
jetbrains.rider: fix on darwin
This commit is contained in:
commit
f7f356a9c9
|
@ -201,11 +201,11 @@ let
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}) (attrs: {
|
}) (attrs: {
|
||||||
patchPhase = assert stdenv.hostPlatform.isLinux; attrs.patchPhase + ''
|
patchPhase = lib.optionalString (!stdenv.isDarwin) (attrs.patchPhase + ''
|
||||||
# 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
|
||||||
'';
|
'');
|
||||||
});
|
});
|
||||||
|
|
||||||
buildRubyMine = { name, version, src, license, description, wmClass, ... }:
|
buildRubyMine = { name, version, src, license, description, wmClass, ... }:
|
||||||
|
|
Loading…
Reference in a new issue