dendrite: disable tests on x86_64-darwin

This commit is contained in:
Nick Cao 2023-11-15 12:42:45 -05:00
parent 4fb158accf
commit afad8bd6fc
No known key found for this signature in database

View File

@ -1,5 +1,12 @@
{ 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;
};