summary refs log tree commit diff
path: root/pkgs/development/libraries/libnfc
diff options
context:
space:
mode:
authorJens Nolte <git@queezle.net>2021-10-25 15:15:48 +0200
committerJens Nolte <git@queezle.net>2021-10-25 20:39:34 +0200
commitb7021d39baa534bb7a850e85c84dad2ff295905a (patch)
treefe30357e1cc7d4450d97dd80e7f9796b02b34f0c /pkgs/development/libraries/libnfc
parent34ad3ffe08adfca17fcb4e4a47bb5f3b113687be (diff)
downloadnixpkgs-b7021d39baa534bb7a850e85c84dad2ff295905a.tar
nixpkgs-b7021d39baa534bb7a850e85c84dad2ff295905a.tar.gz
nixpkgs-b7021d39baa534bb7a850e85c84dad2ff295905a.tar.bz2
nixpkgs-b7021d39baa534bb7a850e85c84dad2ff295905a.tar.lz
nixpkgs-b7021d39baa534bb7a850e85c84dad2ff295905a.tar.xz
nixpkgs-b7021d39baa534bb7a850e85c84dad2ff295905a.tar.zst
nixpkgs-b7021d39baa534bb7a850e85c84dad2ff295905a.zip
libnfc: Set sysconfdir to /etc
The library was looking for config files in its nix store path.
Diffstat (limited to 'pkgs/development/libraries/libnfc')
-rw-r--r--pkgs/development/libraries/libnfc/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libnfc/default.nix b/pkgs/development/libraries/libnfc/default.nix
index b4daab97388..7e0d18115ef 100644
--- a/pkgs/development/libraries/libnfc/default.nix
+++ b/pkgs/development/libraries/libnfc/default.nix
@@ -11,6 +11,8 @@ stdenv.mkDerivation {
 
   buildInputs = [ libusb-compat-0_1 readline ];
 
+  configureFlags = [ "sysconfdir=/etc" ];
+
   meta = with lib; {
     description = "Open source library libnfc for Near Field Communication";
     license = licenses.gpl3;