mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-flycheck-grammalecte: Remove "/usr/bin/env" references.
* gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte)[arguments]: Fix more python3 locations.
This commit is contained in:
parent
b2d8118616
commit
28e9a1118b
1 changed files with 4 additions and 2 deletions
|
@ -3797,13 +3797,15 @@ for Flow files.")
|
||||||
#:emacs ,emacs ;need libxml support
|
#:emacs ,emacs ;need libxml support
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-python-executable
|
(add-after 'unpack 'specify-python-location
|
||||||
;; Hardcode python3 executable in the Emacs library.
|
;; Hard-code python3 executable location in the library.
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((python3 (string-append (assoc-ref inputs "python")
|
(let ((python3 (string-append (assoc-ref inputs "python")
|
||||||
"/bin/python3")))
|
"/bin/python3")))
|
||||||
(substitute* "flycheck-grammalecte.el"
|
(substitute* "flycheck-grammalecte.el"
|
||||||
(("\"python3") (string-append "\"" python3)))
|
(("\"python3") (string-append "\"" python3)))
|
||||||
|
(substitute* '("conjugueur.py" "flycheck-grammalecte.py")
|
||||||
|
(("/usr/bin/env python3?") python3))
|
||||||
#t)))
|
#t)))
|
||||||
(add-before 'build 'link-to-grammalecte
|
(add-before 'build 'link-to-grammalecte
|
||||||
;; XXX: The Python part of the package requires grammalecte, but
|
;; XXX: The Python part of the package requires grammalecte, but
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue