Unverified Commit 10dad205 authored by Bobby Rong's avatar Bobby Rong
Browse files

folks: 0.15.6 → 0.15.7

https://gitlab.gnome.org/GNOME/folks/-/compare/0.15.6...0.15.7

Also re-enable doCheck on Linux, and workaround Clang 16 build issue.
parent a26521a5
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -27,13 +27,13 @@

stdenv.mkDerivation rec {
  pname = "folks";
  version = "0.15.6";
  version = "0.15.7";

  outputs = [ "out" "dev" "devdoc" ];

  src = fetchurl {
    url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
    sha256 = "yGZjDFU/Kc6b4cemAmfLQICmvM9LjVUdxMfmI02EAkg=";
    sha256 = "Eg8hnvYyEsqpWuf2rrZOKZKLCxqLlFIFQwSgDQ80eHE=";
  };

  nativeBuildInputs = [
@@ -78,14 +78,15 @@ stdenv.mkDerivation rec {
  mesonFlags = [
    "-Ddocs=true"
    "-Dtelepathy_backend=${lib.boolToString telepathySupport}"
    # For some reason, the tests are getting stuck on 31/32,
    # even though the one missing test finishes just fine on next run,
    # when tests are permuted differently. And another test that
    # previously passed will be stuck instead.
    "-Dtests=false"
    "-Dtests=${lib.boolToString stdenv.isLinux}"
  ];

  doCheck = false;
  # backends/eds/lib/libfolks-eds.so.26.0.0.p/edsf-persona-store.c:10697:4:
  # error: call to undeclared function 'folks_persona_store_set_is_user_set_default';
  # ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration";

  doCheck = stdenv.isLinux;

  # Prevents e-d-s add-contacts-stress-test from timing out
  checkPhase = ''