anchor.diff:    };
   
     buildInputs = [ cups libssh libXpm nxproxy openldap qt4 ];
  -  nativeBuildInputs = [ makeWrapper ];
  +  nativeBuildInputs = [ makeWrapper qmake4Hook ];
   
     patchPhase = ''
        substituteInPlace Makefile \
  
positive.code: { stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, makeWrapper, qt4 }:
  
  stdenv.mkDerivation rec {
    name = "x2goclient-${version}";
  
negative.code:        --replace "-o root -g root" ""
    '';
  
    preConfigure = ''
      qmakeFlags="$qmakeFlags ETCDIR=$out/etc"
    '';
  
    enableParallelBuilding = true;
  
  