aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/office/mendeley
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2017-06-28 15:27:14 -0500
committerWill Dietz <w@wdtz.org>2017-06-28 17:05:11 -0500
commita97c803b4b32d29343115b085bd0a62ca3764352 (patch)
tree1686be270ef7339db6391123cf01267648c6132a /pkgs/applications/office/mendeley
parentfe2e3cea51d0f36b4a23026c3bc4a63f9f5cd94b (diff)
mendeley: ignore errors attempting to install link handler on startup
It's not critical functionality and AFAICT only fails in environments that wouldn't benefit from "successfully" installing it anyway. Fixes #24709 Fixes #24821
Diffstat (limited to 'pkgs/applications/office/mendeley')
-rw-r--r--pkgs/applications/office/mendeley/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/office/mendeley/default.nix b/pkgs/applications/office/mendeley/default.nix
index 7178a0930e77..c5ef0e8a277a 100644
--- a/pkgs/applications/office/mendeley/default.nix
+++ b/pkgs/applications/office/mendeley/default.nix
@@ -110,8 +110,8 @@ stdenv.mkDerivation {
wrapProgram $out/bin/mendeleydesktop \
--add-flags "--unix-distro-build" \
- ${stdenv.lib.optionalString autorunLinkHandler
- ''--run "$out/bin/install-mendeley-link-handler.sh $out/bin/mendeleydesktop"''}
+ ${stdenv.lib.optionalString autorunLinkHandler # ignore errors installing the link handler
+ ''--run "$out/bin/install-mendeley-link-handler.sh $out/bin/mendeleydesktop ||:"''}
# Remove bundled qt bits
rm -rf $out/lib/qt