From 25307e756c3956e7181acdf0efcb769ad733e8ad Mon Sep 17 00:00:00 2001 From: Federico Beffa Date: Thu, 8 Jan 2026 15:32:40 +0100 Subject: [PATCH] sane-backends: fix multipages scan --- pkgs/applications/graphics/sane/backends/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/sane/backends/default.nix b/pkgs/applications/graphics/sane/backends/default.nix index 361ba67a2678..02dd36e23d7e 100644 --- a/pkgs/applications/graphics/sane/backends/default.nix +++ b/pkgs/applications/graphics/sane/backends/default.nix @@ -52,13 +52,20 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-e7Wjda+CobYatblvVCGkMAO2aWrdSCp7q+qIEGnGDCY="; }; - # Fix hangs in tests, hopefully - # FIXME: remove in next release patches = [ + # Fix hangs in tests, hopefully + # FIXME: remove in next release (fetchpatch { url = "https://gitlab.com/sane-project/backends/-/commit/8acc267d5f4049d8438456821137ae56e91baea9.patch"; hash = "sha256-IyupDeH1MPvEBnGaUzBbCu106Gp7zXxlPGFAaiiINQI="; }) + # Fix multipages scanning + # https://gitlab.com/sane-project/backends/-/merge_requests/883 + (fetchpatch { + url = "https://gitlab.com/sane-project/backends/-/commit/fbf80b0fc1d262ed40d4b49dd53c14707083ef60.patch"; + hash = "sha256-9KKTr7p1vCgvGr6hFY83K5gbL7Ilm4Uzc86JIxv+ahI="; + revert = true; + }) ]; postPatch = ''