summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorUri Baghin <uri@canva.com>2019-09-24 21:08:21 +1000
committerUri Baghin <uri@canva.com>2019-09-24 21:08:28 +1000
commit336a2937ec7bc151fdbbf101c16a9cc260b97354 (patch)
tree089e828ed6d6d818cb7af89bbb346672924fd414 /pkgs
parente813eb2b653bdf4d932cfc83474ae1c27a405dab (diff)
downloadnixpkgs-336a2937ec7bc151fdbbf101c16a9cc260b97354.tar
nixpkgs-336a2937ec7bc151fdbbf101c16a9cc260b97354.tar.gz
nixpkgs-336a2937ec7bc151fdbbf101c16a9cc260b97354.tar.bz2
nixpkgs-336a2937ec7bc151fdbbf101c16a9cc260b97354.tar.lz
nixpkgs-336a2937ec7bc151fdbbf101c16a9cc260b97354.tar.xz
nixpkgs-336a2937ec7bc151fdbbf101c16a9cc260b97354.tar.zst
nixpkgs-336a2937ec7bc151fdbbf101c16a9cc260b97354.zip
jetbrains.rider: fix on darwin
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/editors/jetbrains/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix
index 34981f7ec69..ebdfb09936a 100644
--- a/pkgs/applications/editors/jetbrains/default.nix
+++ b/pkgs/applications/editors/jetbrains/default.nix
@@ -201,11 +201,11 @@ let
         platforms = platforms.linux;
       };
     }) (attrs: {
-      patchPhase = assert stdenv.hostPlatform.isLinux; attrs.patchPhase + ''
+      patchPhase = lib.optionalString (!stdenv.isDarwin) (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
-      '';
+      '');
     });
 
   buildRubyMine = { name, version, src, license, description, wmClass, ... }: