about summary refs log tree commit diff
path: root/pkgs/applications
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 /pkgs/applications
parent5426932f7c664a8765d6904af20ef21310e95d4f (diff)
downloadnixlib-9892d5ab2cda380f96e4c5b71d83c314fba48359.tar
nixlib-9892d5ab2cda380f96e4c5b71d83c314fba48359.tar.gz
nixlib-9892d5ab2cda380f96e4c5b71d83c314fba48359.tar.bz2
nixlib-9892d5ab2cda380f96e4c5b71d83c314fba48359.tar.lz
nixlib-9892d5ab2cda380f96e4c5b71d83c314fba48359.tar.xz
nixlib-9892d5ab2cda380f96e4c5b71d83c314fba48359.tar.zst
nixlib-9892d5ab2cda380f96e4c5b71d83c314fba48359.zip
jetbrains.rider: fail evaluation in a good way on non-Linux
The tarball job was broken because of this (darwin).
Diffstat (limited to 'pkgs/applications')
-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 16a1c01363d8..34981f7ec69d 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