From f906ca5aebad8182ffd7f0cf7ff19af57fd384ae Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 22 Aug 2018 22:22:32 +0200 Subject: ... --- hel.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/hel.nix b/hel.nix index b57eb971..9b965128 100644 --- a/hel.nix +++ b/hel.nix @@ -106,19 +106,25 @@ ''; }); - fprintd = pkgs.stdenv.lib.overrideDerivation pkgs.fprintd (oldAttrs: { + fprintd = pkgs.stdenv.mkDerivation rec { + name = "fprintd-${version}"; + version = "vfs0090-f8323a0"; + src = pkgs.fetchFromGitHub { owner = "3v1n0"; repo = "libfprint"; - rev = "d35da0ce99c11bf43d06c2400f9fec6580814919"; - sha256 = "1z9f3cwyhi10q2xqy33z516s259c56njzq1fbl5zn1yngfzlshk6"; + rev = "f8323a0d3e0616f2822547902306992efd3572e7"; + sha256 = "0y0lkwgw1lx4frm1kxz0hj11x93dby7vxkjly0ck7w7z96nn8bnm"; }; - nativeBuildInputs = with pkgs; oldAttrs.nativeBuildInputs or [] ++ [ libtool automake autoconf libusb1 ]; + buildInputs = with pkgs; [ libfprint glib dbus-glib polkit nss pam systemd libusb1 ]; + nativeBuildInputs = with pkgs; [ pkgconfig intltool libtool automake autoconf ]; preConfigure = '' NOCONFIGURE=true ./autogen.sh ''; + + configureFlags = [ "--with-systemdsystemunitdir=$(out)/lib/systemd/system" ]; }); }; -- cgit v1.2.3