mycelium: add update script

This commit is contained in:
r-vdp 2024-08-20 19:00:00 +02:00
parent 6cb5757dce
commit ac5507c9cb
No known key found for this signature in database

View File

@ -5,6 +5,7 @@
, openssl , openssl
, darwin , darwin
, nixosTests , nixosTests
, nix-update-script
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -38,7 +39,10 @@ rustPlatform.buildRustPackage rec {
OPENSSL_DIR = "${lib.getDev openssl}"; OPENSSL_DIR = "${lib.getDev openssl}";
}; };
passthru.tests = { inherit (nixosTests) mycelium; }; passthru = {
updateScript = nix-update-script { };
tests = { inherit (nixosTests) mycelium; };
};
meta = with lib; { meta = with lib; {
description = "End-2-end encrypted IPv6 overlay network"; description = "End-2-end encrypted IPv6 overlay network";