diff options
author | Vincent Laporte <vbgl@users.noreply.github.com> | 2018-10-05 14:03:20 +0000 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-10-05 16:03:20 +0200 |
commit | 9db397351a833cddfed0d3cefa320e6fe7607823 (patch) | |
tree | c243234275dc040be9873c09d2aea9d52fc8f7ec /pkgs/tools/text/unoconv | |
parent | a5d6705e20d730abb6fb1ad99c4499fc8bef2b3f (diff) |
unoconv: fix reference to libreoffice (#47847)
Diffstat (limited to 'pkgs/tools/text/unoconv')
-rw-r--r-- | pkgs/tools/text/unoconv/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/text/unoconv/default.nix b/pkgs/tools/text/unoconv/default.nix index ac90cb556f908..879f903ade975 100644 --- a/pkgs/tools/text/unoconv/default.nix +++ b/pkgs/tools/text/unoconv/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, python3, libreoffice, asciidoc, makeWrapper +{ stdenv, fetchurl, python3, libreoffice-unwrapped, asciidoc, makeWrapper # whether to install odt2pdf/odt2doc/... symlinks to unoconv , installSymlinks ? true }: @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { postInstall = '' sed -i "s|/usr/bin/env python.*|${python3}/bin/${python3.executable}|" "$out/bin/unoconv" - wrapProgram "$out/bin/unoconv" --set UNO_PATH "${libreoffice}/lib/libreoffice/program/" + wrapProgram "$out/bin/unoconv" --set UNO_PATH "${libreoffice-unwrapped}/lib/libreoffice/program/" '' + (if installSymlinks then '' make install-links prefix="$out" '' else ""); |