mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
gnu: emacs-magit: Fix perl path in dedicated variable.
* gnu/packages/emacs-xyz.scm (emacs-magit)[arguments]: Do it.
This commit is contained in:
parent
842e66c573
commit
684626763f
1 changed files with 9 additions and 3 deletions
|
@ -278,7 +278,12 @@ (define-public emacs-magit
|
|||
("magit-popup" ,emacs-magit-popup)
|
||||
("with-editor" ,emacs-with-editor)))
|
||||
(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
|
||||
|
||||
#:make-flags
|
||||
|
@ -317,8 +322,9 @@ (define-public emacs-magit
|
|||
'build 'patch-exec-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((perl (assoc-ref inputs "perl")))
|
||||
(substitute* "lisp/magit-sequence.el"
|
||||
(("perl") (string-append perl "/bin/perl")))
|
||||
(make-file-writable "lisp/magit-sequence.el")
|
||||
(emacs-substitute-variables "lisp/magit-sequence.el"
|
||||
("magit-perl-executable" (string-append perl "/bin/perl")))
|
||||
#t))))))
|
||||
(home-page "https://magit.vc/")
|
||||
(synopsis "Emacs interface for the Git version control system")
|
||||
|
|
Loading…
Reference in a new issue