1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

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";
}