libdrm: Remove valgrind as a dependency

cc @vcunat
This commit is contained in:
William A. Kennington III 2015-07-19 12:04:50 -07:00
parent 8d4f9d8d6b
commit 33ff74ced6

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libpthreadstubs libpciaccess valgrind ]
buildInputs = [ libpthreadstubs libpciaccess ]
++ stdenv.lib.optional stdenv.isLinux udev;
patches = stdenv.lib.optional stdenv.isDarwin ./libdrm-apple.patch;
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
preConfigure = stdenv.lib.optionalString stdenv.isDarwin
"echo : \\\${ac_cv_func_clock_gettime=\'yes\'} > config.cache";
configureFlags = [ "--enable-freedreno" ]
configureFlags = [ "--enable-freedreno" "--disable-valgrind" ]
++ stdenv.lib.optional stdenv.isLinux "--enable-udev"
++ stdenv.lib.optional stdenv.isDarwin "-C";