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
@ -25,7 +25,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
sed -i "s|/usr/bin/env python.*|${python3}/bin/${python3.executable}|" "$out/bin/unoconv"
|
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 ''
|
'' + lib.optionalString installSymlinks ''
|
||||||
make install-links prefix="$out"
|
make install-links prefix="$out"
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user