mozillavpn: add updateScript

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg 2024-10-01 15:01:16 -07:00
parent 2b59e8e4a3
commit 228cd97d9c

View File

@ -1,4 +1,5 @@
{
_experimental-update-script-combinators,
buildGoModule,
cargo,
cmake,
@ -9,6 +10,7 @@
libgcrypt,
libgpg-error,
libsecret,
nix-update-script,
pkg-config,
python3,
qt6,
@ -99,6 +101,14 @@ stdenv.mkDerivation (finalAttrs: {
(lib.makeBinPath [ wireguard-tools ])
];
passthru.updateScript = _experimental-update-script-combinators.sequence [
(nix-update-script { })
(nix-update-script {
attrPath = "mozillavpn.netfilter";
extraArgs = [ "--version=skip" ];
})
];
meta = {
description = "Client for the Mozilla VPN service";
mainProgram = "mozillavpn";