diff options
author | Rahul Rameshbabu | 2024-11-14 09:28:04 -0800 |
---|---|---|
committer | github-actions[bot] | 2024-11-15 17:26:29 +0000 |
commit | 420c85b7b878a41ed061ca6f9f91afa5c09f169c (patch) | |
tree | 01887894f59e5450f5e785b77a6e4cef5cdf07f4 | |
parent | f01f3573c48e1ba9f1615e07f6e4443511665319 (diff) |
globalprotect-openconnect: Reformat expressions using RFC style backport-355758-to-release-24.11
The original work did not use the new nixfmt style. Signed-off-by: Rahul Rameshbabu <sergeantsagara@protonmail.com> (cherry picked from commit b6bac07973d4599fc86f8abc5c565a8bfc58edc7)
-rw-r--r-- | nixos/modules/services/networking/globalprotect-vpn.nix | 7 | ||||
-rw-r--r-- | pkgs/tools/networking/globalprotect-openconnect/default.nix | 24 |
2 files changed, 26 insertions, 5 deletions
diff --git a/nixos/modules/services/networking/globalprotect-vpn.nix b/nixos/modules/services/networking/globalprotect-vpn.nix index 87ce8a5e142f..626a9cd0130d 100644 --- a/nixos/modules/services/networking/globalprotect-vpn.nix +++ b/nixos/modules/services/networking/globalprotect-vpn.nix @@ -1,4 +1,9 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: let cfg = config.services.globalprotect; diff --git a/pkgs/tools/networking/globalprotect-openconnect/default.nix b/pkgs/tools/networking/globalprotect-openconnect/default.nix index 5b00de2fda85..a80f06768022 100644 --- a/pkgs/tools/networking/globalprotect-openconnect/default.nix +++ b/pkgs/tools/networking/globalprotect-openconnect/default.nix @@ -1,5 +1,13 @@ -{ stdenv, lib, fetchurl -, cmake, qtwebsockets, qtwebengine, qtkeychain, wrapQtAppsHook, openconnect +{ + stdenv, + lib, + fetchurl, + cmake, + qtwebsockets, + qtwebengine, + qtkeychain, + wrapQtAppsHook, + openconnect, }: stdenv.mkDerivation rec { @@ -11,9 +19,17 @@ stdenv.mkDerivation rec { hash = "sha256-vhvVKESLbqHx3XumxbIWOXIreDkW3yONDMXMHxhjsvk="; }; - nativeBuildInputs = [ cmake wrapQtAppsHook ]; + nativeBuildInputs = [ + cmake + wrapQtAppsHook + ]; - buildInputs = [ openconnect qtwebsockets qtwebengine qtkeychain ]; + buildInputs = [ + openconnect + qtwebsockets + qtwebengine + qtkeychain + ]; patchPhase = '' substituteInPlace GPService/gpservice.h \ |