mailpit: disallow building nixos tests on darwin

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
phanirithvij
2026-05-18 11:42:18 +05:30
parent 5b6295c126
commit a921361c0a
+3 -1
View File
@@ -83,13 +83,15 @@ buildGoModule (finalAttrs: {
passthru = {
tests = {
inherit (nixosTests) mailpit;
# cannot use versionCheckHook due to the extra --no-release-check flag
# for workarounds and other solutions see https://github.com/NixOS/nixpkgs/pull/486143#discussion_r2754533347
version = testers.testVersion {
package = mailpit;
command = "mailpit version --no-release-check";
};
}
// lib.optionalAttrs (!stdenv.hostPlatform.isDarwin) {
inherit (nixosTests) mailpit;
};
updateScript = {