Loading pkgs/development/libraries/qt-6/default.nix +16 −2 Original line number Diff line number Diff line Loading @@ -10,7 +10,9 @@ , gst_all_1 , libglvnd , darwin , overrideSDK , apple-sdk_15 , apple-sdk_12 , darwinMinVersionHook , buildPackages , python3 , config Loading @@ -28,15 +30,27 @@ let inherit (self) qtModule; inherit srcs python3 stdenv; }); # Per <https://doc.qt.io/qt-6/macos.html#supported-versions>. # This should reflect the lowest “Target Platform” and the # highest “Build Environment”. apple-sdk_qt = apple-sdk_15; darwinDeploymentTargetDeps = [ apple-sdk_12 (darwinMinVersionHook "12.0") ]; in { inherit callPackage srcs; qtModule = callPackage ./qtModule.nix { }; qtModule = callPackage ./qtModule.nix { inherit apple-sdk_qt; }; qtbase = callPackage ./modules/qtbase.nix { withGtk3 = !stdenv.hostPlatform.isMinGW; inherit apple-sdk_qt darwinDeploymentTargetDeps; inherit (srcs.qtbase) src version; patches = [ ./patches/0001-qtbase-qmake-always-use-libname-instead-of-absolute-.patch Loading pkgs/development/libraries/qt-6/modules/qtbase.nix +5 −9 Original line number Diff line number Diff line Loading @@ -67,9 +67,8 @@ , unixODBCDrivers # darwin , moveBuildTree , apple-sdk_11 , apple-sdk_14 , darwinMinVersionHook , apple-sdk_qt , darwinDeploymentTargetDeps , xcbuild # mingw , pkgsBuildBuild Loading Loading @@ -156,10 +155,8 @@ stdenv.mkDerivation rec { xorg.libXtst xorg.xcbutilcursor libepoxy ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_14 (darwinMinVersionHook "11.0") ] ++ lib.optionals libGLSupported [ ] ++ lib.optionals stdenv.hostPlatform.isDarwin darwinDeploymentTargetDeps ++ lib.optionals libGLSupported [ libGL ] ++ lib.optionals stdenv.hostPlatform.isMinGW [ vulkan-headers Loading @@ -171,8 +168,7 @@ stdenv.mkDerivation rec { ] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform libinput) [ libinput ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 (darwinMinVersionHook "11.0") apple-sdk_qt ] ++ lib.optional withGtk3 gtk3 ++ lib.optional (libmysqlclient != null && !stdenv.hostPlatform.isMinGW) libmysqlclient Loading pkgs/development/libraries/qt-6/qtModule.nix +2 −3 Original line number Diff line number Diff line { lib , stdenv , apple-sdk_14 , apple-sdk_qt , cmake , ninja , perl Loading @@ -22,8 +22,7 @@ stdenv.mkDerivation (args // { buildInputs = args.buildInputs or [ ] # Per https://doc.qt.io/qt-6/macos.html#supported-versions ++ lib.optionals stdenv.isDarwin [ apple-sdk_14 ]; ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_qt ]; nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ cmake ninja perl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ moveBuildTree ]; propagatedBuildInputs = Loading Loading
pkgs/development/libraries/qt-6/default.nix +16 −2 Original line number Diff line number Diff line Loading @@ -10,7 +10,9 @@ , gst_all_1 , libglvnd , darwin , overrideSDK , apple-sdk_15 , apple-sdk_12 , darwinMinVersionHook , buildPackages , python3 , config Loading @@ -28,15 +30,27 @@ let inherit (self) qtModule; inherit srcs python3 stdenv; }); # Per <https://doc.qt.io/qt-6/macos.html#supported-versions>. # This should reflect the lowest “Target Platform” and the # highest “Build Environment”. apple-sdk_qt = apple-sdk_15; darwinDeploymentTargetDeps = [ apple-sdk_12 (darwinMinVersionHook "12.0") ]; in { inherit callPackage srcs; qtModule = callPackage ./qtModule.nix { }; qtModule = callPackage ./qtModule.nix { inherit apple-sdk_qt; }; qtbase = callPackage ./modules/qtbase.nix { withGtk3 = !stdenv.hostPlatform.isMinGW; inherit apple-sdk_qt darwinDeploymentTargetDeps; inherit (srcs.qtbase) src version; patches = [ ./patches/0001-qtbase-qmake-always-use-libname-instead-of-absolute-.patch Loading
pkgs/development/libraries/qt-6/modules/qtbase.nix +5 −9 Original line number Diff line number Diff line Loading @@ -67,9 +67,8 @@ , unixODBCDrivers # darwin , moveBuildTree , apple-sdk_11 , apple-sdk_14 , darwinMinVersionHook , apple-sdk_qt , darwinDeploymentTargetDeps , xcbuild # mingw , pkgsBuildBuild Loading Loading @@ -156,10 +155,8 @@ stdenv.mkDerivation rec { xorg.libXtst xorg.xcbutilcursor libepoxy ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_14 (darwinMinVersionHook "11.0") ] ++ lib.optionals libGLSupported [ ] ++ lib.optionals stdenv.hostPlatform.isDarwin darwinDeploymentTargetDeps ++ lib.optionals libGLSupported [ libGL ] ++ lib.optionals stdenv.hostPlatform.isMinGW [ vulkan-headers Loading @@ -171,8 +168,7 @@ stdenv.mkDerivation rec { ] ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform libinput) [ libinput ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 (darwinMinVersionHook "11.0") apple-sdk_qt ] ++ lib.optional withGtk3 gtk3 ++ lib.optional (libmysqlclient != null && !stdenv.hostPlatform.isMinGW) libmysqlclient Loading
pkgs/development/libraries/qt-6/qtModule.nix +2 −3 Original line number Diff line number Diff line { lib , stdenv , apple-sdk_14 , apple-sdk_qt , cmake , ninja , perl Loading @@ -22,8 +22,7 @@ stdenv.mkDerivation (args // { buildInputs = args.buildInputs or [ ] # Per https://doc.qt.io/qt-6/macos.html#supported-versions ++ lib.optionals stdenv.isDarwin [ apple-sdk_14 ]; ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_qt ]; nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ cmake ninja perl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ moveBuildTree ]; propagatedBuildInputs = Loading