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
parent
2ec30608b2
commit
683154166d
|
@ -1103,12 +1103,14 @@ assembler, PEG) is less than 1MB.")
|
||||||
(add-before 'install 'fix-utils-path
|
(add-before 'install 'fix-utils-path
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let* ((coreutils (string-append (assoc-ref inputs "coreutils") "/bin/"))
|
(let* ((coreutils (string-append (assoc-ref inputs "coreutils") "/bin/"))
|
||||||
|
(cat (string-append coreutils "cat"))
|
||||||
(paste (string-append coreutils "paste"))
|
(paste (string-append coreutils "paste"))
|
||||||
(sort (string-append coreutils "sort"))
|
(sort (string-append coreutils "sort"))
|
||||||
(basename (string-append coreutils "basename"))
|
(basename (string-append coreutils "basename"))
|
||||||
(sed (string-append (assoc-ref inputs "sed") "/bin/sed")))
|
(sed (string-append (assoc-ref inputs "sed") "/bin/sed")))
|
||||||
(substitute* "lisp-repl-core-dumper"
|
(substitute* "lisp-repl-core-dumper"
|
||||||
(("\\$\\(basename") (string-append "$(" basename))
|
(("\\$\\(basename") (string-append "$(" basename))
|
||||||
|
(("\\<cat\\>") cat)
|
||||||
(("\\<paste\\>") paste)
|
(("\\<paste\\>") paste)
|
||||||
(("\\<sed\\>") sed)
|
(("\\<sed\\>") sed)
|
||||||
(("\\<sort\\>") sort))))))))
|
(("\\<sort\\>") sort))))))))
|
||||||
|
|
Reference in New Issue