From 4b4d7aa38af494cb5e23220919b862a60fc0ad11 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 25 Aug 2019 09:15:13 +0000 Subject: unoconv: allow UNO_PATH to be overridden Upstream intends this to be overridable, so we should preserve that property. --- pkgs/tools/text/unoconv/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/tools/text/unoconv/default.nix') diff --git a/pkgs/tools/text/unoconv/default.nix b/pkgs/tools/text/unoconv/default.nix index 50cd3d9411e..ae70bd9f561 100644 --- a/pkgs/tools/text/unoconv/default.nix +++ b/pkgs/tools/text/unoconv/default.nix @@ -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" ''; -- cgit 1.4.1