komikku: don't crash when crop_borders fails to find borders

This commit is contained in:
2023-07-12 08:58:35 +00:00
parent 33c6330cbc
commit 0d6a10bc3a

View File

@@ -1,5 +1,6 @@
{ komikku { komikku
, fetchFromGitLab , fetchFromGitLab
, fetchpatch2
}: }:
komikku.overrideAttrs (upstream: { komikku.overrideAttrs (upstream: {
src = fetchFromGitLab { src = fetchFromGitLab {
@@ -8,4 +9,10 @@ komikku.overrideAttrs (upstream: {
rev = "7dcf2b3d0ba685396872780b1ce75d01cbe02ebe"; rev = "7dcf2b3d0ba685396872780b1ce75d01cbe02ebe";
hash = "sha256-LzgHPuIpxy0ropiNycdxZP6onjK2JpMRqkkdmJGA4nE="; hash = "sha256-LzgHPuIpxy0ropiNycdxZP6onjK2JpMRqkkdmJGA4nE=";
}; };
patches = [
(fetchpatch2 {
url = "https://git.uninsane.org/colin/mirror-komikku/commit/318fc0c975ba84ca4dcff405bc1bb8f5895bc5a6.diff";
hash = "sha256-mn81hCt5xrypJMOOiCOg8NthLjglXntTDsYpcdCg0E8=";
})
];
}) })