depot/third_party/nixpkgs/pkgs/development/libraries/qt-6/modules/qtquick3dphysics.nix

14 lines
310 B
Nix

{ qtModule
, lib
, stdenv
, qtbase
, qtquick3d
}:
qtModule {
pname = "qtquick3dphysics";
propagatedBuildInputs = [ qtbase qtquick3d ];
env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64)
"-faligned-allocation";
meta.mainProgram = "cooker";
}