anchor.diff:    dontWrapGApps = true;
     dontWrapQtApps = true;
   
  -  preConfigure = ''
  -    a2x -f manpage doc/qutebrowser.1.asciidoc
  -  '' + lib.optionalString isQt6 ''
  +  preConfigure = lib.optionalString isQt6 ''
       python scripts/asciidoc2html.py
     '';
   
  
positive.code:   '';
  
    meta = with lib; {
      homepage    = "https://github.com/The-Compiler/qutebrowser";
      description = "Keyboard-focused browser with a minimal GUI";
      license     = licenses.gpl3Plus;
      maintainers = with maintainers; [ jagajaga rnhmjoj ebzzry dotlambda ];
      platforms   = if enableWideVine then [ "x86_64-linux" ] else backendPackage.meta.platforms;
    };
  }
  
negative.code:     sed -i "s,/usr/share/pdf.js,${pdfjs},g" qutebrowser/browser/pdfjs.py
    '';
  
    installPhase = ''
      runHook preInstall
  
      make -f misc/Makefile \
        PYTHON=${python3}/bin/python3 \
        PREFIX=. \
        DESTDIR="$out" \
        DATAROOTDIR=/share \
        install
  
      runHook postInstall
    '';
  
    postInstall = ''
      # Patch python scripts
      buildPythonPath "$out $propagatedBuildInputs"
      scripts=$(grep -rl python "$out"/share/qutebrowser/{user,}scripts/)
  