monado: backport cylinder aspect ratio fix (#497948)

This commit is contained in:
Sefa Eyeoglu
2026-03-13 15:42:30 +00:00
committed by GitHub

View File

@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitLab,
fetchpatch,
writeText,
bluez,
cjson,
@@ -73,6 +74,16 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-hUSm76PV+FhvzhiYMUbGcNDQMK1TZCPYh1PNADJmdSU=";
};
patches = [
# Resolves issues with wayvr
# See https://github.com/NixOS/nixpkgs/pull/489154#issuecomment-4018732528
(fetchpatch {
name = "monado-cylinder-aspectRatio.patch";
url = "https://gitlab.freedesktop.org/monado/monado/-/commit/69834fe93b84640170f8efa54b4700e5e0dc03c1.diff";
hash = "sha256-6lD4j7CMQk52btfxD8hOm0GWZaOxSgc1jel9hyXqktA=";
})
];
nativeBuildInputs = [
cmake
doxygen