3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #136309 from SuperSandro2000/libva

This commit is contained in:
Sandro 2021-09-02 20:30:45 +02:00 committed by GitHub
commit 6666bdf0fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@
}:
stdenv.mkDerivation rec {
name = "libva-${lib.optionalString minimal "minimal-"}${version}";
pname = "libva" + lib.optionalString minimal "minimal";
version = "2.12.0";
src = fetchFromGitHub {
@ -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; {