scion: add updateScript

This commit is contained in:
Sizhe Zhao 2025-07-05 15:11:38 +08:00
parent db39dd031d
commit 44e45dd65f
No known key found for this signature in database
GPG Key ID: ED1807251A7DA08F

View File

@ -2,6 +2,7 @@
lib, lib,
buildGoModule, buildGoModule,
fetchFromGitHub, fetchFromGitHub,
nix-update-script,
nixosTests, nixosTests,
}: }:
buildGoModule (finalAttrs: { buildGoModule (finalAttrs: {
@ -39,8 +40,11 @@ buildGoModule (finalAttrs: {
tags = [ "sqlite_mattn" ]; tags = [ "sqlite_mattn" ];
passthru.tests = { passthru = {
inherit (nixosTests) scion-freestanding-deployment; tests = {
inherit (nixosTests) scion-freestanding-deployment;
};
updateScript = nix-update-script { };
}; };
meta = { meta = {