anchor.diff:      ];
   
     libPath = stdenv.lib.makeLibraryPath buildInputs
  -    + stdenv.lib.optionalString (stdenv.system == "x86_64-linux")
  +    + stdenv.lib.optionalString (stdenv.is64bit)
         (":" + stdenv.lib.makeSearchPathOutputs "lib64" ["lib"] buildInputs);
   
     buildPhase = ''
  
positive.code: }:
  
  let
    archUrl = name: arch: "https://downloads.vivaldi.com/stable/${name}_${arch}.deb";
  in
  stdenv.mkDerivation rec {
    version    = "1.1";
    debversion = "stable_1.1.453.47-1";
    product    = "vivaldi";
    name       = "${product}-${version}";
  
    src = if stdenv.system == "x86_64-linux"
      then fetchurl {
        url    = archUrl "vivaldi-${debversion}" "amd64";
        sha256 = "09kadsi4ydjciq092i6linapqzjdzx915zqmz7vfq6w1yp9mqbwq";
      }
      else if stdenv.system == "i686-linux"
      then fetchurl {
        url    = archUrl "vivaldi-${debversion}" "i386";
        sha256 = "0b5410phnkpg6sz0j345vdn0r6n89rm865bchqw8p4kx7pmy78z3";
      }
      else throw "Vivaldi is not supported on ${stdenv.system} (only i686-linux and x86_64 linux are supported)";
  
    unpackPhase = ''
      ar vx ${src}
  
negative.code:     description = "A Browser for our Friends, powerful and personal";
      homepage    = "https://vivaldi.com";
      license     = licenses.unfree;
      maintainers = with maintainers; [ otwieracz nequissimus ];
      platforms   = platforms.linux;
    };
  }
  