libva: load driver from Debian directories

This commit is contained in:
Sandro Jäckel 2021-08-31 18:07:14 +02:00
parent 5dcec016e9
commit 56eecd5f23
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
# TODO: share libs between minimal and !minimal - perhaps just symlink them
mesonFlags = [
# Add FHS paths for non-NixOS applications:
"-Ddriverdir=${mesa.drivers.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri"
# Add FHS and Debian paths for non-NixOS applications
"-Ddriverdir=${mesa.drivers.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/i386-linux-gnu/dri"
];
meta = with lib; {