lol

Merge pull request #42529 from mkaito/mesa-pkgconfig

mesa: point pkgconfig at $drivers

authored by

Matthew Bauer and committed by
GitHub
4bbca076 7f50e0a6

+5
+5
pkgs/development/libraries/mesa/default.nix
··· 205 205 for js in $drivers/share/glvnd/egl_vendor.d/*.json; do 206 206 substituteInPlace "$js" --replace '"libEGL_' '"'"$drivers/lib/libEGL_" 207 207 done 208 + 209 + # Update search path used by pkg-config 210 + for pc in $dev/lib/pkgconfig/*.pc; do 211 + substituteInPlace "$pc" --replace $out $drivers 212 + done 208 213 '' + optionalString (vulkanDrivers != []) '' 209 214 # Update search path used by Vulkan (it's pointing to $out but 210 215 # drivers are in $drivers)