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

K900 c46649f3 4e8da1e4

Changed files
+10
pkgs
applications
graphics
sane
backends
+10
pkgs/applications/graphics/sane/backends/default.nix
···
stdenv,
lib,
fetchFromGitLab,
runtimeShell,
buildPackages,
gettext,
···
rev = "refs/tags/${version}";
hash = "sha256-e7Wjda+CobYatblvVCGkMAO2aWrdSCp7q+qIEGnGDCY=";
};
postPatch = ''
# Do not create lock dir in install phase
···
stdenv,
lib,
fetchFromGitLab,
+
fetchpatch,
runtimeShell,
buildPackages,
gettext,
···
rev = "refs/tags/${version}";
hash = "sha256-e7Wjda+CobYatblvVCGkMAO2aWrdSCp7q+qIEGnGDCY=";
};
+
+
# Fix hangs in tests, hopefully
+
# FIXME: remove in next release
+
patches = [
+
(fetchpatch {
+
url = "https://gitlab.com/sane-project/backends/-/commit/8acc267d5f4049d8438456821137ae56e91baea9.patch";
+
hash = "sha256-IyupDeH1MPvEBnGaUzBbCu106Gp7zXxlPGFAaiiINQI=";
+
})
+
];
postPatch = ''
# Do not create lock dir in install phase