diff --git a/pkgs/development/libraries/qt-6/modules/qtdeclarative/default.nix b/pkgs/development/libraries/qt-6/modules/qtdeclarative/default.nix index b5f88766d1251..98f59e94943f3 100644 --- a/pkgs/development/libraries/qt-6/modules/qtdeclarative/default.nix +++ b/pkgs/development/libraries/qt-6/modules/qtdeclarative/default.nix @@ -21,12 +21,13 @@ qtModule { ]; strictDeps = true; - patches = [ - # prevent headaches from stale qmlcache data - ./disable-disk-cache.patch - # add version specific QML import path - ./use-versioned-import-path.patch - ] + patches = + [ + # prevent headaches from stale qmlcache data + ./disable-disk-cache.patch + # add version specific QML import path + ./use-versioned-import-path.patch + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # The build attempts to sign qmltestrunner, which may already be signed, causing it to fail unless forced. (fetchpatch2 {