From 2e1935d0db82fd830a816b762c8812dfd0c1bec6 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 27 Oct 2025 11:33:53 +0100 Subject: [PATCH] gnu: calibre: Fix build. * gnu/packages/ebook.scm (calibre)[arguments]: Another, and hopefully last, attempt to skip a flaky test. This is a followup to 84dec447ac5377dd88dc44b2c071cad26766bfe5. Change-Id: Id9893ec262504c2bfdcdf3e05220f26d9d08f472 --- gnu/packages/ebook.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index 11e629bb4bf..7108268ce29 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -266,8 +266,8 @@ with Microsoft Compiled HTML (CHM) files") (add-after 'unpack 'skip-flaky-test (lambda _ (substitute* "src/calibre/srv/tests/web_sockets.py" - (("(def test_websocket_basic\\(.*)" line) - (string-append line "\n return True\n"))))) + (("^([ \t]*)def test_websocket_basic\\(.*" line lead) + (string-append line "\n" lead " return True\n"))))) (add-before 'build 'configure (lambda* (#:key inputs #:allow-other-keys) (substitute* "setup/build.py"