1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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>
This commit is contained in:
Dariqq
2026-03-05 08:17:42 +00:00
committed by Cayetano Santos
parent d2de7901e6
commit 4750a7657d

View File

@@ -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")