gnu: e2fsprogs: Fix build for GNU/Hurd.

* gnu/packages/linux.scm (e2fsprogs)[#:phases]: Remove 'set-PATH_MAX phase when 'system-hurd?'.

Change-Id: I4ec84bdf5b9219b456109f427d2c192da5b20c98
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Yelninei 2025-04-08 07:23:52 +00:00 committed by Ludovic Courtès
parent 3cbd28a475
commit 1187020066
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -3161,12 +3161,7 @@ module.")
(chmod file #o666)) (chmod file #o666))
archives))))) archives)))))
,@(if (system-hurd?) ,@(if (system-hurd?)
'((add-after 'unpack 'set-PATH_MAX '((add-after 'unpack 'skip-tests
(lambda _
;; Shamelessly introduce an arbitrary limit.
(substitute* "misc/tune2fs.c"
(("PATH_MAX") "4096"))))
(add-after 'unpack 'skip-tests
(lambda _ (lambda _
(with-directory-excursion "tests" (with-directory-excursion "tests"
(for-each (for-each