3
0
Fork 0
forked from mirrors/nixpkgs

qutebrowser: don't crash on :version command (#118885)

This commit is contained in:
Robert Schütz 2021-04-09 13:16:26 +02:00 committed by GitHub
parent afd73abc4b
commit ff0886337b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, fetchurl, fetchzip, python3
{ lib, fetchpatch, fetchurl, fetchzip, python3
, mkDerivationWith, wrapQtAppsHook, wrapGAppsHook, qtbase, glib-networking
, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxml2
, libxslt, gst_all_1 ? null
@ -67,7 +67,15 @@ in mkDerivationWith python3Packages.buildPythonApplication rec {
++ lib.optional (pythonOlder "3.9") importlib-resources
);
patches = [ ./fix-restart.patch ];
patches = [
./fix-restart.patch
(fetchpatch {
name = "fix-version-parsing.patch";
url = "https://github.com/qutebrowser/qutebrowser/commit/c3d1b71c6f08607f47353f406aca0168bb3062a1.patch";
excludes = [ "doc/changelog.asciidoc" ];
sha256 = "1vm2yjvmrw4cyn8mpwfwvvcihn74f60ql3qh1rjj8n0wak8z1ir6";
})
];
dontWrapGApps = true;
dontWrapQtApps = true;