diff options
Diffstat (limited to 'hel.nix')
-rw-r--r-- | hel.nix | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -106,19 +106,25 @@ | |||
106 | ''; | 106 | ''; |
107 | }); | 107 | }); |
108 | 108 | ||
109 | fprintd = pkgs.stdenv.lib.overrideDerivation pkgs.fprintd (oldAttrs: { | 109 | fprintd = pkgs.stdenv.mkDerivation rec { |
110 | name = "fprintd-${version}"; | ||
111 | version = "vfs0090-f8323a0"; | ||
112 | |||
110 | src = pkgs.fetchFromGitHub { | 113 | src = pkgs.fetchFromGitHub { |
111 | owner = "3v1n0"; | 114 | owner = "3v1n0"; |
112 | repo = "libfprint"; | 115 | repo = "libfprint"; |
113 | rev = "d35da0ce99c11bf43d06c2400f9fec6580814919"; | 116 | rev = "f8323a0d3e0616f2822547902306992efd3572e7"; |
114 | sha256 = "1z9f3cwyhi10q2xqy33z516s259c56njzq1fbl5zn1yngfzlshk6"; | 117 | sha256 = "0y0lkwgw1lx4frm1kxz0hj11x93dby7vxkjly0ck7w7z96nn8bnm"; |
115 | }; | 118 | }; |
116 | 119 | ||
117 | nativeBuildInputs = with pkgs; oldAttrs.nativeBuildInputs or [] ++ [ libtool automake autoconf libusb1 ]; | 120 | buildInputs = with pkgs; [ libfprint glib dbus-glib polkit nss pam systemd libusb1 ]; |
121 | nativeBuildInputs = with pkgs; [ pkgconfig intltool libtool automake autoconf ]; | ||
118 | 122 | ||
119 | preConfigure = '' | 123 | preConfigure = '' |
120 | NOCONFIGURE=true ./autogen.sh | 124 | NOCONFIGURE=true ./autogen.sh |
121 | ''; | 125 | ''; |
126 | |||
127 | configureFlags = [ "--with-systemdsystemunitdir=$(out)/lib/systemd/system" ]; | ||
122 | }); | 128 | }); |
123 | }; | 129 | }; |
124 | 130 | ||