anchor.diff:        ln -s $out/lib/teamspeak/ts3client $out/bin/ts3client
   
         wrapProgram $out/bin/ts3client \
  -        --set LD_PRELOAD "${libredirect}/lib/libredirect.so" \
  +        --set LD_PRELOAD "${libredirect}/lib/libredirect.so:$out/lib/teamspeak/libquazip.so.1" \
           --set QT_PLUGIN_PATH "$out/lib/teamspeak/platforms" \
           --set NIX_REDIRECTS /usr/share/X11/xkb=${xkeyboard_config}/share/X11/xkb
       '';
  
positive.code:   installPhase =
      ''
        # Delete unecessary libraries - these are provided by nixos.
        rm *.so.*
  
        # Install files.
        mkdir -p $out/lib/teamspeak
  
negative.code:   deps =
      [ zlib glib libpng freetype xorg.libSM xorg.libICE xorg.libXrender
        xorg.libXrandr xorg.libXfixes xorg.libXcursor xorg.libXinerama xlibs.libxcb
        fontconfig xorg.libXext xorg.libX11 alsaLib qt5 pulseaudio
      ];
  
  in
  
  