diff options
author | Tad Fisher <tadfisher@gmail.com> | 2018-07-07 13:35:35 -0700 |
---|---|---|
committer | Tad Fisher <tadfisher@gmail.com> | 2018-07-07 15:13:32 -0700 |
commit | 0fd2b4761a22afc07c070fdb3c8b93b045a4f1cb (patch) | |
tree | 939c78777287e8b292da4cf559e1c61f4ec5c6e7 /pkgs/applications/networking/instant-messengers | |
parent | fda46a645c962a7ae01680a0a0e290a6f0b5de1b (diff) | |
download | nixlib-0fd2b4761a22afc07c070fdb3c8b93b045a4f1cb.tar nixlib-0fd2b4761a22afc07c070fdb3c8b93b045a4f1cb.tar.gz nixlib-0fd2b4761a22afc07c070fdb3c8b93b045a4f1cb.tar.bz2 nixlib-0fd2b4761a22afc07c070fdb3c8b93b045a4f1cb.tar.lz nixlib-0fd2b4761a22afc07c070fdb3c8b93b045a4f1cb.tar.xz nixlib-0fd2b4761a22afc07c070fdb3c8b93b045a4f1cb.tar.zst nixlib-0fd2b4761a22afc07c070fdb3c8b93b045a4f1cb.zip |
zoom-us: set qt plugin paths in wrapper
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/zoom-us/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix index 98beced062a4..dc2bb4ba1e12 100644 --- a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix +++ b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix @@ -3,7 +3,7 @@ , dbus, glib, libGL, libX11, libXfixes, libuuid, libxcb, qtbase, qtdeclarative , qtlocation, qtquickcontrols2, qtscript, qtwebchannel, qtwebengine # Runtime -, libjpeg_turbo, pciutils, procps +, libjpeg_turbo, pciutils, procps, qtimageformats , pulseaudioSupport ? true, libpulseaudio ? null }: @@ -30,7 +30,7 @@ in stdenv.mkDerivation { buildInputs = [ dbus glib libGL libX11 libXfixes libuuid libxcb qtbase qtdeclarative qtlocation qtquickcontrols2 qtscript qtwebchannel qtwebengine - libjpeg_turbo pciutils procps + libjpeg_turbo ]; runtimeDependencies = optional pulseaudioSupport libpulseaudio; @@ -70,6 +70,8 @@ in stdenv.mkDerivation { makeWrapper $packagePath/zoom $out/bin/zoom-us \ --prefix PATH : "${makeBinPath [ pciutils procps ]}" \ --set QSG_INFO 1 \ + --set QT_QPA_PLATFORM_PLUGIN_PATH ${qtbase.bin}/lib/qt-${qtbase.qtCompatVersion}/plugins/platforms \ + --set QT_PLUGIN_PATH ${qtbase.bin}/${qtbase.qtPluginPrefix}:${qtimageformats}/${qtbase.qtPluginPrefix} \ --run "cd $packagePath" runHook postInstall @@ -92,7 +94,7 @@ in stdenv.mkDerivation { description = "zoom.us video conferencing application"; license = stdenv.lib.licenses.unfree; platforms = builtins.attrNames srcs; - maintainers = with stdenv.lib.maintainers; [ danbst ]; + maintainers = with stdenv.lib.maintainers; [ danbst tadfisher ]; }; } |