Unverified Commit 6e3333cf authored by wxt's avatar wxt
Browse files

fprintd-tod: fix build

parent fd4188aa
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -2,8 +2,13 @@
  lib,
  fetchFromGitLab,
  fetchpatch,
  libxml2,
  fprintd,
  libfprint-tod,
  python3Packages,
  libpam-wrapper,
  gusb,
  gobject-introspection,
}:

(fprintd.override { libfprint = libfprint-tod; }).overrideAttrs (
@@ -19,6 +24,19 @@
      sha256 = "sha256-rOTVThHOY/Q2IIu2RGiv26UE2V/JFfWWnfKZQfKl5Mg=";
    };

    nativeBuildInputs = previousAttrs.nativeBuildInputs or [ ] ++ [
      libpam-wrapper
      python3Packages.python
      python3Packages.pycairo
      python3Packages.dbus-python
      python3Packages.python-dbusmock
      python3Packages.pygobject3
      gusb
      python3Packages.pypamtest
      gobject-introspection
      libxml2 # for xmllint
    ];

    patches = previousAttrs.patches or [ ] ++ [
      (fetchpatch {
        name = "use-more-idiomatic-correct-embedded-shell-scripting";