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