pax-utils: fix cross-compilation (missing native C compiler)

Without the change cross-compilation fails as:

    $ nix build -f. pkgsCross.ppc64.pax-utils -L
    ...
    meson.build:149:2: ERROR: Tried to access compiler for language "c", not specified for build machine.
This commit is contained in:
Sergei Trofimovich 2022-08-18 06:30:45 +01:00
parent da87f77102
commit 1c66729c00

View file

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchurl
, buildPackages
, docbook_xml_dtd_44
, docbook_xsl
, libcap
@ -23,6 +24,7 @@ stdenv.mkDerivation rec {
strictDeps = true;
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ docbook_xml_dtd_44 docbook_xsl meson ninja pkg-config xmlto ];
buildInputs = [ libcap ];