From b2f44c3e6e6f0f69f09ec8b6c9f04c7a11cb024c Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Sat, 14 May 2022 15:16:50 -0700 Subject: [PATCH] mozillavpn: Disable debug mode Upstream uses a broken test for debug mode, so we need to redundantly disable debug even though we already enable release: https://github.com/mozilla-mobile/mozilla-vpn-client/pull/3539 Signed-off-by: Anders Kaseorg --- pkgs/tools/networking/mozillavpn/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/mozillavpn/default.nix b/pkgs/tools/networking/mozillavpn/default.nix index ab03c61a164c..8fe6e6169fd6 100644 --- a/pkgs/tools/networking/mozillavpn/default.nix +++ b/pkgs/tools/networking/mozillavpn/default.nix @@ -118,7 +118,11 @@ stdenv.mkDerivation { python3 scripts/utils/import_languages.py --qt_path '${lib.getDev qttools}/bin' ''; - qmakeFlags = [ "USRPATH=$(out)" "ETCPATH=$(out)/etc" ]; + qmakeFlags = [ + "USRPATH=$(out)" + "ETCPATH=$(out)/etc" + "CONFIG-=debug" # https://github.com/mozilla-mobile/mozilla-vpn-client/pull/3539 + ]; qtWrapperArgs = [ "--prefix" "PATH" ":" (lib.makeBinPath [ wireguard-tools ]) ];