perlPackages.NetDBus: fix cross compilation
Make Makefile.PL read the location to the `pkgconfig` binary from the `PKG_CONFIG` environment variable.
This commit is contained in:
parent
be707e4cc5
commit
993ca7678c
|
@ -13707,9 +13707,16 @@ let
|
|||
url = "mirror://cpan/authors/id/D/DA/DANBERR/Net-DBus-1.2.0.tar.gz";
|
||||
sha256 = "e7a1ac9ef4a1235b3fdbd5888f86c347182306467bd79abc9b0756a64b441cbc";
|
||||
};
|
||||
nativeBuildInputs = [ pkgs.buildPackages.pkgconfig ];
|
||||
nativeBuildInputs = [ buildPackages.pkgconfig ];
|
||||
buildInputs = [ pkgs.dbus TestPod TestPodCoverage ];
|
||||
propagatedBuildInputs = [ XMLTwig ];
|
||||
|
||||
# https://gitlab.com/berrange/perl-net-dbus/-/merge_requests/19
|
||||
patches = (fetchpatch {
|
||||
url = "https://gitlab.com/berrange/perl-net-dbus/-/commit/6bac8f188fb06e5e5edd27aee672d66b7c28caa4.patch";
|
||||
sha256 = "19nf4xn9xhyd0sd2az9iliqldjj0k6ah2dmkyqyvq4rp2d9k5jgb";
|
||||
});
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.freedesktop.org/wiki/Software/dbus";
|
||||
description = "Extension for the DBus bindings";
|
||||
|
|
Loading…
Reference in New Issue