summary refs log tree commit diff
path: root/pkgs/tools/security/fprintd/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/fprintd/default.nix')
-rw-r--r--pkgs/tools/security/fprintd/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/tools/security/fprintd/default.nix b/pkgs/tools/security/fprintd/default.nix
index d3b1836c940..125cab6b3fd 100644
--- a/pkgs/tools/security/fprintd/default.nix
+++ b/pkgs/tools/security/fprintd/default.nix
@@ -1,5 +1,6 @@
 { lib, stdenv
 , fetchFromGitLab
+, fetchpatch
 , pkg-config
 , gobject-introspection
 , meson
@@ -36,6 +37,14 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-ePhcIZyXoGr8XlBuzKjpibU9D/44iCXYBlpVR9gcswQ=";
   };
 
+  patches = [
+    # backport upstream patch fixing tests
+    (fetchpatch {
+      url = "https://gitlab.freedesktop.org/libfprint/fprintd/-/commit/ae04fa989720279e5558c3b8ff9ebe1959b1cf36.patch";
+      sha256 = "sha256-jW5vlzrbZQ1gUDLBf7G50GnZfZxhlnL2Eu+9Bghdwdw=";
+    })
+  ];
+
   nativeBuildInputs = [
     pkg-config
     meson