Unverified Commit 6ee182fb authored by K900's avatar K900 Committed by GitHub
Browse files

qt6.qtbase: fix build on Darwin by preferring frameworks (#455458)

parents de8a6232 dd9fbf60
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -292,6 +292,9 @@ stdenv.mkDerivation rec {
    # When this variable is not set, cmake tries to execute xcodebuild
    # to query the version.
    "-DQT_INTERNAL_XCODE_VERSION=0.1"
    # This should be removed once https://github.com/NixOS/nixpkgs/pull/455592 makes it to master
    # as it will become redundant.
    "-DCMAKE_FIND_FRAMEWORK=FIRST"
  ]
  ++ lib.optionals isCrossBuild [
    "-DQT_HOST_PATH=${pkgsBuildBuild.qt6.qtbase}"