guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: global: Fix globash.


From: guix-commits
Subject: branch master updated: gnu: global: Fix globash.
Date: Wed, 28 Apr 2021 05:26:54 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 93242b5  gnu: global: Fix globash.
93242b5 is described below

commit 93242b54e4eff90432df9de4841297f19b358e55
Author: luhui <luhuins@163.com>
AuthorDate: Sun Apr 25 16:49:05 2021 +0800

    gnu: global: Fix globash.
    
    * gnu/packages/code.scm (global)[arguments]: Add 'fix-globash phase.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/code.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index a79d8b4..5518d5f 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -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 @@ highlighting your own code that seemed comprehensible when 
you wrote it.")
 
        #: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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]