unoconv: allow UNO_PATH to be overridden
Upstream intends this to be overridable, so we should preserve that property.
This commit is contained in:
parent
d77104ae6e
commit
4b4d7aa38a
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,8 @@ 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-unwrapped}/lib/libreoffice/program/"
|
||||
wrapProgram "$out/bin/unoconv" \
|
||||
--set-default UNO_PATH "${libreoffice-unwrapped}/lib/libreoffice/program/"
|
||||
'' + lib.optionalString installSymlinks ''
|
||||
make install-links prefix="$out"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue