aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/version-control.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 7574afda86..ca339b9285 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -802,7 +802,16 @@ to GitHub contributions calendar.")
(base32
"0vgpb2175a5dhqiy1iwywwppahgqhi340i8bsvafjpvkw284vazd"))
(modules '((guix build utils)))
- (snippet '(delete-file-recursively "deps"))))
+ (snippet
+ '(begin
+ (delete-file-recursively "deps")
+
+ ;; The "refs:revparse::date" test is time-dependent: it
+ ;; assumes "HEAD@{10 years ago}" doesn't match anything,
+ ;; which is no longer true. Adjust that test.
+ (substitute* "tests/refs/revparse.c"
+ (("10 years ago")
+ "100 years ago"))))))
(build-system cmake-build-system)
(outputs '("out" "debug"))
(arguments