diff options
author | Nick Cao <nickcao@nichi.co> | 2024-04-27 13:16:10 -0400 |
---|---|---|
committer | Nick Cao <nickcao@nichi.co> | 2024-04-27 13:16:32 -0400 |
commit | f8b9ebc2473b75a155a17f764a9c7baa4a55f9a2 (patch) | |
tree | 87f15b1840b214d2d6fa080cde377f81c121b088 | |
parent | 36134ff4010203894314216675326404fbead273 (diff) |
v2ray-domain-list-community: add passthru.updateScript
-rw-r--r-- | pkgs/data/misc/v2ray-domain-list-community/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/data/misc/v2ray-domain-list-community/default.nix b/pkgs/data/misc/v2ray-domain-list-community/default.nix index fb73738345a31..098c95a73d8a6 100644 --- a/pkgs/data/misc/v2ray-domain-list-community/default.nix +++ b/pkgs/data/misc/v2ray-domain-list-community/default.nix @@ -1,4 +1,4 @@ -{ stdenv, pkgsBuildBuild, fetchFromGitHub, lib }: +{ stdenv, pkgsBuildBuild, fetchFromGitHub, lib, nix-update-script }: let generator = pkgsBuildBuild.buildGoModule rec { @@ -31,5 +31,8 @@ stdenv.mkDerivation { install -Dm644 dlc.dat $out/share/v2ray/geosite.dat runHook postInstall ''; - passthru.generator = generator; + passthru = { + inherit generator; + updateScript = nix-update-script { }; + }; } |