authenticator: fix incompatibility with pipewire 0.3.64

This commit is contained in:
Austin Butler
2023-01-21 14:02:09 -08:00
parent 1ea55a0097
commit 68cf4666c8
@@ -69,6 +69,11 @@ stdenv.mkDerivation rec {
zbar
];
# https://gitlab.gnome.org/World/Authenticator/-/issues/362
preBuild = ''
export BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS -DPW_ENABLE_DEPRECATED"
'';
meta = {
description = "Two-factor authentication code generator for GNOME";
homepage = "https://gitlab.gnome.org/World/Authenticator";