gnu: clisp: Actually fix failing test.

This is a follow up to f2acfcc3fd that didn't
actually fix the issue with patching the paths.

* gnu/packages/lisp.scm (clisp)[arguments]<#:phases>: In ‘patch-sh-and-pwd’,
patch ‘cat’ reference for the streamslong test.
Rename the phase to ‘patch-references’.

Change-Id: I16363fad0c20a83d5aaa763799001a32b2725584
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
Ada Stevenson 2025-06-04 13:24:42 +08:00 committed by Hilton Chain
parent 62b5a27c86
commit f3e74ef25d
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -559,7 +559,7 @@ Definition Facility.")
"--with-module=rawsock")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-sh-and-pwd
(add-after 'unpack 'patch-references
(lambda _
;; The package is very messy with its references to "/bin/sh" and
;; some other absolute paths to traditional tools. These appear in
@ -574,6 +574,8 @@ Definition Facility.")
(("/bin/sh") "sh"))
(substitute* '("src/clisp-link.in")
(("/bin/pwd") "pwd"))
(substitute* '("tests/streamslong.tst")
(("/bin/cat") "cat"))
#t))
(add-after 'unpack 'replace-asdf
;; Use system ASDF instead of bundled one.