mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
perlPackages.ExtUtilsPkgConfig: fix cross-compiling
This commit is contained in:
parent
75fd86fb25
commit
04e17c10b8
@ -8032,6 +8032,11 @@ let
|
||||
};
|
||||
nativeBuildInputs = [ buildPackages.pkg-config ];
|
||||
propagatedBuildInputs = [ pkgs.pkg-config ];
|
||||
postPatch = ''
|
||||
# no pkg-config binary when cross-compiling so the check fails
|
||||
substituteInPlace Makefile.PL \
|
||||
--replace "pkg-config" "$PKG_CONFIG"
|
||||
'';
|
||||
doCheck = false; # expects test_glib-2.0.pc in PKG_CONFIG_PATH
|
||||
meta = {
|
||||
homepage = "http://gtk2-perl.sourceforge.net";
|
||||
|
Loading…
Reference in New Issue
Block a user