me
/
guix
Archived
1
0
Fork 0

gnu: emacs-magit: Fix perl path in dedicated variable.

* gnu/packages/emacs-xyz.scm (emacs-magit)[arguments]: Do it.
master
Pierre Neidhardt 2019-03-11 19:01:49 +01:00
parent 842e66c573
commit 684626763f
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 9 additions and 3 deletions

View File

@ -278,7 +278,12 @@ on stdout instead of using a socket as the Emacsclient does.")
("magit-popup" ,emacs-magit-popup) ("magit-popup" ,emacs-magit-popup)
("with-editor" ,emacs-with-editor))) ("with-editor" ,emacs-with-editor)))
(arguments (arguments
`(#:test-target "test" `(#:modules ((guix build gnu-build-system)
(guix build utils)
(guix build emacs-utils))
#:imported-modules (,@%gnu-build-system-modules
(guix build emacs-utils))
#:test-target "test"
#:tests? #f ; tests are not included in the release #:tests? #f ; tests are not included in the release
#:make-flags #:make-flags
@ -317,8 +322,9 @@ on stdout instead of using a socket as the Emacsclient does.")
'build 'patch-exec-paths 'build 'patch-exec-paths
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((perl (assoc-ref inputs "perl"))) (let ((perl (assoc-ref inputs "perl")))
(substitute* "lisp/magit-sequence.el" (make-file-writable "lisp/magit-sequence.el")
(("perl") (string-append perl "/bin/perl"))) (emacs-substitute-variables "lisp/magit-sequence.el"
("magit-perl-executable" (string-append perl "/bin/perl")))
#t)))))) #t))))))
(home-page "https://magit.vc/") (home-page "https://magit.vc/")
(synopsis "Emacs interface for the Git version control system") (synopsis "Emacs interface for the Git version control system")