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:
parent
49ad8ce561
commit
56300ee0f0
|
@ -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" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue