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:
Vladimír Čunát 2019-09-24 11:13:58 +02:00
parent 5426932f7c
commit 9892d5ab2c
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -201,7 +201,7 @@ let
platforms = platforms.linux;
};
}) (attrs: {
patchPhase = attrs.patchPhase + ''
patchPhase = assert stdenv.hostPlatform.isLinux; attrs.patchPhase + ''
# Patch built-in mono for ReSharperHost to start successfully
interpreter=$(echo ${stdenv.glibc.out}/lib/ld-linux*.so.2)
patchelf --set-interpreter "$interpreter" lib/ReSharperHost/linux-x64/mono/bin/mono-sgen