From 790d95b4eed485f9bdf016cd0db5a1c6950d3ca0 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Thu, 30 Oct 2025 10:45:48 +0100 Subject: [PATCH] mir: Restrict supported platforms to LE-only Implementation of supported buffer formats for non-LE is marked as a TODO. Builds, but tests fail and compositors fail to start. --- pkgs/servers/mir/common.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/mir/common.nix b/pkgs/servers/mir/common.nix index 944242dceed3..f28c27aded5b 100644 --- a/pkgs/servers/mir/common.nix +++ b/pkgs/servers/mir/common.nix @@ -238,7 +238,9 @@ stdenv.mkDerivation (finalAttrs: { onny OPNA2608 ]; - platforms = lib.platforms.linux; + # Onle LE has valid graphics buffer formats + # https://github.com/canonical/mir/blob/ba8e83f75084379dec8e23131fdf04fa4a4567ac/src/platforms/common/server/shm_buffer.cpp#L61-L65 + platforms = lib.lists.intersectLists lib.platforms.linux lib.platforms.littleEndian; pkgConfigModules = [ "miral" "mircommon"