qt6.qtwayland: set meta.{platforms,badPlatforms}

This commit is contained in:
rewine
2024-11-07 21:57:17 +02:00
committed by Artturin
parent b7cd0d3c88
commit f542c493ad
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ let
{
name = "wrap-qt6-apps-hook";
propagatedBuildInputs = [ makeBinaryWrapper ];
depsTargetTargetPropagated = lib.optionals stdenv.isLinux [ qtwayland.out ];
depsTargetTargetPropagated = lib.optionals (lib.meta.availableOn stdenv.targetPlatform qtwayland) [ qtwayland.out ];
} ./hooks/wrap-qt-apps-hook.sh)
{ };
@@ -1,4 +1,5 @@
{ qtModule
{ lib
, qtModule
, qtbase
, qtdeclarative
, wayland
@@ -22,4 +23,9 @@ qtModule {
postPatch = ''
cp ${wayland-scanner}/share/wayland/wayland.xml src/3rdparty/protocol/wayland/wayland.xml
'';
meta = {
platforms = lib.platforms.unix;
badPlatforms = lib.platforms.darwin;
};
}