qt515.qt3d: fix build on aarch64-darwin

This commit is contained in:
Weijia Wang 2022-12-03 00:24:59 +01:00
parent cd71c681ca
commit b91a56cc61

View file

@ -1,7 +1,9 @@
{ qtModule, qtbase, qtdeclarative }:
{ lib, stdenv, qtModule, qtbase, qtdeclarative }:
qtModule {
pname = "qt3d";
qtInputs = [ qtbase qtdeclarative ];
outputs = [ "out" "dev" "bin" ];
# error: use of undeclared identifier 'stat64'
NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) "-Dstat64=stat";
}