diff --git a/overlay/libhybris/0001-Removes-failing-test-for-wayland-less-builds.patch b/overlay/libhybris/0001-Removes-failing-test-for-wayland-less-builds.patch new file mode 100644 index 00000000..20e222dc --- /dev/null +++ b/overlay/libhybris/0001-Removes-failing-test-for-wayland-less-builds.patch @@ -0,0 +1,24 @@ +From 95d9181f725f06e4d00d920c9608cb1ed9c6537a Mon Sep 17 00:00:00 2001 +From: Samuel Dionne-Riel +Date: Mon, 9 Dec 2019 23:38:59 -0500 +Subject: [PATCH] Removes failing test for wayland-less builds + +--- + hybris/tests/Makefile.am | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/hybris/tests/Makefile.am b/hybris/tests/Makefile.am +index 6f97c3e..1a1656d 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -7,7 +7,6 @@ bin_PROGRAMS = \ + test_sensors \ + test_input \ + test_lights \ +- test_camera \ + test_vibrator \ + test_media \ + test_recorder \ +-- +2.23.0 + diff --git a/overlay/libhybris/default.nix b/overlay/libhybris/default.nix index 5e798305..911f4f85 100644 --- a/overlay/libhybris/default.nix +++ b/overlay/libhybris/default.nix @@ -24,7 +24,11 @@ stdenv.mkDerivation { sha256 = "014wrpzd1w2bbza5jsy51qhhn9lvffz5h8l6mkwvkkn98i3h9yzn"; }; - patches = lib.optional useLegacyProperties ./0001-HACK-Rely-on-legacy-properties-rather-than-native-pr.patch; + patches = [ + ./0001-Removes-failing-test-for-wayland-less-builds.patch + ] + ++ lib.optional useLegacyProperties ./0001-HACK-Rely-on-legacy-properties-rather-than-native-pr.patch + ; postAutoreconf = '' substituteInPlace configure \