Skip to content

Commit

Permalink
mendeley: ignore errors attempting to install link handler on startup
Browse files Browse the repository at this point in the history
It's not critical functionality and AFAICT only fails in environments
that wouldn't benefit from "successfully" installing it anyway.

Fixes #24709
Fixes #24821

(cherry picked from commit 4f4ae214a3a46ba83f790d23c0e9df0bf9f04215)
  • Loading branch information
dtzWill authored and Mic92 committed Jun 28, 2017
1 parent 3a76840 commit 55bc539
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/office/mendeley/default.nix
Expand Up @@ -109,8 +109,8 @@ stdenv.mkDerivation {
wrapQtProgram $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
Expand Down

0 comments on commit 55bc539

Please sign in to comment.