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
+12 -2
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;
};