mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
mesa: fix overzealous patching of *.pc
PR #42529 (722dd05
) broke gbm.pc and consequently virglrenderer build.
This commit is contained in:
parent
f001c81c1a
commit
2bd8e98eba
@ -207,7 +207,7 @@ let self = stdenv.mkDerivation {
|
||||
done
|
||||
|
||||
# Update search path used by pkg-config
|
||||
for pc in $dev/lib/pkgconfig/*.pc; do
|
||||
for pc in $dev/lib/pkgconfig/{d3d,dri,xatracker}.pc; do
|
||||
substituteInPlace "$pc" --replace $out $drivers
|
||||
done
|
||||
'' + optionalString (vulkanDrivers != []) ''
|
||||
|
Loading…
Reference in New Issue
Block a user