From 58e5bd56d67b46208a6eef2539bb000b7a146580 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Sun, 14 Aug 2022 21:20:55 -0700 Subject: [PATCH] default-crate-overrides.nix: add libevdev for evdev-rs --- pkgs/build-support/rust/default-crate-overrides.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/build-support/rust/default-crate-overrides.nix b/pkgs/build-support/rust/default-crate-overrides.nix index 9f88e8a067bca..f6383af44e828 100644 --- a/pkgs/build-support/rust/default-crate-overrides.nix +++ b/pkgs/build-support/rust/default-crate-overrides.nix @@ -27,6 +27,7 @@ , freetype , rdkafka , udev +, libevdev , ... }: @@ -65,6 +66,12 @@ in buildInputs = [ dbus ]; }; + evdev-sys = attrs: { + LIBGIT2_SYS_USE_PKG_CONFIG = true; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ libevdev ]; + }; + expat-sys = attrs: { nativeBuildInputs = [ cmake ]; };