sane-backends: cherry-pick fix for scanimage locking up on exit (#432780)

authored by K900 and committed by GitHub c46649f3 4e8da1e4

+10
+10
pkgs/applications/graphics/sane/backends/default.nix
··· 2 stdenv, 3 lib, 4 fetchFromGitLab, 5 runtimeShell, 6 buildPackages, 7 gettext, ··· 51 rev = "refs/tags/${version}"; 52 hash = "sha256-e7Wjda+CobYatblvVCGkMAO2aWrdSCp7q+qIEGnGDCY="; 53 }; 54 55 postPatch = '' 56 # Do not create lock dir in install phase
··· 2 stdenv, 3 lib, 4 fetchFromGitLab, 5 + fetchpatch, 6 runtimeShell, 7 buildPackages, 8 gettext, ··· 52 rev = "refs/tags/${version}"; 53 hash = "sha256-e7Wjda+CobYatblvVCGkMAO2aWrdSCp7q+qIEGnGDCY="; 54 }; 55 + 56 + # Fix hangs in tests, hopefully 57 + # FIXME: remove in next release 58 + patches = [ 59 + (fetchpatch { 60 + url = "https://gitlab.com/sane-project/backends/-/commit/8acc267d5f4049d8438456821137ae56e91baea9.patch"; 61 + hash = "sha256-IyupDeH1MPvEBnGaUzBbCu106Gp7zXxlPGFAaiiINQI="; 62 + }) 63 + ]; 64 65 postPatch = '' 66 # Do not create lock dir in install phase