guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: emacs-flycheck-grammalecte: Remove "/usr/bin


From: guix-commits
Subject: branch master updated: gnu: emacs-flycheck-grammalecte: Remove "/usr/bin/env" references.
Date: Sat, 23 May 2020 03:45:30 -0400

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

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 28e9a11  gnu: emacs-flycheck-grammalecte: Remove "/usr/bin/env" 
references.
28e9a11 is described below

commit 28e9a1118b8dc3c14d1ffc0533ac2c6683f65ad0
Author: Nicolas Goaziou <address@hidden>
AuthorDate: Sat May 23 09:43:51 2020 +0200

    gnu: emacs-flycheck-grammalecte: Remove "/usr/bin/env" references.
    
    * gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte)[arguments]: Fix 
more
    python3 locations.
---
 gnu/packages/emacs-xyz.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8951119..fe68a56 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3797,13 +3797,15 @@ for Flow files.")
        #:emacs ,emacs                   ;need libxml support
        #:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'fix-python-executable
-           ;; Hardcode python3 executable in the Emacs library.
+         (add-after 'unpack 'specify-python-location
+           ;; Hard-code python3 executable location in the library.
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((python3 (string-append (assoc-ref inputs "python")
                                            "/bin/python3")))
                (substitute* "flycheck-grammalecte.el"
                  (("\"python3") (string-append "\"" python3)))
+               (substitute* '("conjugueur.py" "flycheck-grammalecte.py")
+                 (("/usr/bin/env python3?") python3))
                #t)))
          (add-before 'build 'link-to-grammalecte
            ;; XXX: The Python part of the package requires grammalecte, but



reply via email to

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