1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 10:30:43 +02:00

gnu: emacs-graphviz-dot-mode: Patch GraphViz dot program path.

* gnu/packages/emacs-xyz.scm (emacs-graphviz-dot-mode)[arguments]<#:phases>:
Add a phase to patch the dot program path variable.
[inputs]: Add GraphViz package.

Change-Id: I9de41919d23a3e8433975624db3070491fd7fb9c
Signed-off-by: Ian Eure <ian@retrospec.tv>
This commit is contained in:
gemmaro 2025-06-17 22:49:32 +09:00 committed by Ian Eure
parent 54e2068d9c
commit cb8a61530e
No known key found for this signature in database
GPG key ID: 8499AC88F1A71CF2

View file

@ -6587,6 +6587,11 @@ returns multiple locations, a list is displayed to choose from.")
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'configure
(lambda* (#:key inputs #:allow-other-keys)
(emacs-substitute-variables "graphviz-dot-mode.el"
("graphviz-dot-dot-program"
(search-input-file inputs "/bin/dot")))))
(add-before 'install 'make-info
(lambda* (#:key inputs #:allow-other-keys)
(with-directory-excursion "texinfo"
@ -6605,6 +6610,7 @@ returns multiple locations, a list is displayed to choose from.")
(install-file "texinfo/graphviz-dot-mode.info.gz" info)))))))
(native-inputs
(list gzip texinfo))
(inputs (list graphviz))
(propagated-inputs
(list emacs-company))
(home-page "http://ppareit.github.com/graphviz-dot-mode")