From 91f441cf77e4495bf26bb35c12ac91f350473bbc Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Tue, 9 May 2023 11:28:33 +0200 Subject: [PATCH] yubioath-flutter: Relax python deps in helper --- pkgs/applications/misc/yubioath-flutter/helper.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/misc/yubioath-flutter/helper.nix b/pkgs/applications/misc/yubioath-flutter/helper.nix index e40f6a78c862..77dd379b6dc8 100644 --- a/pkgs/applications/misc/yubioath-flutter/helper.nix +++ b/pkgs/applications/misc/yubioath-flutter/helper.nix @@ -1,4 +1,5 @@ { buildPythonApplication +, python3 , poetry-core , yubikey-manager , fido2 @@ -19,6 +20,12 @@ buildPythonApplication { sourceRoot = "${src.name}/helper"; format = "pyproject"; + nativeBuildInputs = [ + python3.pkgs.pythonRelaxDepsHook + ]; + + pythonRelaxDeps = [ "yubikey-manager" ]; + postPatch = '' sed -i \ -e 's,zxing-cpp = .*,zxing-cpp = "*",g' \