guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v4 1/1] gnu: Add plantuml.


From: Theodoros Foradis
Subject: Re: [PATCH v4 1/1] gnu: Add plantuml.
Date: Thu, 03 Nov 2016 16:29:26 +0200
User-agent: mu4e 0.9.17; emacs 25.1.1

Roel Janssen writes:

> I tried running plantuml with the following snippet:
> @startuml
> A <..> B
> @enduml
>
> And it crashes because it attempts to run "/usr/bin/dot".
>
> With the following snippet, we replace this "/usr/bin/dot" dependency
> with the proper one from the graphviz input:
>
> (add-before 'build 'patch-usr-bin-dot
>   (lambda* (#:key inputs #:allow-other-keys)
>     (let ((dot (string-append (assoc-ref inputs "graphviz")
>                                "/bin/dot")))
>       (substitute*
>         "src/net/sourceforge/plantuml/cucadiagram/dot/GraphvizLinux.java"
>         (("/usr/bin/dot") dot)))))
>

Nice catch! Thanks for testing that.

> Could you add this snippet?
>
> Other than this, it works fine for me.
>
> Kind regards,
> Roel Janssen

Let me know if I need to post an updated patch.

-- 
Theodoros Foradis



reply via email to

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