Skip to content

Commit 55bc539

Browse files
dtzWillMic92
authored andcommittedJun 28, 2017
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 (cherry picked from commit 4f4ae214a3a46ba83f790d23c0e9df0bf9f04215)
1 parent 3a76840 commit 55bc539

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎pkgs/applications/office/mendeley/default.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ stdenv.mkDerivation {
109109
110110
wrapQtProgram $out/bin/mendeleydesktop \
111111
--add-flags "--unix-distro-build" \
112-
${stdenv.lib.optionalString autorunLinkHandler
113-
''--run "$out/bin/install-mendeley-link-handler.sh $out/bin/mendeleydesktop"''}
112+
${stdenv.lib.optionalString autorunLinkHandler # ignore errors installing the link handler
113+
''--run "$out/bin/install-mendeley-link-handler.sh $out/bin/mendeleydesktop ||:"''}
114114
115115
# Remove bundled qt bits
116116
rm -rf $out/lib/qt

0 commit comments

Comments
 (0)