Commit 228cd97d authored by Anders Kaseorg's avatar Anders Kaseorg
Browse files

mozillavpn: add updateScript



Signed-off-by: default avatarAnders Kaseorg <andersk@mit.edu>
parent 2b59e8e4
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{
  _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";