lint: 'check-patch-file-names' restricts to shorter file names.

* guix/lint.scm (check-patch-file-names): Increase MARGIN.
This commit is contained in:
Ludovic Courtès 2020-04-10 15:58:01 +02:00
parent 929510a45d
commit 92587f8ed6
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -686,7 +686,7 @@ patch could not be found."
;; Check whether we're reaching tar's maximum file name length.
(let ((prefix (string-length (%distro-directory)))
(margin (string-length "guix-0.13.0-10-123456789/"))
(margin (string-length "guix-2.0.0rc3-10000-1234567890/"))
(max 99))
(filter-map (match-lambda
((? string? patch)