aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJรถrg Thalheim <Mic92@users.noreply.github.com>2019-09-24 14:45:04 +0100
committerGitHub <noreply@github.com>2019-09-24 14:45:04 +0100
commitf7f356a9c91644fc81de42482cac85be4fa1b8d5 (patch)
tree586b82f73511d50956bf33cb02f5b29d69c5cf7b
parenta7e1051f62ed13f7147826f99e441183d17bb231 (diff)
parent336a2937ec7bc151fdbbf101c16a9cc260b97354 (diff)
Merge pull request #69349 from uri-canva/rider
jetbrains.rider: fix on darwin
-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, ... }: