libdrm: Don't depend on udev

The configure script checks for it, but the only use (in
libkms/Makefile.am) is commented out.
This commit is contained in:
Eelco Dolstra 2016-09-05 17:59:21 +02:00
parent b87d5abafd
commit 5d8c547460

View file

@ -11,8 +11,9 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libpthreadstubs libpciaccess ]
++ stdenv.lib.optional stdenv.isLinux udev;
buildInputs = [ libpthreadstubs libpciaccess ];
# libdrm as of 2.4.70 does not actually do anything with udev.
#++ stdenv.lib.optional stdenv.isLinux udev;
patches = stdenv.lib.optional stdenv.isDarwin ./libdrm-apple.patch;