summaryrefslogtreecommitdiff
path: root/gnu/packages/lisp.scm
diff options
context:
space:
mode:
authorAda Stevenson <adanskana@gmail.com>2025-06-04 13:24:42 +0800
committerHilton Chain <hako@ultrarare.space>2025-06-06 21:18:15 +0800
commitf3e74ef25d479ed77f7cc029d312425b7776c3b0 (patch)
treed1c386b5a35380f8457f7fbe08a3f66a37c0e933 /gnu/packages/lisp.scm
parent62b5a27c86fabf9c24d30c60b3b159aaf9923a19 (diff)
gnu: clisp: Actually fix failing test.
This is a follow up to f2acfcc3fdd31082f909b8edc39f278c8cf14e45 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>
Diffstat (limited to 'gnu/packages/lisp.scm')
-rw-r--r--gnu/packages/lisp.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 3a047294d6..7fda9225d9 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -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.