From 0e4a87f4dd2089d99eb8d3f8a9c094e1d3e037d6 Mon Sep 17 00:00:00 2001 From: Lorenz Brun Date: Sat, 25 Nov 2023 12:18:16 +0100 Subject: [PATCH] qt6.qtwebengine: set correct platforms Qt WebEngine is built on Chromium, which only supports a limited set of platforms. Set these here to stop attempts at building for other platforms. --- pkgs/development/libraries/qt-6/modules/qtwebengine.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix index 4b4172897e08..4adcf8ab0a3b 100644 --- a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix +++ b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix @@ -308,7 +308,7 @@ qtModule { meta = with lib; { description = "A web engine based on the Chromium web browser"; - platforms = platforms.unix; + platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "armv7a-linux" "armv7l-linux" "x86_64-linux" ]; # This build takes a long time; particularly on slow architectures # 1 hour on 32x3.6GHz -> maybe 12 hours on 4x2.4GHz timeout = 24 * 3600;