about summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorOPNA2608 <christoph.neidahl@gmail.com>2023-12-21 14:25:13 +0100
committerOPNA2608 <christoph.neidahl@gmail.com>2023-12-23 22:45:23 +0100
commit220209b3a9f65517652cc4e218f546be76b52e36 (patch)
tree3057329100e82868a4ed9d7677c1b781b5ebc3e2 /pkgs/desktops
parente8009e368821b08f7357ade698f264e4162b0fcd (diff)
lomiri.history-service: Disable flaky test
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/lomiri/services/history-service/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/desktops/lomiri/services/history-service/default.nix b/pkgs/desktops/lomiri/services/history-service/default.nix
index ab790d7d7795f..f86dd5d258831 100644
--- a/pkgs/desktops/lomiri/services/history-service/default.nix
+++ b/pkgs/desktops/lomiri/services/history-service/default.nix
@@ -104,8 +104,7 @@ stdenv.mkDerivation (finalAttrs: {
     # Fix concatenations & variable references
     substituteInPlace src/history-service.pc.in \
       --replace 'LIB_INSTALL_DIR' 'CMAKE_INSTALL_FULL_LIBDIR' \
-      --replace "\''${CMAKE_INSTALL_PREFIX}/\''${" "\''${" \
-
+      --replace "\''${CMAKE_INSTALL_PREFIX}/\''${" "\''${"
   '' + (if finalAttrs.finalPackage.doCheck then ''
     # Tests launch these DBus services, fix paths related to them
 
@@ -151,6 +150,11 @@ stdenv.mkDerivation (finalAttrs: {
   cmakeFlags = [
     # Many deprecation warnings with Qt 5.15
     "-DENABLE_WERROR=OFF"
+    (lib.cmakeFeature "CMAKE_CTEST_ARGUMENTS" (lib.concatStringsSep ";" [
+      # DaemonTest is flaky
+      # https://gitlab.com/ubports/development/core/history-service/-/issues/13
+      "-E" "^DaemonTest"
+    ]))
   ];
 
   preBuild = ''