mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
mozillavpn: add updateScript
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
2b59e8e4a3
commit
228cd97d9c
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user