mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 04:29:25 -05:00
gnu: global: Fix globash.
* gnu/packages/code.scm (global)[arguments]: Add 'fix-globash phase. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
5ea5ea6066
commit
93242b54e4
1 changed files with 7 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
|
||||
;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
|
||||
;;; Copyright © 2021 lu hui <luhuins@163.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -149,6 +150,12 @@ (define-public global ; a global variable
|
|||
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-globash
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let* ((echo (string-append
|
||||
(assoc-ref inputs "coreutils") "/bin/echo")))
|
||||
(substitute* "globash/globash.in"
|
||||
(("/bin/echo") echo)))))
|
||||
(add-after 'install 'post-install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Install the plugin files in the right place.
|
||||
|
|
Loading…
Reference in a new issue