guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 4750a7657d73e01d45789b06f4b8154b61da5f7f
Author: Dariqq <[email protected]>
AuthorDate: Thu Mar 5 08:17:42 2026 +0000
gnu: ikiwiki: Fix bazaar test with breezy bzr.
* gnu/packages/web.scm (ikiwiki)[#:phases]: Add fallback for
rcs_getctime for bazaar test.
Merges guix/guix!6740
Change-Id: I9446f7ef0ee22ad4ad6d2c4b2b98ebe406e7a3b2
Signed-off-by: Cayetano Santos <[email protected]>
---
gnu/packages/web.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index a7b2f09dee..ff62d33b0e 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6518,6 +6518,10 @@ The program supports multilingual content and is fully
extensible.")
(("^ENV(.*): '(.*)$" _ middle suffix)
(string-append "ENV" middle
": '$ENV{PERL5LIB}:" suffix)))
+ ;; rcs_getctime does not work with breezy
+ (substitute* "t/bazaar.t"
+ (("rcs_getctime\\(\"test2.mdwn\"\\)" all)
+ (string-append all "//time()")))
;; XDG_DATA_DIRS is needed by the podcast.t test.
(setenv "XDG_DATA_DIRS"
(string-append (assoc-ref inputs "shared-mime-info")