From 68cf4666c8769f4b151af3edb5eb22508a6a4520 Mon Sep 17 00:00:00 2001 From: Austin Butler Date: Sat, 21 Jan 2023 14:02:09 -0800 Subject: [PATCH] authenticator: fix incompatibility with pipewire 0.3.64 --- pkgs/applications/misc/authenticator/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/misc/authenticator/default.nix b/pkgs/applications/misc/authenticator/default.nix index 735355107ef2..7bf4beba9d97 100644 --- a/pkgs/applications/misc/authenticator/default.nix +++ b/pkgs/applications/misc/authenticator/default.nix @@ -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";