guix/gnu/packages/patches/libgit2-mtime-0.patch
Ludovic Courtès c0e7242aa1
gnu: libgit2: Reintroduce 1.1.0.
* gnu/packages/version-control.scm (libgit2-1.1): New variable.
* gnu/packages/patches/libgit2-mtime-0.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-11-23 20:35:00 +01:00

14 lines
440 B
Diff

The Clar test framework has a bug whereby it skips the parsing phase
on files with mtime=0.
Reported upstream at <https://github.com/vmg/clar/pull/78>.
diff --git a/tests/generate.py b/tests/generate.py
index b639c8f..111ca41 100644
--- a/tests/generate.py
+++ b/tests/generate.py
@@ -63,3 +63,3 @@ class Module(object):
- self.mtime = 0
+ self.mtime = None # Guix sets all file mtimes to '0'
self.enabled = True