diff options
-rw-r--r-- | gnu/packages/version-control.scm | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index b02b6e8493..49b53789f9 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Nikita Karetnikov <[email protected]> ;;; Copyright © 2013 Cyril Roelandt <[email protected]> -;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <[email protected]> +;;; Copyright © 2013-2022 Ludovic Courtès <[email protected]> ;;; Copyright © 2013, 2014 Andreas Enge <[email protected]> ;;; Copyright © 2015, 2016 Mathieu Lirzin <[email protected]> ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <[email protected]> @@ -874,7 +874,14 @@ write native speed custom Git applications in any language with bindings.") "1fjdglkh04qv3b4alg621pxa689i0wlf8m7nf2755zawjr2zhwxd")) (patches (search-patches "libgit2-mtime-0.patch")) (snippet '(begin - (delete-file-recursively "deps") #t)) + (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")))) (modules '((guix build utils))))))) (define-public git-crypt |