From 1b32fbd478fd0f9b344fb922d0195fd4ec5f9bdc Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 22 Aug 2018 23:43:36 +0200 Subject: ... --- hel.nix | 18 +++--------------- 1 file 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 @@ configureFlags = [ "--with-udev-rules-dir=$(out)/lib/udev/rules.d" ]; }; - 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" ]; - }; + fprintd = pkgs.stdenv.lib.overrideDerivation pkgs.fprintd (oldAttrs: { + configureFlags = oldAttrs.configureFlags or [] ++ ["--sysconfdir=$(out)/etc"]; + }); }; nixpkgs.config.allowUnfree = true; -- cgit v1.2.3