Merge pull request #267708 from NickCao/dendrite

dendrite: disable tests on x86_64-darwin
This commit is contained in:
Nick Cao 2023-11-17 11:50:06 -05:00 committed by GitHub
commit e06c69dcbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
};