3
0
Fork 0
forked from mirrors/nixpkgs

libva: set driver path correctly in minimal version

This does not introduce a dependency on mesa, as
mesa_noglu.driverLink == "/run/opengl-driver"

Fixes #17264.
This commit is contained in:
Gabriel Ebner 2016-07-30 12:14:36 +02:00
parent 49ad8ce561
commit 56300ee0f0

View file

@ -19,10 +19,9 @@ stdenv.mkDerivation rec {
++ lib.optionals (!minimal) [ libva libX11 libXext libXfixes wayland libffi mesa_noglu ];
# TODO: share libs between minimal and !minimal - perhaps just symlink them
configureFlags = lib.optionals (!minimal) [
"--with-drivers-path=${mesa_noglu.driverLink}/lib/dri"
"--enable-glx"
];
configureFlags =
[ "--with-drivers-path=${mesa_noglu.driverLink}/lib/dri" ] ++
lib.optionals (!minimal) [ "--enable-glx" ];
installFlags = [ "dummy_drv_video_ladir=$(out)/lib/dri" ];