anchor.diff:  { stdenv, fetchurl, lib, qtbase, qtmultimedia, qtsvg, qtdeclarative, qttools, qtgraphicaleffects, qtquickcontrols2, full
  -, libsecret, libGL, libpulseaudio, glib, wrapQtAppsHook, makeDesktopItem, mkDerivation }:
  +, libsecret, libGL, libpulseaudio, glib, wrapQtAppsHook, mkDerivation }:
   
   let
     version = "1.2.2-1";
  
positive.code:   '';
  
    installPhase = ''
      mkdir -p $out/{bin,lib,share/applications}
      mkdir -p $out/share/{applications,icons/hicolor/scalable/apps}
  
      cp -r usr/lib/protonmail/bridge/protonmail-bridge $out/lib
      cp usr/share/icons/protonmail/ProtonMail_Bridge.svg $out/share/icons/hicolor/scalable/apps/protonmail-bridge.svg
      cp ${desktopItem}/share/applications/* $out/share/applications
  
      ln -s $out/lib/protonmail-bridge $out/bin/protonmail-bridge
    '';
  
negative.code: 
      To work, gnome-keyring service must be enabled.
    '';
  in mkDerivation {
    pname = "protonmail-bridge";
    inherit version;
  