Skip to content

Commit

Permalink
mendeley: use wrapQtApp
Browse files Browse the repository at this point in the history
  • Loading branch information
worldofpeace committed Nov 14, 2019
1 parent c62c7b8 commit 7c8b042
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/applications/office/mendeley/default.nix
Expand Up @@ -106,6 +106,8 @@ mkDerivation {

dontUnpack = true;

dontWrapQtApps = true;

installPhase = ''
dpkg-deb -x $src $out
mv $out/opt/mendeleydesktop/{bin,lib,share} $out
Expand All @@ -115,7 +117,7 @@ mkDerivation {
--set-rpath ${stdenv.lib.makeLibraryPath deps}:$out/lib \
$out/bin/mendeleydesktop
wrapProgram $out/bin/mendeleydesktop \
wrapQtApp $out/bin/mendeleydesktop \
--add-flags "--unix-distro-build" \
${stdenv.lib.optionalString autorunLinkHandler # ignore errors installing the link handler
''--run "$out/bin/install-mendeley-link-handler.sh $out/bin/mendeleydesktop ||:"''}
Expand Down

0 comments on commit 7c8b042

Please sign in to comment.