cocoon: add nixos test to passthru

This commit is contained in:
isabel
2026-02-16 17:13:14 +00:00
parent e4b76d49b8
commit 2f3b49748c
+6 -1
View File
@@ -2,6 +2,8 @@
lib,
buildGoModule,
fetchFromGitHub,
nixosTests,
stdenvNoCC,
nix-update-script,
}:
buildGoModule (finalAttrs: {
@@ -23,7 +25,10 @@ buildGoModule (finalAttrs: {
vendorHash = "sha256-bux3OfHT8f1FVpBAZUP23vo8M6h8nPTJbi/GTUzhdc4=";
passthru.updateScript = nix-update-script { };
passthru = {
tests = lib.optionalAttrs stdenvNoCC.hostPlatform.isLinux { inherit (nixosTests) cocoon; };
updateScript = nix-update-script { };
};
meta = {
description = "ATProtocol Personal Data Server written in Go with a SQLite block and blob store";