From 704efbd9aa3494cf4f762737274c13e9e90ca393 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Tue, 19 Nov 2024 09:47:16 +0100 Subject: [PATCH] opencomposite: add meta.platforms OpenComposite can't work on macOS as openxr-loader doesn't work on darwin. Signed-off-by: Sefa Eyeoglu --- pkgs/by-name/op/opencomposite/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/op/opencomposite/package.nix b/pkgs/by-name/op/opencomposite/package.nix index 30a18084aa32..dec0433ff336 100644 --- a/pkgs/by-name/op/opencomposite/package.nix +++ b/pkgs/by-name/op/opencomposite/package.nix @@ -11,6 +11,7 @@ vulkan-headers, vulkan-loader, xorg, + openxr-loader, }: stdenv.mkDerivation { @@ -61,5 +62,7 @@ stdenv.mkDerivation { homepage = "https://gitlab.com/znixian/OpenOVR"; license = with lib.licenses; [ gpl3Only ]; maintainers = with lib.maintainers; [ Scrumplex ]; + # This can realistically only work on systems that support OpenXR Loader + inherit (openxr-loader.meta) platforms; }; }