From 88984cfeee5bad9175e86113c3357398017d1c29 Mon Sep 17 00:00:00 2001 From: happysalada Date: Sat, 17 Dec 2022 13:16:34 -0500 Subject: [PATCH] vector: add update script to derivation --- pkgs/servers/monitoring/mimir/default.nix | 2 +- pkgs/tools/misc/vector/default.nix | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/monitoring/mimir/default.nix b/pkgs/servers/monitoring/mimir/default.nix index e0be7b8ec68e..bb7153a301a1 100644 --- a/pkgs/servers/monitoring/mimir/default.nix +++ b/pkgs/servers/monitoring/mimir/default.nix @@ -1,5 +1,5 @@ { lib, buildGoModule, fetchFromGitHub, nixosTests }: -let +let pinData = lib.importJSON ./pin.json; in buildGoModule rec { diff --git a/pkgs/tools/misc/vector/default.nix b/pkgs/tools/misc/vector/default.nix index 7f274a0886e3..e5186c17b20e 100644 --- a/pkgs/tools/misc/vector/default.nix +++ b/pkgs/tools/misc/vector/default.nix @@ -103,7 +103,10 @@ rustPlatform.buildRustPackage { ''} ''; - passthru = { inherit features; }; + passthru = { + inherit features; + updateScript = ./update.sh; + }; meta = with lib; { description = "A high-performance logs, metrics, and events router";