mesa: move vdpau drivers so they are found
This commit is contained in:
parent
095949bdc8
commit
458f17ae26
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user