monado: backport cylinder aspect ratio fix

Resolves issues with wayvr
See https://github.com/NixOS/nixpkgs/pull/489154#issuecomment-4018732528

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2026-03-08 17:42:15 +01:00
commit ab1436b980
No known key found for this signature in database
GPG key ID: E13DFD4B47127951

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