mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
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.
This commit is contained in:
parent
2ec30608b2
commit
683154166d
1 changed files with 2 additions and 0 deletions
|
@ -1103,12 +1103,14 @@ (define-public lisp-repl-core-dumper
|
|||
(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))))))))
|
||||
|
|
Loading…
Reference in a new issue