libvdpau: break evaluation cycle on darwin

That path isn't meaningful on non-NixOS anyway.
This commit is contained in:
Vladimír Čunát 2016-02-07 14:23:24 +01:00
parent a115bff08c
commit 9cf445405b

View File

@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ xorg.libX11 ];
configureFlags = [ "--with-module-dir=${mesa_noglu.driverLink}/lib/vdpau" ];
configureFlags = stdenv.lib.optional stdenv.isLinux
"--with-module-dir=${mesa_noglu.driverLink}/lib/vdpau";
installFlags = [ "moduledir=$(out)/lib/vdpau" ];