summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDariqq <dariqq@posteo.net>2026-03-05 08:17:42 +0000
committerCayetano Santos <csantosb@inventati.org>2026-03-16 20:02:06 +0100
commit4750a7657d73e01d45789b06f4b8154b61da5f7f (patch)
treedd7cdaa97e96984f0a74aebf675f18ac323bcdce
parentd2de7901e67b26ec740e179b127224048f4cb340 (diff)
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 <csantosb@inventati.org>
-rw-r--r--gnu/packages/web.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index a7b2f09deeb..ff62d33b0e6 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")