mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
install libudev-dev required by gamepad API (#31376)
Ubuntu 20.04 does not have libudev-dev causing build failure when compiling libudev-sys, which is in-turn needed by gilrs-core. Similarly, nix build also needs the udev C library. On Ubuntu 22.04, we don't see the build failures since the build dependency 'libgstreamer-plugins-base-1.0-dev' transitively pulls in libudev-dev. Fixes #31373 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
a726bb0fe1
commit
8faf6839d3
2 changed files with 3 additions and 1 deletions
|
@ -77,6 +77,8 @@ stdenv.mkDerivation (androidEnvironment // rec {
|
|||
taplo
|
||||
llvmPackages.bintools # provides lld
|
||||
|
||||
udev # Needed by libudev-sys for GamePad API.
|
||||
|
||||
# Build utilities
|
||||
cmake dbus gcc git pkg-config which llvm perl yasm m4
|
||||
(python3.withPackages (ps: with ps; [virtualenv pip dbus]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue