Unverified Commit e06c69dc authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #267708 from NickCao/dendrite

dendrite: disable tests on x86_64-darwin
parents 5d9be0d8 afad8bd6
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;
  };