diff --git a/pkgs/applications/graphics/sane/backends/default.nix b/pkgs/applications/graphics/sane/backends/default.nix index c586ed806c73..5daa76bf0aa3 100644 --- a/pkgs/applications/graphics/sane/backends/default.nix +++ b/pkgs/applications/graphics/sane/backends/default.nix @@ -2,6 +2,7 @@ stdenv, lib, fetchFromGitLab, + fetchpatch, runtimeShell, buildPackages, gettext, @@ -52,6 +53,15 @@ stdenv.mkDerivation rec { 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 sed -i '/^install-lockpath:/!b;n;c\ # pass' backend/Makefile.am