anchor.diff:      sha256 = "1w3b0w8izp0i070grhv19j631sdcd0mcqnjnax13k8mdx7dg8zcx";
     };
   
  -  patches = optionals stdenv.isLinux [
  +  patches = lib.optionals stdenv.isLinux [
       (substituteAll {
         src = ./fix-bubblewrap-paths.patch;
         inherit (builtins) storeDir;
  
positive.code:     "-DPORT=GTK"
      "-DUSE_LIBHYPHEN=OFF"
      "-DUSE_WPE_RENDERER=OFF"
    ] ++ optionals stdenv.isDarwin [
      "-DENABLE_GRAPHICS_CONTEXT_3D=OFF"
      "-DENABLE_GTKDOC=OFF"
      "-DENABLE_MINIBROWSER=OFF"
      "-DENABLE_OPENGL=OFF"
      "-DENABLE_QUARTZ_TARGET=ON"
      "-DENABLE_VIDEO=ON"
      "-DENABLE_WEBGL=OFF"
      "-DENABLE_WEB_AUDIO=OFF"
      "-DENABLE_X11_TARGET=OFF"
      "-DUSE_ACCELERATE=0"
      "-DUSE_SYSTEM_MALLOC=ON"
    ] ++ optional (stdenv.isLinux && enableGLES) "-DENABLE_GLES2=ON";
  
    postPatch = ''
      patchShebangs .
    '';
  
    requiredSystemFeatures = [ "big-parallel" ];
  
    meta = {
      description = "Web content rendering engine, GTK port";
      homepage = "https://webkitgtk.org/";
      license = licenses.bsd2;
  
negative.code:     libgcrypt
      libidn
      libintl
    ] ++ lib.optionals stdenv.isLinux [
      libmanette
    ] ++ [
      libnotify
      libpthreadstubs
      libsecret
  