git.iko.soy/typeable/nixpkgs
on master help sign in
mesa: fix overzealous patching of *.pc

PR #42529 (722dd05) broke gbm.pc and consequently virglrenderer build.

commit2bd8e98eba5798ae948335da6db304fe10626904 authorVladimír Čunát <vcunat@gmail.com> dateMon 16 Jul 2018, 17:47 (8 years ago) parentf001c81
1 file changed+1−1
pkgs/development/libraries/mesa/default.nix+1−1
pkgs/development/libraries/mesa/default.nix+1−1
@@ -207,7 +207,7 @@ let self = stdenv.mkDerivation {
207207 done
208208
209209 # Update search path used by pkg-config
210− for pc in $dev/lib/pkgconfig/*.pc; do
210+ for pc in $dev/lib/pkgconfig/{d3d,dri,xatracker}.pc; do
211211 substituteInPlace "$pc" --replace $out $drivers
212212 done
213213 '' + optionalString (vulkanDrivers != []) ''