diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-08-22 23:43:36 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-08-22 23:43:36 +0200 |
commit | 1b32fbd478fd0f9b344fb922d0195fd4ec5f9bdc (patch) | |
tree | 6bc4bc61b7e396f3172533f7df20b2164a0ee5a1 | |
parent | c8e2b6ba08d602b1b2f926c279524a8fa1bffcb7 (diff) | |
download | nixos-1b32fbd478fd0f9b344fb922d0195fd4ec5f9bdc.tar nixos-1b32fbd478fd0f9b344fb922d0195fd4ec5f9bdc.tar.gz nixos-1b32fbd478fd0f9b344fb922d0195fd4ec5f9bdc.tar.bz2 nixos-1b32fbd478fd0f9b344fb922d0195fd4ec5f9bdc.tar.xz nixos-1b32fbd478fd0f9b344fb922d0195fd4ec5f9bdc.zip |
...
-rw-r--r-- | hel.nix | 18 |
1 files changed, 3 insertions, 15 deletions
@@ -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; |