about summary refs log tree commit diff
path: root/pkgs/development/libraries/pyotherside/qml-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/pyotherside/qml-path.patch')
-rw-r--r--pkgs/development/libraries/pyotherside/qml-path.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/libraries/pyotherside/qml-path.patch b/pkgs/development/libraries/pyotherside/qml-path.patch
new file mode 100644
index 000000000000..9f7208909970
--- /dev/null
+++ b/pkgs/development/libraries/pyotherside/qml-path.patch
@@ -0,0 +1,12 @@
+diff -Naur --strip-trailing-cr source.org/src/src.pro source/src/src.pro
+--- source.org/src/src.pro	1970-01-01 01:00:01.000000000 +0100
++++ source/src/src.pro	2019-01-17 19:14:46.256821852 +0000
+@@ -10,7 +10,7 @@
+ CONFIG += qt plugin
+ QT += qml quick svg
+ 
+-target.path = $$[QT_INSTALL_QML]/$$PLUGIN_IMPORT_PATH
++target.path = $$NIX_OUTPUT_QML/$$PLUGIN_IMPORT_PATH
+ INSTALLS += target
+ 
+ qmldir.files += $$_PRO_FILE_PWD_/qmldir $$_PRO_FILE_PWD_/pyotherside.qmltypes