mailpit: disallow building nixos tests on darwin
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user