globalprotect-openconnect: Reformat expressions using RFC style

The original work did not use the new nixfmt style.

Signed-off-by: Rahul Rameshbabu <sergeantsagara@protonmail.com>
This commit is contained in:
Rahul Rameshbabu 2024-11-14 09:28:04 -08:00
parent 0b399eef24
commit b6bac07973
No known key found for this signature in database
GPG Key ID: FF247B3E5411387B
2 changed files with 26 additions and 5 deletions

View File

@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
let
cfg = config.services.globalprotect;

View File

@ -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 \