diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2022-08-18 06:30:45 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2022-08-18 06:31:45 +0100 |
commit | 1c66729c007789e54478322e0c98f0361b93281b (patch) | |
tree | 6882c2833e5e0825af34db5a952064f7b060b7ce /pkgs/os-specific/linux/pax-utils | |
parent | da87f771027c5fe2db7d93d4e56197849236dc5a (diff) |
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.
Diffstat (limited to 'pkgs/os-specific/linux/pax-utils')
-rw-r--r-- | pkgs/os-specific/linux/pax-utils/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/pax-utils/default.nix b/pkgs/os-specific/linux/pax-utils/default.nix index f074ab344ab2a..844dc61dac375 100644 --- a/pkgs/os-specific/linux/pax-utils/default.nix +++ b/pkgs/os-specific/linux/pax-utils/default.nix @@ -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 ]; |