Skip to content

Commit

Permalink
mozillavpn: add updateScript
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Kaseorg <[email protected]>
(cherry picked from commit 228cd97)
  • Loading branch information
andersk committed Oct 4, 2024
1 parent b245c98 commit 5527334
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/by-name/mo/mozillavpn/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
_experimental-update-script-combinators,
buildGoModule,
cargo,
cmake,
Expand All @@ -9,6 +10,7 @@
libgcrypt,
libgpg-error,
libsecret,
nix-update-script,
pkg-config,
polkit,
python3,
Expand Down Expand Up @@ -100,6 +102,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";
Expand Down

0 comments on commit 5527334

Please sign in to comment.