aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2019-09-24 11:13:58 +0200
committerVladimír Čunát <v@cunat.cz>2019-09-24 11:15:26 +0200
commit9892d5ab2cda380f96e4c5b71d83c314fba48359 (patch)
treef022260fb3a624761a22d9e80125268d1dd05649
parent5426932f7c664a8765d6904af20ef21310e95d4f (diff)
jetbrains.rider: fail evaluation in a good way on non-Linux
The tarball job was broken because of this (darwin).
-rw-r--r--pkgs/applications/editors/jetbrains/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix
index 16a1c01363d..34981f7ec69 100644
--- a/pkgs/applications/editors/jetbrains/default.nix
+++ b/pkgs/applications/editors/jetbrains/default.nix
@@ -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