jetbrains.rider: fail evaluation in a good way on non-Linux
The tarball job was broken because of this (darwin).
This commit is contained in:
parent
5426932f7c
commit
9892d5ab2c
@ -201,7 +201,7 @@ let
|
|||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}) (attrs: {
|
}) (attrs: {
|
||||||
patchPhase = attrs.patchPhase + ''
|
patchPhase = assert stdenv.hostPlatform.isLinux; 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user