Commit e724d062 authored by K900's avatar K900
Browse files

snx-rs: fix wrapping

parent a988a653
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -12,8 +12,10 @@
  libsoup_3,
  openssl,
  pkg-config,
  qt6,
  rustPlatform,
  webkitgtk_4_1,
  wrapGAppsHook4,
  graphene,
  nix-update-script,
  versionCheckHook,
@@ -34,6 +36,8 @@ rustPlatform.buildRustPackage rec {
  nativeBuildInputs = [
    iproute2
    pkg-config
    qt6.wrapQtAppsHook
    wrapGAppsHook4
  ];

  buildInputs = [
@@ -66,6 +70,12 @@ rustPlatform.buildRustPackage rec {
  versionCheckProgram = "${placeholder "out"}/bin/snx-rs";
  versionCheckProgramArg = "--version";

  preFixup = ''
    qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
  '';

  dontWrapGApps = true;

  meta = {
    description = "Open source Linux client for Checkpoint VPN tunnels";
    homepage = "https://github.com/ancwrd1/snx-rs";