Unverified Commit b6bac079 authored by Rahul Rameshbabu's avatar Rahul Rameshbabu
Browse files

globalprotect-openconnect: Reformat expressions using RFC style



The original work did not use the new nixfmt style.

Signed-off-by: default avatarRahul Rameshbabu <sergeantsagara@protonmail.com>
parent 0b399eef
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
{ config, lib, pkgs, ... }:
{
  config,
  lib,
  pkgs,
  ...
}:
let
  cfg = config.services.globalprotect;

+20 −4
Original line number Diff line number Diff line
{ 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 \