qt6.qtwayland: set meta.{platforms,badPlatforms}
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user