3
0
Fork 0
forked from mirrors/nixpkgs

mesa: move vdpau drivers so they are found

This commit is contained in:
Vladimír Čunát 2013-12-14 23:51:48 +01:00
parent 095949bdc8
commit 458f17ae26

View file

@ -154,6 +154,8 @@ stdenv.mkDerivation {
done
'' + /* set the default search path for DRI drivers; used e.g. by X server */ ''
substituteInPlace "$out/lib/pkgconfig/dri.pc" --replace '$(drivers)' "${driverLink}"
'' + /* move vdpau drivers to $drivers/lib, so they are found */ ''
mv "$drivers"/lib/vdpau/* "$drivers"/lib/ && rmdir "$drivers"/lib/vdpau
'';
#ToDo: @vcunat isn't sure if drirc will be found when in $out/etc/, but it doesn't seem important ATM