forked from mirrors/nixpkgs
libvdpau: break evaluation cycle on darwin
That path isn't meaningful on non-NixOS anyway.
This commit is contained in:
parent
a115bff08c
commit
9cf445405b
|
@ -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" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue