forgejo-runner: unbreak on darwin

Needed to disable a docker-specific test,
which should not be supported anyway.
This commit is contained in:
Nikodem Rabuliński
2025-12-08 21:58:50 +01:00
parent fb442318aa
commit fec211858d
+4 -2
View File
@@ -38,6 +38,10 @@ let
# These tests rely on outbound IP address
"TestHandler"
"TestHandler_gcCache"
]
++ lib.optionals stdenv.isDarwin [
# Uses docker-specific options, unsupported on Darwin
"TestMergeJobOptions"
];
in
buildGoModule rec {
@@ -92,8 +96,6 @@ buildGoModule rec {
};
meta = with lib; {
# Cannot process container options: '--pid=host --device=/dev/sda': 'unknown server OS: darwin'
broken = stdenv.hostPlatform.isDarwin;
description = "Runner for Forgejo based on act";
homepage = "https://code.forgejo.org/forgejo/runner";
changelog = "https://code.forgejo.org/forgejo/runner/releases/tag/${src.rev}";