From eab18d956d21531d2c40c45eb9ba229238b0c629 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 22 Aug 2018 23:32:33 +0200 Subject: ... --- hel.nix | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'hel.nix') diff --git a/hel.nix b/hel.nix index 0fbf4c27..fa94dfd7 100644 --- a/hel.nix +++ b/hel.nix @@ -127,17 +127,24 @@ configureFlags = [ "--with-udev-rules-dir=$(out)/lib/udev/rules.d" ]; }; - fprintd = pkgs.stdenv.lib.overrideDerivation pkgs.fprintd (oldAttrs: rec { - name = "fprintd-${version}"; - version = "0.8.1"; - - src = pkgs.fetchgit { - url = "https://gitlab.freedesktop.org/libfprint/fprintd"; - rev = "refs/tags/V_0_8_1"; - sha256 = "1b9za3vabwbwb9afn37whgkqm6kfz0m7vg6cqki1gsbsdk7vz868"; - }; + # fprintd = pkgs.stdenv.mkDerivation rec { + # name = "fprintd-${version}"; + # version = "0.8.1"; + + # src = pkgs.fetchgit { + # url = "https://gitlab.freedesktop.org/libfprint/fprintd"; + # rev = "refs/tags/V_0_8_1"; + # sha256 = "1b9za3vabwbwb9afn37whgkqm6kfz0m7vg6cqki1gsbsdk7vz868"; + # }; + + # buildInputs = with pkgs; [ libfprint glib dbus-glib polkit nss pam systemd ]; + # nativeBuildInputs = with pkgs; [ pkgconfig intltool autoreconfHook gtk-doc ]; + + # configureFlags = [ "--with-systemdsystemunitdir=$(out)/lib/systemd/system" ]; + # }); - nativeBuildInputs = with pkgs; oldAttrs.nativeBuildInputs or [] ++ [ autoreconfHook ]; + fprintd = pkgs.stdenv.lib.overrideDerivation (oldAttrs: { + installFlags = oldAttrs.installFlags or [] ++ [ "sysconfdir=\${out}/etc" ]; }); }; -- cgit v1.2.3