Unverified Commit c7cbcd91 authored by Sefa Eyeoglu's avatar Sefa Eyeoglu Committed by GitHub
Browse files

monado: backport cylinder aspect ratio fix (#497948)

parents 0519a8a7 ab1436b9
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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