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 <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg 2022-05-14 15:16:50 -07:00
parent d89d7af1ba
commit b2f44c3e6e

View file

@ -118,7 +118,11 @@ stdenv.mkDerivation {
python3 scripts/utils/import_languages.py --qt_path '${lib.getDev qttools}/bin' 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 = qtWrapperArgs =
[ "--prefix" "PATH" ":" (lib.makeBinPath [ wireguard-tools ]) ]; [ "--prefix" "PATH" ":" (lib.makeBinPath [ wireguard-tools ]) ];