Merge pull request #204130 from wegank/qt3d-aarch64-darwin

This commit is contained in:
Sandro 2022-12-03 04:44:07 +01:00 committed by GitHub
commit c8e95c01f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -78,6 +78,5 @@ stdenv.mkDerivation (finalAttrs: {
license = licenses.gpl3Only;
maintainers = with maintainers; [ podocarp ];
platforms = platforms.unix;
broken = stdenv.isDarwin && stdenv.isAarch64;
};
})

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