jjui: Skip failing test on Darwin

This commit is contained in:
David Chocholatý
2026-01-12 13:22:33 +01:00
parent 81cc997ed1
commit 3211a7fce5
+5
View File
@@ -4,6 +4,7 @@
fetchFromGitHub,
nix-update-script,
versionCheckHook,
stdenv,
}:
buildGoModule (finalAttrs: {
pname = "jjui";
@@ -20,6 +21,10 @@ buildGoModule (finalAttrs: {
ldflags = [ "-X main.Version=${finalAttrs.version}" ];
checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [
"-skip=TestServerAskpass"
];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "-version";