anchor.diff:      ++ edf client "WANT_QTCLIENT"
       ++ edf withKDE "WITH_KDE";
   
  -  preFixup =
  +  dontWrapQtApps = true;
  +
  +  postFixup =
       lib.optionalString enableDaemon ''
  -        wrapProgram "$out/bin/quasselcore" --suffix PATH : "${qtbase.bin}/bin"
  +      wrapProgram "$out/bin/quasselcore" --suffix PATH : "${qtbase.bin}/bin"
       '' +
       lib.optionalString buildClient ''
  -        wrapProgram "$out/bin/quassel${lib.optionalString client "client"}" \
  -          --prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules"
  +      wrapQtApp "$out/bin/quassel${lib.optionalString client "client"}" \
  +        --prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules"
       '';
   
     meta = with stdenv.lib; {
  
positive.code: , static ? false # link statically
  
  , stdenv, fetchFromGitHub, cmake, makeWrapper, dconf
  , qtbase, qtscript
  , phonon, libdbusmenu, qca-qt5
  
  , withKDE ? true # enable KDE integration
  
negative.code: let
    edf = flag: feature: [("-D" + feature + (if flag then "=ON" else "=OFF"))];
  
  in (if !buildClient then stdenv.mkDerivation else mkDerivation) rec {
    name = "quassel${tag}-${version}";
    version = "0.13.1";
  
  