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:
parent
cd71c681ca
commit
b91a56cc61
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue