fio: fix cross-compilation
Without the change `pkgsCross.aarch64-multiplatform.fio` fails build as: ``` $ nix build -f. pkgsCross.aarch64-multiplatform.fio ... fio-aarch64-unknown-linux-gnu> Bad option --build=x86_64-unknown-linux-gnu fio-aarch64-unknown-linux-gnu> Bad option --host=aarch64-unknown-linux-gnu ``` Co-authored-by: Nick Cao <nickcao@nichi.co>
This commit is contained in:
parent
1fb560746e
commit
cf25fdfac0
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [ python3 zlib ]
|
||||
++ lib.optional (!stdenv.isDarwin) libaio;
|
||||
|
||||
# ./configure does not support autoconf-style --build=/--host=.
|
||||
# We use $CC instead.
|
||||
configurePlatforms = [ ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper python3.pkgs.wrapPython ];
|
||||
|
||||
strictDeps = true;
|
||||
|
|
Loading…
Reference in a new issue