aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/graphics/qvge/set-graphviz-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/graphics/qvge/set-graphviz-path.patch')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/applications/graphics/qvge/set-graphviz-path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/graphics/qvge/set-graphviz-path.patch b/infra/libkookie/nixpkgs/pkgs/applications/graphics/qvge/set-graphviz-path.patch
new file mode 100644
index 000000000000..d18eb81c5d04
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/applications/graphics/qvge/set-graphviz-path.patch
@@ -0,0 +1,13 @@
+diff --git i/commonui/CNodeEditorUIController.cpp w/commonui/CNodeEditorUIController.cpp
+index 7dacd48..64983e4 100644
+--- i/commonui/CNodeEditorUIController.cpp
++++ w/commonui/CNodeEditorUIController.cpp
+@@ -123,7 +123,7 @@ CNodeEditorUIController::CNodeEditorUIController(CMainWindow *parent) :
+ QString pathToGraphviz = QCoreApplication::applicationDirPath() + "/../tools/graphviz";
+ m_optionsData.graphvizPath = QFileInfo(pathToGraphviz).absoluteFilePath();
+ #else
+- m_optionsData.graphvizPath = "";
++ m_optionsData.graphvizPath = "@graphviz@/bin";
+ #endif
+ m_gvController->setPathToGraphviz(m_optionsData.graphvizPath);
+