Unverified Commit afb05196 authored by 7c6f434c's avatar 7c6f434c Committed by GitHub
Browse files

add unixodbc lib to LD_LIBRARY_PATH for libreoffice (#506379)

parents e0579ced b1b9bb99
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
  extraMakeWrapperArgs ? [ ],
  dbusVerify ? stdenv.hostPlatform.isLinux,
  dbus,
  unixodbc,
}:

let
@@ -28,6 +29,10 @@ let

  makeWrapperArgs = builtins.concatStringsSep " " (
    [
      "--prefix"
      "LD_LIBRARY_PATH"
      ":"
      "${lib.getLib unixodbc}/lib"
      "--set"
      "GDK_PIXBUF_MODULE_FILE"
      "${librsvg}/${gdk-pixbuf.moduleDir}.cache"