summary refs log tree commit diff
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2022-07-25 18:01:05 +0300
committerK900 <me@0upti.me>2022-07-25 18:01:05 +0300
commit3b6588277bb76959b74f368d50edb83b15592e47 (patch)
tree7951134215f16104cb68da6ba2fefc0b1426803b
parentded08eff9cea84e3b63437e4fe5568c0ff03d84d (diff)
downloadnixpkgs-3b6588277bb76959b74f368d50edb83b15592e47.tar
nixpkgs-3b6588277bb76959b74f368d50edb83b15592e47.tar.gz
nixpkgs-3b6588277bb76959b74f368d50edb83b15592e47.tar.bz2
nixpkgs-3b6588277bb76959b74f368d50edb83b15592e47.tar.lz
nixpkgs-3b6588277bb76959b74f368d50edb83b15592e47.tar.xz
nixpkgs-3b6588277bb76959b74f368d50edb83b15592e47.tar.zst
nixpkgs-3b6588277bb76959b74f368d50edb83b15592e47.zip
fprintd: backport patch to fix tests
-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