diff options
author | Averell Dalton <averell+nixpkgs@rxd4.com> | 2019-07-24 13:33:19 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2019-07-26 20:59:36 +0200 |
commit | 289c607cf5d6f5e1eac8bf9c13abc2b74197e149 (patch) | |
tree | 12db30399301a04c8932439204f347223342ffd4 /pkgs/applications/networking/remote | |
parent | 3034859422cbec613b7271472bd0d5f8fd933c91 (diff) | |
download | nixpkgs-289c607cf5d6f5e1eac8bf9c13abc2b74197e149.tar nixpkgs-289c607cf5d6f5e1eac8bf9c13abc2b74197e149.tar.gz nixpkgs-289c607cf5d6f5e1eac8bf9c13abc2b74197e149.tar.bz2 nixpkgs-289c607cf5d6f5e1eac8bf9c13abc2b74197e149.tar.lz nixpkgs-289c607cf5d6f5e1eac8bf9c13abc2b74197e149.tar.xz nixpkgs-289c607cf5d6f5e1eac8bf9c13abc2b74197e149.tar.zst nixpkgs-289c607cf5d6f5e1eac8bf9c13abc2b74197e149.zip |
x2goclient: fix startup
Fixes the following error: ``` qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. ``` See also #54484 and others.
Diffstat (limited to 'pkgs/applications/networking/remote')
-rw-r--r-- | pkgs/applications/networking/remote/x2goclient/default.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/applications/networking/remote/x2goclient/default.nix b/pkgs/applications/networking/remote/x2goclient/default.nix index 17dba71f8dd..2cfbfb1b201 100644 --- a/pkgs/applications/networking/remote/x2goclient/default.nix +++ b/pkgs/applications/networking/remote/x2goclient/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchgit, cups, libssh, libXpm, nx-libs, openldap, openssh -, makeWrapper, qtbase, qtsvg, qtx11extras, qttools, phonon, pkgconfig }: +, mkDerivation, qtbase, qtsvg, qtx11extras, qttools, phonon, pkgconfig }: -stdenv.mkDerivation rec { +mkDerivation rec { pname = "x2goclient"; version = "unstable-2019-07-24"; @@ -13,7 +13,6 @@ stdenv.mkDerivation rec { buildInputs = [ cups libssh libXpm nx-libs openldap openssh qtbase qtsvg qtx11extras qttools phonon pkgconfig ]; - nativeBuildInputs = [ makeWrapper ]; postPatch = '' substituteInPlace Makefile \ @@ -28,9 +27,8 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; installTargets = [ "install_client" "install_man" ]; - postInstall = '' - wrapProgram "$out/bin/x2goclient" --suffix PATH : "${nx-libs}/bin:${openssh}/libexec"; - ''; + + qtWrapperArgs = [ ''--suffix PATH : ${nx-libs}/bin:${openssh}/libexec'' ]; meta = with stdenv.lib; { description = "Graphical NoMachine NX3 remote desktop client"; |