diff options
-rw-r--r-- | hel.nix | 30 |
1 files changed, 13 insertions, 17 deletions
@@ -127,24 +127,20 @@ | |||
127 | configureFlags = [ "--with-udev-rules-dir=$(out)/lib/udev/rules.d" ]; | 127 | configureFlags = [ "--with-udev-rules-dir=$(out)/lib/udev/rules.d" ]; |
128 | }; | 128 | }; |
129 | 129 | ||
130 | # fprintd = pkgs.stdenv.mkDerivation rec { | 130 | fprintd = pkgs.stdenv.mkDerivation rec { |
131 | # name = "fprintd-${version}"; | 131 | name = "fprintd-${version}"; |
132 | # version = "0.8.1"; | 132 | version = "0.8.1"; |
133 | 133 | ||
134 | # src = pkgs.fetchgit { | 134 | src = pkgs.fetchgit { |
135 | # url = "https://gitlab.freedesktop.org/libfprint/fprintd"; | 135 | url = "https://gitlab.freedesktop.org/libfprint/fprintd"; |
136 | # rev = "refs/tags/V_0_8_1"; | 136 | rev = "refs/tags/V_0_8_1"; |
137 | # sha256 = "1b9za3vabwbwb9afn37whgkqm6kfz0m7vg6cqki1gsbsdk7vz868"; | 137 | sha256 = "1b9za3vabwbwb9afn37whgkqm6kfz0m7vg6cqki1gsbsdk7vz868"; |
138 | # }; | 138 | }; |
139 | |||
140 | # buildInputs = with pkgs; [ libfprint glib dbus-glib polkit nss pam systemd ]; | ||
141 | # nativeBuildInputs = with pkgs; [ pkgconfig intltool autoreconfHook gtk-doc ]; | ||
142 | |||
143 | # configureFlags = [ "--with-systemdsystemunitdir=$(out)/lib/systemd/system" ]; | ||
144 | # }); | ||
145 | 139 | ||
146 | fprintd = pkgs.stdenv.lib.overrideDerivation pkgs.fprintd (oldAttrs: { | 140 | buildInputs = with pkgs; [ libfprint glib dbus-glib polkit nss pam systemd ]; |
147 | installFlags = oldAttrs.installFlags or [] ++ [ "sysconfdir=\${out}/etc" ]; | 141 | nativeBuildInputs = with pkgs; [ pkgconfig intltool autoreconfHook gtk-doc ]; |
142 | |||
143 | configureFlags = [ "--with-systemdsystemunitdir=$(out)/lib/systemd/system" ]; | ||
148 | }); | 144 | }); |
149 | }; | 145 | }; |
150 | 146 | ||