forgejo-runner: only run passthru tests on linux
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitea,
|
||||
@@ -45,7 +46,9 @@ buildGoModule rec {
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests.sqlite3 = nixosTests.forgejo.sqlite3;
|
||||
tests = lib.optionalAttrs stdenv.hostPlatform.isLinux {
|
||||
sqlite3 = nixosTests.forgejo.sqlite3;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user