summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel.nix18
1 files changed, 3 insertions, 15 deletions
diff --git a/hel.nix b/hel.nix
index b60a8971..4f33b57c 100644
--- a/hel.nix
+++ b/hel.nix
@@ -127,21 +127,9 @@
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.lib.overrideDerivation pkgs.fprintd (oldAttrs: {
131 name = "fprintd-${version}"; 131 configureFlags = oldAttrs.configureFlags or [] ++ ["--sysconfdir=$(out)/etc"];
132 version = "0.8.1"; 132 });
133
134 src = pkgs.fetchgit {
135 url = "https://gitlab.freedesktop.org/libfprint/fprintd";
136 rev = "refs/tags/V_0_8_1";
137 sha256 = "1b9za3vabwbwb9afn37whgkqm6kfz0m7vg6cqki1gsbsdk7vz868";
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 }; 133 };
146 134
147 nixpkgs.config.allowUnfree = true; 135 nixpkgs.config.allowUnfree = true;