Unverified Commit bb6efb84 authored by Cleeyv's avatar Cleeyv Committed by GitHub
Browse files

bitmask-vpn: fix calyx build (#348299)

parent d4f2666c
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
{ lib
, stdenv
, substituteAll
, git
, fetchFromGitLab
, buildGoModule
, wrapQtAppsHook
, python3
, python3Packages
, pkg-config
, openvpn
@@ -30,7 +32,8 @@ let
    owner = "leap";
    repo = "bitmask-vpn";
    rev = "8b3ac473f64b6de0262fbf945ff25af8029134f1";
    sha256 = "sha256-nYMfO091w6H7LyY1+aYubFppg4/3GiZZm4e+0m9Gb3k=";
    leaveDotGit = true;
    sha256 = "sha256-XUgCVHnTLZXFU+r0s1yuYryWNBJRgQrFlf3g1iRrLWs=";
  };

  # bitmask-root is only used on GNU/Linux
@@ -105,7 +108,9 @@ buildGoModule rec {

  nativeBuildInputs = [
    cmake
    git
    pkg-config
    python3
    python3Packages.wrapPython
    which
    wrapQtAppsHook
@@ -131,6 +136,8 @@ buildGoModule rec {
  buildPhase = ''
    runHook preBuild

    make vendor

    # TODO: this is a hack that copies the qrc file that should by built by qmlcachegen
    # qmlcachegen is in qtdeclarative/libexec, but qmake is in qtbase/bin
    # but qmake searches for qmlcachegen in qtbase/libexec which leads to the error
+1 −1
Original line number Diff line number Diff line
@@ -3006,7 +3006,7 @@ with pkgs;
  bluetooth_battery = python3Packages.callPackage ../applications/misc/bluetooth_battery { };
  calyx-vpn = libsForQt5.callPackage ../tools/networking/bitmask-vpn {
  calyx-vpn = qt6Packages.callPackage ../tools/networking/bitmask-vpn {
    provider = "calyx";
    inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
  };