diff --git a/pkgs/development/libraries/qt-6/modules/qtbase.nix b/pkgs/development/libraries/qt-6/modules/qtbase.nix index 8fec445fb94f..d3aafe84ef7d 100644 --- a/pkgs/development/libraries/qt-6/modules/qtbase.nix +++ b/pkgs/development/libraries/qt-6/modules/qtbase.nix @@ -225,6 +225,8 @@ stdenv.mkDerivation rec { ] ++ lib.optionals stdenv.isDarwin [ # build as a set of dynamic libraries "-DFEATURE_framework=OFF" + # error: 'path' is unavailable: introduced in macOS 10.15 + "-DQT_FEATURE_cxx17_filesystem=OFF" ]; NIX_LDFLAGS = toString (lib.optionals stdenv.isDarwin [ diff --git a/pkgs/development/libraries/qtpbfimageplugin/default.nix b/pkgs/development/libraries/qtpbfimageplugin/default.nix index 69a492180dbc..40e7e1549140 100644 --- a/pkgs/development/libraries/qtpbfimageplugin/default.nix +++ b/pkgs/development/libraries/qtpbfimageplugin/default.nix @@ -27,12 +27,6 @@ stdenv.mkDerivation rec { --replace '$$PROTOBUF/lib/libprotobuf-lite.a' '${protobuf}/lib/libprotobuf-lite.dylib' ''; - # error: 'path' is unavailable: introduced in macOS 10.15 - qmakeFlags = lib.optionals stdenv.isDarwin [ - "CONFIG+=c++17" - "QMAKE_MACOSX_DEPLOYMENT_TARGET=10.15" - ]; - meta = with lib; { description = "Qt image plugin for displaying Mapbox vector tiles"; longDescription = ''