me
/
guix
Archived
1
0
Fork 0

gnu: lisp-repl-core-dumper: Patch path to `cat'.

* gnu/packages/lisp.scm (lisp-repl-core-dumper)[arguments]: Substitute calls
to `cat' with full store path.
master
Pierre Neidhardt 2021-01-20 20:37:57 +01:00
parent 2ec30608b2
commit 683154166d
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 2 additions and 0 deletions

View File

@ -1103,12 +1103,14 @@ assembler, PEG) is less than 1MB.")
(add-before 'install 'fix-utils-path
(lambda* (#:key inputs #:allow-other-keys)
(let* ((coreutils (string-append (assoc-ref inputs "coreutils") "/bin/"))
(cat (string-append coreutils "cat"))
(paste (string-append coreutils "paste"))
(sort (string-append coreutils "sort"))
(basename (string-append coreutils "basename"))
(sed (string-append (assoc-ref inputs "sed") "/bin/sed")))
(substitute* "lisp-repl-core-dumper"
(("\\$\\(basename") (string-append "$(" basename))
(("\\<cat\\>") cat)
(("\\<paste\\>") paste)
(("\\<sed\\>") sed)
(("\\<sort\\>") sort))))))))