miniflux: fix panic on youtube channel feed discovery

This commit is contained in:
Martin Weinelt 2024-08-05 01:57:50 +02:00
parent cb9a96f23c
commit cdb8f95be3
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, nixosTests }:
{ lib, buildGoModule, fetchFromGitHub, fetchpatch2, installShellFiles, nixosTests }:
buildGoModule rec {
pname = "miniflux";
@ -11,6 +11,15 @@ buildGoModule rec {
hash = "sha256-1EH8KtKdAssxLk0IyhJsbrFU1obDTvmaGtFyLVlnOdQ=";
};
patches = [
(fetchpatch2 {
# Fix panic during YouTube channel feed discovery
name = "miniflux-pr2742.patch";
url = "https://github.com/miniflux/v2/commit/79ea9e28b5a8c09f4d1dcbf31b661fb5f8e85e6a.patch";
hash = "sha256-BZPv83QsJ6iJs12FLALfTN//VZL/BfGkXs3Pzn9cGeU=";
})
];
vendorHash = "sha256-kr2qCKuwp6Fpr0zEjggqk4Mff3V9pxGLU71lRhdRrW8=";
nativeBuildInputs = [ installShellFiles ];