Unverified Commit afad8bd6 authored by Nick Cao's avatar Nick Cao
Browse files

dendrite: disable tests on x86_64-darwin

parent 4fb158ac
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub, nix-update-script
, nixosTests, postgresql, postgresqlTestHook }:
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, nix-update-script
, nixosTests
, postgresql
, postgresqlTestHook
}:

buildGoModule rec {
  pname = "matrix-dendrite";
@@ -44,6 +51,9 @@ buildGoModule rec {
    rm roomserver/internal/input/input_test.go
  '';

  # PostgreSQL's request for a shared memory segment exceeded your kernel's SHMALL parameter
  doCheck = !(stdenv.isDarwin && stdenv.isx86_64);

  passthru.tests = {
    inherit (nixosTests) dendrite;
  };