From adc9daae84b22f0c62f5ba9e8533d78a971716b5 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Sun, 7 Jul 2024 19:08:32 +0200 Subject: [PATCH] python3Packages.spsdk: disable tests to unbreak pynitrokey The tests of spsdk time out on slower machines like thinknix. Disabling them via overlay to fix the system build. TODO: raise this upstream --- packages/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/default.nix b/packages/default.nix index ce16870..fe84da9 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -1 +1,8 @@ -final: prev: { } +final: prev: { + python3 = prev.python3.override { + packageOverrides = python-final: python-prev: { + # spsdk tests fail with timeout on old laptop thinknix + spsdk = python-prev.spsdk.overridePythonAttrs { doCheck = false; }; + }; + }; +}