git.iko.soy/typeable/nixpkgs
on master help sign in
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

commita97c803b4b32d29343115b085bd0a62ca3764352 authorWill Dietz <w@wdtz.org> dateWed 28 Jun 2017, 15:27 (9 years ago) parentfe2e3ce
1 file changed+2−2
pkgs/applications/office/mendeley/default.nix+2−2
pkgs/applications/office/mendeley/default.nix+2−2
@@ -110,8 +110,8 @@ stdenv.mkDerivation {
110110
111111 wrapProgram $out/bin/mendeleydesktop \
112112 --add-flags "--unix-distro-build" \
113− ${stdenv.lib.optionalString autorunLinkHandler
114− ''--run "$out/bin/install-mendeley-link-handler.sh $out/bin/mendeleydesktop"''}
113+ ${stdenv.lib.optionalString autorunLinkHandler # ignore errors installing the link handler
114+ ''--run "$out/bin/install-mendeley-link-handler.sh $out/bin/mendeleydesktop ||:"''}
115115
116116 # Remove bundled qt bits
117117 rm -rf $out/lib/qt