summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2024-11-05 21:19:11 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-11-24 12:23:35 +0000
commit7ae40ce5ba4b6fb843cefbf05560d8646794a437 (patch)
tree2ec4cf1980a3570a0554199307396fe0e612b989
parent[Backport release-24.11] ams-lv2: Mark broken (#358694) (diff)
downloadnixpkgs-7ae40ce5ba4b6fb843cefbf05560d8646794a437.tar.gz
monado: backport reproducibility fix
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net> (cherry picked from commit cf27301dc5f78cf80ba8d2f3ee37899576e31f16)
-rw-r--r--pkgs/by-name/mo/monado/package.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/by-name/mo/monado/package.nix b/pkgs/by-name/mo/monado/package.nix
index f65a83c3d601..bb5ed08f9c8e 100644
--- a/pkgs/by-name/mo/monado/package.nix
+++ b/pkgs/by-name/mo/monado/package.nix
@@ -10,6 +10,7 @@
, doxygen
, eigen
, elfutils
+, fetchpatch2
, glslang
, gst-plugins-base
, gstreamer
@@ -141,6 +142,16 @@ stdenv.mkDerivation (finalAttrs: {
# - DRIVER_ULV2 - Needs proprietary Leapmotion SDK https://api.leapmotion.com/documentation/v2/unity/devguide/Leap_SDK_Overview.html (See https://github.com/NixOS/nixpkgs/issues/292624)
# - DRIVER_ULV5 - Needs proprietary Leapmotion SDK https://api.leapmotion.com/documentation/v2/unity/devguide/Leap_SDK_Overview.html (See https://github.com/NixOS/nixpkgs/issues/292624)
+ patches = [
+ # Remove this patch on the next update
+ # https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2338
+ (fetchpatch2 {
+ name = "improve-reproducibility.patch";
+ url = "https://gitlab.freedesktop.org/monado/monado/-/commit/9819fb6dd61d2af5b2d993ed37b976760002b055.patch";
+ hash = "sha256-qpTF1Q64jl8ZnJzMtflrpHLahCqfde2DXA9/Avlc18I=";
+ })
+ ];
+
# Help openxr-loader find this runtime
setupHook = writeText "setup-hook" ''
export XDG_CONFIG_DIRS=@out@/etc/xdg''${XDG_CONFIG_DIRS:+:''${XDG_CONFIG_DIRS}}