From 5d8c54746066eb454bee5c10ba93b3a9e078bf45 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 5 Sep 2016 17:59:21 +0200 Subject: [PATCH] libdrm: Don't depend on udev The configure script checks for it, but the only use (in libkms/Makefile.am) is commented out. --- pkgs/development/libraries/libdrm/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libdrm/default.nix b/pkgs/development/libraries/libdrm/default.nix index 3d54a24b9f35..64cfb7d56cac 100644 --- a/pkgs/development/libraries/libdrm/default.nix +++ b/pkgs/development/libraries/libdrm/default.nix @@ -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;