anchor.diff:        --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
         --set-rpath "${libPath}" \
         opt/vivaldi/vivaldi-bin
  +  '' + stdenv.lib.optionalString proprietaryCodecs ''
  +    sed -i '/^VIVALDI_FFMPEG_FOUND/ a \
  +    checkffmpeg "${vivaldi-ffmpeg-codecs}/lib/libffmpeg.so"' opt/vivaldi/vivaldi
  +  '' + ''
       echo "Finished patching Vivaldi binaries"
     '';
   
  
positive.code: , glib, gtk3, pango, gdk_pixbuf, cairo, atk, gnome3
  , nss, nspr
  , patchelf
  }:
  
  stdenv.mkDerivation rec {
  
negative.code:     atk alsaLib dbus_libs cups gtk3 gdk_pixbuf libexif ffmpeg systemd
      freetype fontconfig libXrender libuuid expat glib nss nspr
      gstreamer libxml2 gst-plugins-base pango cairo gnome3.gconf
    ] ++ stdenv.lib.optional proprietaryCodecs vivaldi-ffmpeg-codecs;
  
    libPath = stdenv.lib.makeLibraryPath buildInputs
      + stdenv.lib.optionalString (stdenv.is64bit)
  