mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue