lol

pkg-config-wrapper: Provide autoconf macros

This fixes libarchive, and probably numerous other builds.

+9
+9
pkgs/build-support/pkg-config-wrapper/default.nix
··· 64 64 echo $pkg-config > $out/nix-support/orig-pkg-config 65 65 66 66 wrap ${targetPrefix}pkg-config ${./pkg-config-wrapper.sh} "${getBin pkg-config}/bin/pkg-config" 67 + '' 68 + # symlink in share for autoconf to find macros 69 + 70 + # TODO(@Ericson2314): in the future just make the unwrapped pkg-config a 71 + # propagated dep once we can rely on downstream deps comming first in 72 + # search paths. (https://github.com/NixOS/nixpkgs/pull/31414 took a crack 73 + # at this.) 74 + + '' 75 + ln -s ${pkg-config}/share $out/share 67 76 ''; 68 77 69 78 strictDeps = true;